Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2356/0.2356, allocations: 46.89 MB / 358.1 MB, free: 10.5 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 87.86 kB / 0.4925 GB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.156, allocations: 65.98 MB / 0.5569 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003867/0.1599, allocations: 1.735 MB / 0.5586 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1626, allocations: 1.645 MB / 0.5602 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.1627, allocations: 0 / 0.5602 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.163, allocations: 35.77 kB / 0.5602 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.1633, allocations: 103.5 kB / 0.5603 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1635, allocations: 79.66 kB / 0.5604 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1637, allocations: 107.7 kB / 0.5605 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1638, allocations: 8 kB / 0.5605 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1639, allocations: 55.77 kB / 0.5606 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.1641, allocations: 43.83 kB / 0.5606 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.1642, allocations: 8 kB / 0.5606 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.1644, allocations: 107.8 kB / 0.5607 GB, free: 2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.1644, allocations: 19.91 kB / 0.5607 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.1645, allocations: 35.75 kB / 0.5608 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.1649, allocations: 171.4 kB / 0.5609 GB, free: 1.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1649, allocations: 0 / 0.5609 GB, free: 1.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1649, allocations: 0 / 0.5609 GB, free: 1.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1649, allocations: 0 / 0.5609 GB, free: 1.777 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.0007199/0.1656, allocations: 436.8 kB / 0.5613 GB, free: 1.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1656, allocations: 12.03 kB / 0.5614 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.1657, allocations: 16.84 kB / 0.5614 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.1661, allocations: 215.2 kB / 0.5616 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1661, allocations: 384 / 0.5616 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1662, allocations: 12.06 kB / 0.5616 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1664, allocations: 71.33 kB / 0.5617 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1664, allocations: 4 kB / 0.5617 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1664, allocations: 4 kB / 0.5617 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1664, allocations: 0 / 0.5617 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.1665, allocations: 15.98 kB / 0.5617 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.167, allocations: 288.9 kB / 0.562 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1671, allocations: 58.61 kB / 0.562 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1672, allocations: 20.86 kB / 0.562 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1672, allocations: 0 / 0.562 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1674, allocations: 67.39 kB / 0.5621 GB, free: 424 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1674, allocations: 0 / 0.5621 GB, free: 424 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005691/0.1679, allocations: 173.3 kB / 0.5623 GB, free: 244 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.168, allocations: 77.11 kB / 0.5623 GB, free: 148 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1682, allocations: 166.6 kB / 0.5625 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1682, allocations: 29.7 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.1683, allocations: 96.12 kB / 0.5626 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1683, allocations: 27.72 kB / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.1684, allocations: 25.7 kB / 0.5627 GB, free: 15.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1686, allocations: 330.8 kB / 0.563 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.1686, allocations: 23.94 kB / 0.563 GB, free: 15.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.1687, allocations: 46.55 kB / 0.563 GB, free: 15.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1689, allocations: 53.72 kB / 0.5631 GB, free: 15.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1689, allocations: 0 / 0.5631 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001993/0.1691, allocations: 101.8 kB / 0.5632 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1691, allocations: 8 kB / 0.5632 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1691, allocations: 3.938 kB / 0.5632 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1691, allocations: 0 / 0.5632 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.1692, allocations: 16.06 kB / 0.5632 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.1692, allocations: 4 kB / 0.5632 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.1693, allocations: 8.297 kB / 0.5632 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1693, allocations: 4 kB / 0.5632 GB, free: 15.16 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 (10): * Single equations (assignments): 10 * 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.0001202/0.1694, allocations: 129.7 kB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.1694, allocations: 7.953 kB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.1695, allocations: 20.7 kB / 0.5634 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1695, allocations: 0 / 0.5634 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1695, allocations: 3.938 kB / 0.5634 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.1695, allocations: 7.938 kB / 0.5634 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.17, allocations: 399.3 kB / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.17, allocations: 0 / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.17, allocations: 8 kB / 0.5638 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.17, allocations: 0 / 0.5638 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.17, allocations: 11.92 kB / 0.5638 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.17, allocations: 4 kB / 0.5638 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.17, allocations: 3.984 kB / 0.5638 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1703, allocations: 204.3 kB / 0.564 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.1703, allocations: 81.06 kB / 0.5641 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1704, allocations: 11.94 kB / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.1704, allocations: 3.984 kB / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1705, allocations: 4 kB / 0.5641 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1705, allocations: 4 kB / 0.5641 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1706, allocations: 131.9 kB / 0.5642 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1706, allocations: 0 / 0.5642 GB, free: 14.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.1709, allocations: 51.86 kB / 0.5643 GB, free: 13.99 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 (8): * Single equations (assignments): 6 * 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.001949/0.1729, allocations: 0.5333 MB / 0.5648 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1731, allocations: 67.84 kB / 0.5649 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1731, allocations: 0 / 0.5649 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.1732, allocations: 27.92 kB / 0.5649 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1735, allocations: 34.33 kB / 0.5649 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.1741, allocations: 228.5 kB / 0.5651 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.1745, allocations: 0.7003 MB / 0.5658 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.1745, allocations: 19.44 kB / 0.5658 GB, free: 12.52 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1745, allocations: 0 / 0.5658 GB, free: 12.52 MB / 430.1 MB Notification: Performance of Templates: time 0.005123/0.1797, allocations: 2.412 MB / 0.5682 GB, free: 10.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.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: 7.998985818121582]