Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.0013/0.0013, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001424/0.001424, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.243/0.243, allocations: 46.92 MB / 357.8 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.91 kB / 0.4922 GB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1601, allocations: 66 MB / 0.5566 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003619/0.1637, allocations: 1.745 MB / 0.5583 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1655, allocations: 1.042 MB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.1656, allocations: 3.938 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.166, allocations: 51.75 kB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.1663, allocations: 99.52 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1666, allocations: 75.73 kB / 0.5596 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1668, allocations: 135.6 kB / 0.5597 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1669, allocations: 11.98 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1671, allocations: 59.77 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1672, allocations: 55.75 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1672, allocations: 8 kB / 0.5598 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1674, allocations: 59.98 kB / 0.5599 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.1675, allocations: 27.84 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.1675, allocations: 47.67 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.1679, allocations: 143.4 kB / 0.5601 GB, free: 1.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1679, allocations: 0 / 0.5601 GB, free: 1.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1679, allocations: 0 / 0.5601 GB, free: 1.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1679, allocations: 0 / 0.5601 GB, free: 1.68 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008023/0.1687, allocations: 450.5 kB / 0.5605 GB, free: 1.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1687, allocations: 8.031 kB / 0.5605 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.1688, allocations: 16.84 kB / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.1692, allocations: 240 kB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1692, allocations: 4.375 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.1692, allocations: 8.125 kB / 0.5608 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.1694, allocations: 73.59 kB / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1695, allocations: 4 kB / 0.5609 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1695, allocations: 0 / 0.5609 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1695, allocations: 7.938 kB / 0.5609 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1696, allocations: 43.95 kB / 0.5609 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.1702, allocations: 316.8 kB / 0.5612 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.1705, allocations: 82.55 kB / 0.5613 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.1706, allocations: 32.84 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1706, allocations: 4 kB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.1708, allocations: 79.38 kB / 0.5614 GB, free: 176 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1708, allocations: 0 / 0.5614 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009414/0.1717, allocations: 297.1 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.1718, allocations: 60.19 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.172, allocations: 190.1 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.172, allocations: 33.7 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1721, allocations: 108.4 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.1722, allocations: 39.64 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.1722, allocations: 33.7 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1724, allocations: 326.8 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.1725, allocations: 35.98 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1726, allocations: 61.62 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.1728, allocations: 105.6 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1728, allocations: 0 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002737/0.1731, allocations: 160.8 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1731, allocations: 4 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1731, allocations: 0 / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1731, allocations: 4 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.1732, allocations: 27.92 kB / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1732, allocations: 3.938 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1733, allocations: 8.031 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1733, allocations: 8 kB / 0.5628 GB, free: 14.63 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 (15): * Single equations (assignments): 15 * 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.0001295/0.1734, allocations: 132 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1734, allocations: 15.91 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.1735, allocations: 25.5 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1735, allocations: 0 / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.1735, allocations: 3.938 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1735, allocations: 4 kB / 0.563 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.1742, allocations: 492.2 kB / 0.5635 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.1742, allocations: 7.984 kB / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.1743, allocations: 15.94 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1743, allocations: 4 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1743, allocations: 0 / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.1743, allocations: 4 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1743, allocations: 3.984 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1746, allocations: 257.1 kB / 0.5638 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.1747, allocations: 89.02 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.1747, allocations: 8 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.1748, allocations: 0 / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.1749, allocations: 19.92 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1749, allocations: 4 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.175, allocations: 152.3 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.175, allocations: 0 / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.1753, allocations: 35.92 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001998/0.1773, allocations: 0.4972 MB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1776, allocations: 99.83 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1776, allocations: 0 / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1777, allocations: 47.98 kB / 0.5647 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1781, allocations: 39.03 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.1787, allocations: 318 kB / 0.565 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.1791, allocations: 0.7163 MB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.1792, allocations: 23.42 kB / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1792, allocations: 0 / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Templates: time 0.004955/0.1841, allocations: 2.404 MB / 0.5681 GB, free: 9.289 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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: 8.25421385501977]