Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 105.9 kB / 16.4 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 193.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2334/0.2334, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.004971/0.1618, allocations: 1.962 MB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1634, allocations: 0.6705 MB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.1637, allocations: 4 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.1644, allocations: 255.2 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.1651, allocations: 195.3 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1664, allocations: 447.1 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005468/0.1669, allocations: 271.3 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.1672, allocations: 60.72 kB / 0.4912 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.1675, allocations: 135.4 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.1679, allocations: 195.3 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.1679, allocations: 16 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1681, allocations: 71.95 kB / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1683, allocations: 79.75 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1684, allocations: 123 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.169, allocations: 310.8 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.169, allocations: 0 / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.169, allocations: 0 / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.169, allocations: 3.938 kB / 0.492 GB, free: 7.527 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001202/0.1702, allocations: 0.6418 MB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1703, allocations: 11.89 kB / 0.4927 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.1704, allocations: 46.73 kB / 0.4927 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.1705, allocations: 36.47 kB / 0.4928 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.171, allocations: 322.1 kB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.171, allocations: 8.375 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.171, allocations: 8.375 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.1713, allocations: 113.5 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.1713, allocations: 4 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1714, allocations: 4 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1714, allocations: 0 / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.1716, allocations: 71.95 kB / 0.4933 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.1724, allocations: 0.4886 MB / 0.4937 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1726, allocations: 90.48 kB / 0.4938 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.1727, allocations: 37 kB / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.1728, allocations: 7.984 kB / 0.4939 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.1728, allocations: 42.5 kB / 0.4939 GB, free: 5.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1728, allocations: 0 / 0.4939 GB, free: 5.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001251/0.1741, allocations: 367.9 kB / 0.4943 GB, free: 5.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.1742, allocations: 55.41 kB / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.175, allocations: 0.5486 MB / 0.4949 GB, free: 4.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.175, allocations: 33.7 kB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1752, allocations: 196.4 kB / 0.4951 GB, free: 4.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.1753, allocations: 63.09 kB / 0.4951 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.1754, allocations: 33.7 kB / 0.4952 GB, free: 4.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.1757, allocations: 354.8 kB / 0.4955 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1758, allocations: 47.97 kB / 0.4956 GB, free: 3.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1759, allocations: 54.62 kB / 0.4956 GB, free: 3.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.1762, allocations: 128.7 kB / 0.4957 GB, free: 3.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1762, allocations: 4 kB / 0.4957 GB, free: 3.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004163/0.1766, allocations: 191.9 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1767, allocations: 8 kB / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1767, allocations: 0 / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1767, allocations: 3.938 kB / 0.4959 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.1769, allocations: 35.92 kB / 0.496 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1769, allocations: 0 / 0.496 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/0.177, allocations: 19.92 kB / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.177, allocations: 4 kB / 0.496 GB, free: 3.258 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.1772, allocations: 177.7 kB / 0.4962 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.1773, allocations: 43.44 kB / 0.4962 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.1778, allocations: 233.4 kB / 0.4964 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1779, allocations: 0 / 0.4964 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1779, allocations: 0 / 0.4964 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.1779, allocations: 7.984 kB / 0.4964 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000928/0.1788, allocations: 0.6192 MB / 0.497 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1788, allocations: 0 / 0.497 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.179, allocations: 31.97 kB / 0.4971 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.179, allocations: 0 / 0.4971 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.179, allocations: 8 kB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.179, allocations: 3.938 kB / 0.4971 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.179, allocations: 8 kB / 0.4971 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.1795, allocations: 298.9 kB / 0.4974 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.1796, allocations: 120.6 kB / 0.4975 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1797, allocations: 0 / 0.4975 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1798, allocations: 15.88 kB / 0.4975 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.1798, allocations: 11.98 kB / 0.4975 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1799, allocations: 8 kB / 0.4975 GB, free: 1.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004589/0.1803, allocations: 415.1 kB / 0.4979 GB, free: 1.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1803, allocations: 0 / 0.4979 GB, free: 1.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.1807, allocations: 40 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00244/0.1831, allocations: 1.42 MB / 0.4993 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.1835, allocations: 131.8 kB / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1835, allocations: 0 / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1837, allocations: 75.91 kB / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.1843, allocations: 85.3 kB / 0.4996 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.1884, allocations: 3.008 MB / 0.5026 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.1888, allocations: 0.8064 MB / 0.5033 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.189, allocations: 49.91 kB / 0.5034 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.1892, allocations: 123.4 kB / 0.5035 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1892, allocations: 0 / 0.5035 GB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.2208, allocations: 7.317 MB / 0.5106 GB, free: 3.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.416, allocations: 15.98 kB / 0.5107 GB, free: 3.98 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches