Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.618/1.618, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3213/0.3213, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 75.89 kB / 0.4915 GB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1491, allocations: 65.99 MB / 0.5559 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00349/0.1525, allocations: 1.735 MB / 0.5576 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1544, allocations: 1.062 MB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.1544, allocations: 0 / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1547, allocations: 39.77 kB / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.155, allocations: 91.55 kB / 0.5588 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1552, allocations: 75.72 kB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1554, allocations: 115.6 kB / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.1555, allocations: 11.98 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1556, allocations: 47.78 kB / 0.559 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.1557, allocations: 51.77 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1557, allocations: 7.938 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.1559, allocations: 111.9 kB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.156, allocations: 19.92 kB / 0.5592 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.156, allocations: 39.73 kB / 0.5593 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.1563, allocations: 175.4 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1563, allocations: 0 / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1563, allocations: 0 / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1564, allocations: 0 / 0.5594 GB, free: 1.676 MB / 414.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.0006912/0.157, allocations: 438.5 kB / 0.5598 GB, free: 1.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1571, allocations: 12.03 kB / 0.5599 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1571, allocations: 8.891 kB / 0.5599 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.1574, allocations: 216.1 kB / 0.5601 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1574, allocations: 384 / 0.5601 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.1575, allocations: 8.125 kB / 0.5601 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1577, allocations: 67.39 kB / 0.5601 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1577, allocations: 4 kB / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1577, allocations: 4 kB / 0.5601 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1577, allocations: 0 / 0.5601 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.1578, allocations: 23.92 kB / 0.5602 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.1582, allocations: 280.8 kB / 0.5604 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.1584, allocations: 62.61 kB / 0.5605 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.1584, allocations: 32.97 kB / 0.5605 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1585, allocations: 0 / 0.5605 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.1586, allocations: 71.33 kB / 0.5606 GB, free: 308 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.1586, allocations: 0 / 0.5606 GB, free: 308 kB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006706/0.1593, allocations: 209.2 kB / 0.5608 GB, free: 92 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.1594, allocations: 81.05 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1596, allocations: 177.3 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1596, allocations: 25.7 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.1597, allocations: 104.1 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.1597, allocations: 35.73 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.1598, allocations: 33.7 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.16, allocations: 322.8 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.1601, allocations: 23.98 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.1602, allocations: 54.56 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1603, allocations: 85.56 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1603, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00026/0.1606, allocations: 125.5 kB / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1606, allocations: 5.875 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1606, allocations: 0 / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1606, allocations: 4 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1607, allocations: 28.05 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1607, allocations: 0 / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.1608, allocations: 7.938 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1608, allocations: 8 kB / 0.5619 GB, free: 14.92 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001194/0.1609, allocations: 125.8 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.1609, allocations: 19.89 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.161, allocations: 12.72 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.161, allocations: 0 / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.161, allocations: 0 / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.161, allocations: 7.938 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.1616, allocations: 427.3 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1616, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.1616, allocations: 19.88 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1616, allocations: 0 / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1616, allocations: 4 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1616, allocations: 4 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1617, allocations: 0 / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1619, allocations: 216.3 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.162, allocations: 92.95 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.162, allocations: 4 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.1621, allocations: 7.984 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.1622, allocations: 8 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1622, allocations: 0 / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1623, allocations: 138.5 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1623, allocations: 0 / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.1626, allocations: 51.86 kB / 0.563 GB, free: 13.7 MB / 430.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 (10): * Single equations (assignments): 8 * 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.002038/0.1647, allocations: 0.5634 MB / 0.5635 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1649, allocations: 79.78 kB / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1649, allocations: 0 / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.165, allocations: 27.98 kB / 0.5636 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1654, allocations: 33.23 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.1658, allocations: 211.1 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1662, allocations: 0.7007 MB / 0.5645 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.905e-05/0.1662, allocations: 32.39 kB / 0.5646 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.1663, allocations: 19.42 kB / 0.5646 GB, free: 12.2 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1663, allocations: 4 kB / 0.5646 GB, free: 12.2 MB / 430.1 MB Notification: Performance of Templates: time 0.006145/0.1724, allocations: 2.523 MB / 0.567 GB, free: 9.688 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.554551865905523]