Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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: translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.002288/0.002288, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.518/1.518, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2054/0.2054, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.001576/0.001576, allocations: 75.2 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1612, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.004459/0.1658, allocations: 1.593 MB / 442.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.1666, allocations: 327.5 kB / 442.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.1667, allocations: 4 kB / 442.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.1674, allocations: 455.1 kB / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.1678, allocations: 247.4 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1681, allocations: 107.4 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1683, allocations: 163.6 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1684, allocations: 16.41 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1686, allocations: 107.8 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1688, allocations: 207.6 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1688, allocations: 4 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.1689, allocations: 39.92 kB / 443.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.169, allocations: 83.69 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.259e-05/0.1691, allocations: 95.06 kB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1694, allocations: 247 kB / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1695, allocations: 0 / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1695, allocations: 0 / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.1695, allocations: 4 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008028/0.1703, allocations: 0.6297 MB / 444.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1704, allocations: 11.89 kB / 444.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.1704, allocations: 44.41 kB / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1707, allocations: 292.1 kB / 445.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1707, allocations: 4.375 kB / 445.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1707, allocations: 4.375 kB / 445.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1709, allocations: 61.59 kB / 445.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1709, allocations: 0 / 445.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1709, allocations: 0 / 445.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1709, allocations: 8 kB / 445.2 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.171, allocations: 19.98 kB / 445.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1715, allocations: 384.6 kB / 445.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.1717, allocations: 42.56 kB / 445.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.1718, allocations: 20.94 kB / 445.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1718, allocations: 3.938 kB / 445.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.1718, allocations: 34.56 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.1718, allocations: 0 / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005943/0.1724, allocations: 223.9 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1725, allocations: 51.41 kB / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.1731, allocations: 0.8652 MB / 446.9 MB, free: 380 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1731, allocations: 25.7 kB / 446.9 MB, free: 348 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1733, allocations: 220.1 kB / 447.1 MB, free: 124 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.1733, allocations: 19.69 kB / 447.1 MB, free: 104 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.1734, allocations: 17.72 kB / 447.1 MB, free: 80 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.1736, allocations: 362.8 kB / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.1737, allocations: 15.98 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.1738, allocations: 23.98 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1739, allocations: 44.83 kB / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1739, allocations: 0 / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.1741, allocations: 113.1 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1742, allocations: 4 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1742, allocations: 0 / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.1742, allocations: 288 / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.1743, allocations: 23.92 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1743, allocations: 0 / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.1744, allocations: 11.94 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1744, allocations: 0 / 447.7 MB, free: 15.47 MB / 334.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 (5): * Single equations (assignments): 5 * 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.0002467/0.1746, allocations: 217.6 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.1747, allocations: 47.42 kB / 448 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.175, allocations: 133.1 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.175, allocations: 0 / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.175, allocations: 0 / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.1751, allocations: 8.25 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.1757, allocations: 458.5 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1757, allocations: 0 / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.1758, allocations: 15.98 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1758, allocations: 0 / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1758, allocations: 7.938 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1758, allocations: 0 / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1758, allocations: 0 / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1762, allocations: 211 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.1763, allocations: 108.5 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1763, allocations: 7.938 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.1764, allocations: 4 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1765, allocations: 11.98 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1765, allocations: 0 / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006217/0.1771, allocations: 0.6511 MB / 449.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1771, allocations: 0 / 449.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1774, allocations: 20 kB / 449.6 MB, free: 13.49 MB / 334.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 (5): * Single equations (assignments): 5 * 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.001113/0.1785, allocations: 396.1 kB / 450 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1788, allocations: 55.91 kB / 450 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1788, allocations: 0 / 450 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.1789, allocations: 23.98 kB / 450.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1793, allocations: 29.55 kB / 450.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1806, allocations: 0.7796 MB / 450.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.1812, allocations: 0.826 MB / 451.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.961e-05/0.1813, allocations: 15.91 kB / 451.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.1813, allocations: 11.44 kB / 451.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1813, allocations: 0 / 451.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Templates: time 0.00574/0.1871, allocations: 1.445 MB / 453.2 MB, free: 9.949 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches