Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001012/0.001012, allocations: 113.1 kB / 17.33 MB, free: 6.02 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.001348/0.001348, allocations: 197.3 kB / 18.25 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 68.86 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1567, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003932/0.1607, allocations: 2.029 MB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1624, allocations: 0.9473 MB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1625, allocations: 0 / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.163, allocations: 255.4 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.1635, allocations: 179.5 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1649, allocations: 0.6089 MB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.1654, allocations: 299.2 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.1656, allocations: 80.55 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.1658, allocations: 139.5 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.166, allocations: 211.2 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.1661, allocations: 8 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.1663, allocations: 99.95 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.1664, allocations: 95.69 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.1666, allocations: 127 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.167, allocations: 322.9 kB / 474.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1671, allocations: 4 kB / 474.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1671, allocations: 0 / 474.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1671, allocations: 0 / 474.2 MB, free: 9.266 MB / 350.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.0009796/0.1681, allocations: 0.669 MB / 474.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1681, allocations: 8.031 kB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.1682, allocations: 46.73 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.1683, allocations: 44.38 kB / 475 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1687, allocations: 322.2 kB / 475.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1687, allocations: 8.375 kB / 475.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.1687, allocations: 20.28 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.169, allocations: 121.6 kB / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.169, allocations: 4 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1691, allocations: 4 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.1691, allocations: 4 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.1693, allocations: 95.8 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.17, allocations: 0.5159 MB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1702, allocations: 106.5 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.1703, allocations: 40.83 kB / 476.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.1704, allocations: 7.938 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1704, allocations: 42.5 kB / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1704, allocations: 0 / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001073/0.1715, allocations: 432.6 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1715, allocations: 55.41 kB / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.1722, allocations: 0.5526 MB / 477.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1722, allocations: 25.7 kB / 477.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1724, allocations: 208.4 kB / 477.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.1724, allocations: 59.11 kB / 477.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.1725, allocations: 33.7 kB / 477.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1726, allocations: 350.8 kB / 477.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1728, allocations: 67.95 kB / 478 MB, free: 5.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1729, allocations: 67.95 kB / 478 MB, free: 5.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.1732, allocations: 162.7 kB / 478.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-06/0.1732, allocations: 0 / 478.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003779/0.1736, allocations: 229 kB / 478.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1736, allocations: 4 kB / 478.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1736, allocations: 4 kB / 478.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1736, allocations: 0 / 478.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1738, allocations: 35.92 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1738, allocations: 0 / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.1739, allocations: 19.89 kB / 478.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1739, allocations: 7.938 kB / 478.5 MB, free: 4.711 MB / 350.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.0001781/0.1741, allocations: 181.7 kB / 478.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.1742, allocations: 39.53 kB / 478.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.1747, allocations: 271.3 kB / 479 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1748, allocations: 0 / 479 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1748, allocations: 11.92 kB / 479 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1748, allocations: 4 kB / 479 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008587/0.1756, allocations: 0.6738 MB / 479.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1757, allocations: 0 / 479.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1758, allocations: 31.97 kB / 479.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1758, allocations: 8 kB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1758, allocations: 4 kB / 479.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1758, allocations: 7.938 kB / 479.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1758, allocations: 4 kB / 479.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.1763, allocations: 325 kB / 480 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.1764, allocations: 124.6 kB / 480.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.1765, allocations: 3.938 kB / 480.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1766, allocations: 15.94 kB / 480.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.1767, allocations: 11.98 kB / 480.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1767, allocations: 4 kB / 480.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004739/0.1771, allocations: 415.1 kB / 480.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1772, allocations: 0 / 480.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1775, allocations: 51.98 kB / 480.7 MB, free: 2.449 MB / 350.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.002572/0.18, allocations: 1.45 MB / 482.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004371/0.1805, allocations: 182.2 kB / 482.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1805, allocations: 0 / 482.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1807, allocations: 95.89 kB / 482.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.1814, allocations: 82.41 kB / 482.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.186, allocations: 3.32 MB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.1866, allocations: 0.8182 MB / 486.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.1868, allocations: 54.25 kB / 486.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.1871, allocations: 127.4 kB / 486.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1871, allocations: 0 / 486.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.207, allocations: 7.241 MB / 494 MB, free: 5.383 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2072, allocations: 233.9 kB / 494.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.119, allocations: 0 / 494.2 MB, free: 5.129 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches