Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 97.48 kB / 17 MB, free: 6.418 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.001136/0.001136, allocations: 189.4 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.503/1.503, allocations: 223.2 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2745/0.2745, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.000374, allocations: 8.719 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002274/0.1512, allocations: 1.386 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1525, allocations: 0.8037 MB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.1526, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.153, allocations: 51.8 kB / 473.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1532, allocations: 51.83 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1535, allocations: 87.83 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1536, allocations: 91.61 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.1537, allocations: 8.234 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.1538, allocations: 39.8 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.1539, allocations: 35.78 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.154, allocations: 3.984 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.154, allocations: 28 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.1541, allocations: 23.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.1542, allocations: 41.64 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1543, allocations: 92.09 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1543, allocations: 0 / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1544, allocations: 0 / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1544, allocations: 0 / 474.3 MB, free: 10.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005917/0.155, allocations: 406.8 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.155, allocations: 8.031 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.1551, allocations: 7.906 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1553, allocations: 223.2 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1553, allocations: 4 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1554, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1555, allocations: 57.62 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1555, allocations: 4 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1556, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1556, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.1557, allocations: 19.92 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1561, allocations: 300.8 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1563, allocations: 58.69 kB / 475.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.1563, allocations: 20.84 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1564, allocations: 7.938 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1566, allocations: 67.39 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1566, allocations: 0 / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000566/0.1571, allocations: 173.1 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1572, allocations: 51.41 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1575, allocations: 222.7 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1575, allocations: 29.7 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.1576, allocations: 108.1 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1577, allocations: 27.64 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.1577, allocations: 4 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.1579, allocations: 326.8 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.158, allocations: 23.98 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.158, allocations: 37.64 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.1581, allocations: 20 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1581, allocations: 3.938 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.1583, allocations: 109.5 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1583, allocations: 4 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1583, allocations: 0 / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.1584, allocations: 4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.1585, allocations: 19.92 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1585, allocations: 0 / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.1585, allocations: 4 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1585, allocations: 8.375 kB / 476.7 MB, free: 8.391 MB / 350.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 ($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 (10): * Single equations (assignments): 10 * 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.0001311/0.1587, allocations: 132.9 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.1587, allocations: 11.94 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.1588, allocations: 21.34 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1588, allocations: 0 / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1588, allocations: 4 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1588, allocations: 3.984 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.1592, allocations: 411.3 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1592, allocations: 0 / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.1593, allocations: 8 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1593, allocations: 8.031 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1593, allocations: 3.984 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1593, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.1593, allocations: 4 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1596, allocations: 204.2 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.1596, allocations: 88.92 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1597, allocations: 4 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1597, allocations: 11.98 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1598, allocations: 0 / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1598, allocations: 4 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.16, allocations: 176.3 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.16, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1603, allocations: 24 kB / 477.8 MB, free: 7.191 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: 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 (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.001141/0.1614, allocations: 473.1 kB / 478.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1616, allocations: 55.97 kB / 478.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1616, allocations: 0 / 478.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.697e-05/0.1617, allocations: 27.92 kB / 478.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1621, allocations: 35.22 kB / 478.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.1626, allocations: 270.1 kB / 478.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1629, allocations: 0.7082 MB / 479.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.163, allocations: 21.17 kB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.163, allocations: 15.44 kB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.163, allocations: 0 / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of Templates: time 0.004411/0.1674, allocations: 1.603 MB / 480.9 MB, free: 4.137 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches