Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 98.52 kB / 15.98 MB, free: 6.34 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.001436/0.001436, allocations: 194.6 kB / 16.91 MB, free: 6.188 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.871/1.871, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.2512/0.2512, allocations: 43.51 MB / 313.6 MB, free: 0.7109 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.002634/0.002634, allocations: 67.67 kB / 382.2 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1524, allocations: 57.79 MB / 440 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003232/0.1557, allocations: 1.89 MB / 441.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1572, allocations: 0.8859 MB / 442.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1573, allocations: 3.938 kB / 442.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.1578, allocations: 151.6 kB / 442.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.1582, allocations: 119.6 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.1586, allocations: 135.4 kB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1588, allocations: 211.4 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.159, allocations: 29.81 kB / 443.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1591, allocations: 107.5 kB / 443.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1592, allocations: 127.5 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1593, allocations: 8 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1594, allocations: 51.97 kB / 443.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.23e-05/0.1595, allocations: 47.84 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.1596, allocations: 75.41 kB / 443.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1598, allocations: 191.3 kB / 444 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1599, allocations: 4 kB / 444 MB, free: 3.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1599, allocations: 0 / 444 MB, free: 3.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1599, allocations: 0 / 444 MB, free: 3.324 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006448/0.1605, allocations: 0.5137 MB / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1606, allocations: 11.89 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.1606, allocations: 28.66 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1609, allocations: 267.5 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.161, allocations: 384 / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.161, allocations: 8.125 kB / 444.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1613, allocations: 99.34 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1613, allocations: 0 / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.1613, allocations: 8 kB / 445 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1613, allocations: 0 / 445 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1615, allocations: 43.91 kB / 445 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.1621, allocations: 436.9 kB / 445.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1623, allocations: 117.3 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.1624, allocations: 41.7 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1625, allocations: 0 / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.1628, allocations: 120.9 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1628, allocations: 4 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008912/0.1637, allocations: 360.5 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1638, allocations: 81.05 kB / 446.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.1641, allocations: 354.9 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1641, allocations: 33.7 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.1642, allocations: 144.4 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.1643, allocations: 47.36 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.1643, allocations: 41.7 kB / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.1644, allocations: 338.8 kB / 447.1 MB, free: 20 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1646, allocations: 40.02 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1647, allocations: 72.97 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.1649, allocations: 119.4 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1649, allocations: 4 kB / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000323/0.1653, allocations: 177.2 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1653, allocations: 8 kB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1653, allocations: 0 / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1653, allocations: 0 / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1655, allocations: 31.98 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1655, allocations: 8 kB / 447.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.1656, allocations: 11.98 kB / 447.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1656, allocations: 8 kB / 447.5 MB, free: 15.52 MB / 334.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001759/0.1658, allocations: 165.6 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.1659, allocations: 27.62 kB / 447.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.325e-05/0.166, allocations: 33.73 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.166, allocations: 3.984 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.166, allocations: 3.938 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.166, allocations: 8 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.1668, allocations: 0.609 MB / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1668, allocations: 0 / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.1669, allocations: 19.98 kB / 448.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1669, allocations: 4 kB / 448.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1669, allocations: 4 kB / 448.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1669, allocations: 8.062 kB / 448.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1669, allocations: 3.938 kB / 448.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.1674, allocations: 356.2 kB / 448.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.1675, allocations: 100.8 kB / 448.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.1675, allocations: 7.984 kB / 448.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1676, allocations: 8 kB / 448.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.1677, allocations: 11.98 kB / 448.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.1677, allocations: 12 kB / 448.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.168, allocations: 261.9 kB / 449.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.168, allocations: 4 kB / 449.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1684, allocations: 43.98 kB / 449.2 MB, free: 13.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001098/0.1695, allocations: 477.7 kB / 449.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.1698, allocations: 115.8 kB / 449.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1698, allocations: 128 / 449.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1699, allocations: 63.91 kB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.1704, allocations: 62.41 kB / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.1712, allocations: 498.3 kB / 450.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.1718, allocations: 0.7553 MB / 451.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.172, allocations: 30.56 kB / 451.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.1721, allocations: 27.42 kB / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1721, allocations: 0 / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Templates: time 0.006571/0.1787, allocations: 2.646 MB / 453.9 MB, free: 9.113 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches