Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008531/0.0008532, allocations: 96.2 kB / 17 MB, free: 6.398 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.0007717/0.0007717, allocations: 178 kB / 17.89 MB, free: 5.945 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.467/1.467, allocations: 223.3 MB / 241.9 MB, free: 14.47 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.2195/0.2195, allocations: 44.25 MB / 337.3 MB, free: 2.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003068/0.1646, allocations: 1.562 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1669, allocations: 0.9089 MB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.167, allocations: 4 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.1677, allocations: 243.4 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.1681, allocations: 163.5 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.1688, allocations: 154.9 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.1693, allocations: 211.3 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.1694, allocations: 29.67 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.1697, allocations: 107.6 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.17, allocations: 155.5 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.1701, allocations: 8 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.1703, allocations: 51.98 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.1704, allocations: 63.75 kB / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.1705, allocations: 61.5 kB / 475.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.1709, allocations: 176 kB / 475.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1709, allocations: 0 / 475.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1709, allocations: 0 / 475.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.171, allocations: 0 / 475.5 MB, free: 9.754 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001129/0.1721, allocations: 0.539 MB / 476 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.1722, allocations: 12.03 kB / 476 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.1723, allocations: 27.62 kB / 476.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.1728, allocations: 271.1 kB / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.1729, allocations: 0 / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.1729, allocations: 12 kB / 476.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.1733, allocations: 118 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1733, allocations: 0 / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1733, allocations: 7.984 kB / 476.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1734, allocations: 0 / 476.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1736, allocations: 51.95 kB / 476.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009373/0.1745, allocations: 480.7 kB / 477 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.1751, allocations: 125.2 kB / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1753, allocations: 45.77 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.1753, allocations: 4 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/0.1757, allocations: 121 kB / 477.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.1757, allocations: 3.938 kB / 477.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001851/0.1776, allocations: 496.9 kB / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.1777, allocations: 85.06 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.1782, allocations: 485.6 kB / 478.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1782, allocations: 29.7 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1784, allocations: 164.5 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1785, allocations: 71.08 kB / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.1785, allocations: 7.938 kB / 478.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.1788, allocations: 350.8 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.179, allocations: 55.97 kB / 479 MB, free: 6.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.1792, allocations: 95.34 kB / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.1794, allocations: 67.98 kB / 479.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1794, allocations: 0 / 479.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006238/0.1801, allocations: 233 kB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.1801, allocations: 8 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1802, allocations: 0 / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1802, allocations: 0 / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.1804, allocations: 47.98 kB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.1805, allocations: 11.94 kB / 479.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.1806, allocations: 8 kB / 479.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1806, allocations: 8 kB / 479.4 MB, free: 5.52 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002648/0.1809, allocations: 182.1 kB / 479.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.181, allocations: 31.62 kB / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.1811, allocations: 51.02 kB / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1811, allocations: 0 / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.1811, allocations: 8 kB / 479.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1811, allocations: 3.953 kB / 479.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.1825, allocations: 0.7273 MB / 480.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.1825, allocations: 3.953 kB / 480.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1826, allocations: 31.92 kB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1826, allocations: 4 kB / 480.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.1827, allocations: 8 kB / 480.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.1827, allocations: 4 kB / 480.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1827, allocations: 3.938 kB / 480.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.1833, allocations: 424.7 kB / 480.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1834, allocations: 116.7 kB / 481 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.1835, allocations: 8 kB / 481 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1837, allocations: 8 kB / 481 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.1838, allocations: 27.91 kB / 481.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.1838, allocations: 12 kB / 481.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005337/0.1844, allocations: 355.1 kB / 481.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.1844, allocations: 0 / 481.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005745/0.185, allocations: 51.98 kB / 481.5 MB, free: 3.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001341/0.1863, allocations: 0.5177 MB / 482 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.1867, allocations: 151.9 kB / 482.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1867, allocations: 3.938 kB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1869, allocations: 79.84 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.1874, allocations: 65.33 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1885, allocations: 0.6212 MB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1889, allocations: 0.7811 MB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1891, allocations: 41.92 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.1891, allocations: 31.42 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1891, allocations: 0 / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Templates: time 0.007198/0.1964, allocations: 2.87 MB / 486.6 MB, free: 14.37 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches