Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001283/0.001283, allocations: 115 kB / 18.46 MB, free: 4.621 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.001398/0.001398, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.443/1.443, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2316/0.2316, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003288/0.003288, allocations: 76.09 kB / 0.4922 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.156, allocations: 66 MB / 0.5566 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003655/0.1597, allocations: 1.731 MB / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1615, allocations: 1.038 MB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1616, allocations: 0 / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.1619, allocations: 47.75 kB / 0.5594 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.1623, allocations: 95.55 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1625, allocations: 75.73 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1627, allocations: 103.6 kB / 0.5596 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1628, allocations: 15.98 kB / 0.5596 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1629, allocations: 47.78 kB / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.72e-05/0.163, allocations: 27.84 kB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1631, allocations: 4 kB / 0.5597 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1632, allocations: 47.92 kB / 0.5598 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1632, allocations: 19.92 kB / 0.5598 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.1633, allocations: 39.73 kB / 0.5598 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.1635, allocations: 119.4 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1635, allocations: 4 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1635, allocations: 0 / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1635, allocations: 0 / 0.5599 GB, free: 1.863 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.000606/0.1641, allocations: 426.7 kB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1642, allocations: 11.97 kB / 0.5604 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.1642, allocations: 8.891 kB / 0.5604 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.1645, allocations: 215.2 kB / 0.5606 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1645, allocations: 4.375 kB / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1646, allocations: 8.125 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1647, allocations: 53.67 kB / 0.5606 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1647, allocations: 0 / 0.5606 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1647, allocations: 0 / 0.5606 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1647, allocations: 4 kB / 0.5606 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.1648, allocations: 15.98 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.1652, allocations: 300.7 kB / 0.5609 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1654, allocations: 58.62 kB / 0.561 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.1655, allocations: 20.84 kB / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1655, allocations: 0 / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.1657, allocations: 71.33 kB / 0.5611 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1657, allocations: 0 / 0.5611 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.1663, allocations: 185.3 kB / 0.5613 GB, free: 348 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1663, allocations: 51.41 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1665, allocations: 194.4 kB / 0.5615 GB, free: 80 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1665, allocations: 25.7 kB / 0.5615 GB, free: 48 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.1666, allocations: 104.1 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1667, allocations: 19.8 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1667, allocations: 29.7 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1669, allocations: 326.8 kB / 0.562 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.1669, allocations: 24 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.167, allocations: 33.7 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1671, allocations: 61.64 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1671, allocations: 0 / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002043/0.1673, allocations: 105.6 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1673, allocations: 8 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1673, allocations: 4.109 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1674, allocations: 0 / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.1674, allocations: 15.94 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1675, allocations: 7.984 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1675, allocations: 7.922 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1675, allocations: 4 kB / 0.5622 GB, free: 15.27 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.0001077/0.1676, allocations: 128 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1676, allocations: 11.91 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.1677, allocations: 25.39 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1677, allocations: 0 / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1677, allocations: 0 / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1677, allocations: 3.938 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1682, allocations: 387.3 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1682, allocations: 0 / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.1682, allocations: 11.98 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1682, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1682, allocations: 16.06 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1682, allocations: 7.969 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1682, allocations: 3.938 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1685, allocations: 196.3 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.1686, allocations: 93 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1686, allocations: 11.94 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.1687, allocations: 0 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1687, allocations: 12.36 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1687, allocations: 4 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1688, allocations: 144.2 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1688, allocations: 0 / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1691, allocations: 27.92 kB / 0.5633 GB, free: 14.1 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.001747/0.1709, allocations: 465.4 kB / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1711, allocations: 55.91 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1711, allocations: 0 / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.1711, allocations: 23.94 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1715, allocations: 28.28 kB / 0.5638 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.172, allocations: 272.4 kB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1724, allocations: 0.7041 MB / 0.5648 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1724, allocations: 15.44 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1724, allocations: 0 / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of Templates: time 0.004379/0.1768, allocations: 1.968 MB / 0.5667 GB, free: 10.71 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.9928567910101265]