Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001714, allocations: 104.3 kB / 15.98 MB, free: 6.352 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.002229/0.00223, allocations: 190.1 kB / 16.91 MB, free: 6.191 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.933/1.933, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4193/0.4193, allocations: 43.49 MB / 313.6 MB, free: 8.492 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.001426/0.001426, allocations: 67.91 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1692, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003906/0.1732, allocations: 1.753 MB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.1754, allocations: 1.383 MB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.1755, allocations: 4 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.1759, allocations: 43.77 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.1762, allocations: 39.84 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1765, allocations: 79.83 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1767, allocations: 91.77 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1768, allocations: 12.2 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1769, allocations: 43.8 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1771, allocations: 43.83 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1772, allocations: 7.938 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.1773, allocations: 63.91 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.1774, allocations: 8 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.149e-05/0.1775, allocations: 35.78 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1777, allocations: 123.9 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1777, allocations: 3.984 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1777, allocations: 0 / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1778, allocations: 0 / 443.7 MB, free: 10.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007136/0.1785, allocations: 399.1 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1785, allocations: 19.89 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.1786, allocations: 8.844 kB / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1789, allocations: 207.5 kB / 444.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1789, allocations: 8.312 kB / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1789, allocations: 8.125 kB / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1791, allocations: 67.39 kB / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1792, allocations: 0 / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1792, allocations: 3.984 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1792, allocations: 4 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.1793, allocations: 23.92 kB / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.1797, allocations: 280.8 kB / 444.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1799, allocations: 58.67 kB / 444.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.1799, allocations: 24.84 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.18, allocations: 4 kB / 444.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1802, allocations: 71.31 kB / 444.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1802, allocations: 0 / 444.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000561/0.1808, allocations: 169.2 kB / 445.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.1808, allocations: 81.05 kB / 445.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.181, allocations: 149.8 kB / 445.3 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1811, allocations: 29.7 kB / 445.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1812, allocations: 96.12 kB / 445.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.1812, allocations: 31.64 kB / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.1813, allocations: 25.72 kB / 445.5 MB, free: 9.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1814, allocations: 326.8 kB / 445.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.1815, allocations: 16 kB / 445.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.1816, allocations: 46.55 kB / 445.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1817, allocations: 65.64 kB / 445.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1817, allocations: 0 / 445.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.1819, allocations: 93.58 kB / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1819, allocations: 4 kB / 446 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1819, allocations: 0 / 446 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1819, allocations: 4 kB / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.182, allocations: 20.31 kB / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.182, allocations: 8.047 kB / 446 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.1821, allocations: 7.938 kB / 446 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1821, allocations: 4 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.897e-05/0.1822, allocations: 117.8 kB / 446.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1823, allocations: 11.81 kB / 446.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.1823, allocations: 16.7 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1823, allocations: 3.938 kB / 446.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1823, allocations: 4 kB / 446.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1824, allocations: 3.938 kB / 446.2 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.1828, allocations: 391.3 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1828, allocations: 0 / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.1828, allocations: 11.98 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1828, allocations: 3.938 kB / 446.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1829, allocations: 7.938 kB / 446.6 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1829, allocations: 4 kB / 446.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1829, allocations: 0 / 446.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1831, allocations: 200.3 kB / 446.8 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1832, allocations: 81.02 kB / 446.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1832, allocations: 15.92 kB / 446.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.1833, allocations: 0 / 446.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.1833, allocations: 4.188 kB / 446.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1833, allocations: 7.984 kB / 446.9 MB, free: 7.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.1834, allocations: 122.5 kB / 447 MB, free: 7.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1834, allocations: 0 / 447 MB, free: 7.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1837, allocations: 39.98 kB / 447.1 MB, free: 7.27 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001264/0.185, allocations: 0.5062 MB / 447.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1852, allocations: 63.89 kB / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1852, allocations: 4 kB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.1853, allocations: 27.92 kB / 447.7 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1856, allocations: 27.84 kB / 447.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.1861, allocations: 218.9 kB / 447.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1864, allocations: 0.7001 MB / 448.6 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.336e-05/0.1865, allocations: 17.17 kB / 448.6 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.1865, allocations: 23.42 kB / 448.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1865, allocations: 0 / 448.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of Templates: time 0.004735/0.1913, allocations: 1.928 MB / 450.6 MB, free: 3.738 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches