Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 98.44 kB / 16.99 MB, free: 6.402 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.001008/0.001008, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.538/1.538, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2413/0.2413, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003614, allocations: 16 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 61.91 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003113/0.1692, allocations: 1.465 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.172, allocations: 1.429 MB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1721, allocations: 3.938 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.1725, allocations: 47.77 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1728, allocations: 71.78 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1733, allocations: 150.3 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.1735, allocations: 119.7 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.857e-05/0.1736, allocations: 9.562 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1737, allocations: 71.62 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1739, allocations: 51.77 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1739, allocations: 4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1741, allocations: 43.91 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.1741, allocations: 27.91 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.1742, allocations: 45.64 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1744, allocations: 132 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1744, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1745, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1745, allocations: 0 / 475.1 MB, free: 10.06 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007167/0.1752, allocations: 442.6 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1752, allocations: 11.97 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.1753, allocations: 19.81 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1756, allocations: 230.7 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1756, allocations: 7.984 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.1757, allocations: 7.984 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1759, allocations: 96.98 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1759, allocations: 0 / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1759, allocations: 3.984 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.176, allocations: 8 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1761, allocations: 27.98 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.1763, allocations: 210.5 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1766, allocations: 113.3 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.1766, allocations: 4.078 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.1769, allocations: 109 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1769, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004339/0.1773, allocations: 161.4 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.1775, allocations: 140.5 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.1778, allocations: 207.8 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1778, allocations: 29.7 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1779, allocations: 112.1 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.178, allocations: 27.69 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.178, allocations: 0 / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1782, allocations: 326.8 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.1783, allocations: 31.97 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1784, allocations: 72.27 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.622e-05/0.1785, allocations: 43.86 kB / 477.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1786, allocations: 0 / 477.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002592/0.1788, allocations: 141.4 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1789, allocations: 7.953 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.1789, allocations: 4 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1789, allocations: 3.938 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.179, allocations: 27.92 kB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1791, allocations: 0 / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.1791, allocations: 11.92 kB / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1792, allocations: 4 kB / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.1793, allocations: 134.4 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1793, allocations: 19.81 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.1794, allocations: 24.94 kB / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1794, allocations: 0 / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1794, allocations: 0 / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1794, allocations: 0 / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1797, allocations: 217.5 kB / 478.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1797, allocations: 4 kB / 478.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.1797, allocations: 7.938 kB / 478.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1797, allocations: 0 / 478.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1798, allocations: 8 kB / 478.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1798, allocations: 3.953 kB / 478.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1798, allocations: 0 / 478.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.1801, allocations: 183.4 kB / 478.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.1803, allocations: 100.8 kB / 478.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.1803, allocations: 4.078 kB / 478.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.1804, allocations: 20 kB / 478.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.1804, allocations: 11.97 kB / 478.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.1805, allocations: 4 kB / 478.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1806, allocations: 156.2 kB / 478.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1806, allocations: 0 / 478.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1809, allocations: 39.98 kB / 478.6 MB, free: 6.156 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.1821, allocations: 456.8 kB / 479.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.1824, allocations: 75.91 kB / 479.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.1824, allocations: 4 kB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1825, allocations: 35.92 kB / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1829, allocations: 48.08 kB / 479.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.1835, allocations: 275.1 kB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.1839, allocations: 0.7243 MB / 480.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.184, allocations: 41.5 kB / 480.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.1841, allocations: 23.42 kB / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1841, allocations: 0 / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of Templates: time 0.006556/0.1907, allocations: 2.447 MB / 482.7 MB, free: 2.184 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches