Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.000812/0.000812, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00309/0.00309, allocations: 163.5 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8416/0.8416, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2183/0.2183, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 3.938 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.538e-05, allocations: 3.688 kB / 443.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.1589/0.1589, allocations: 2.166 MB / 445.7 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1601, allocations: 1.264 MB / 447 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.1602, allocations: 9.969 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.1605, allocations: 140.2 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1608, allocations: 270 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.161, allocations: 192.2 kB / 447.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1612, allocations: 481.1 kB / 448 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1613, allocations: 43.84 kB / 448.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.1616, allocations: 386.5 kB / 448.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1617, allocations: 139.5 kB / 448.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1617, allocations: 20.81 kB / 448.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.1618, allocations: 76.02 kB / 448.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.1619, allocations: 165.6 kB / 448.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.1619, allocations: 95.58 kB / 448.9 MB, free: 42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1622, allocations: 466.3 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1622, allocations: 2.062 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1622, allocations: 0 / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1622, allocations: 3 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005775/0.1628, allocations: 0.8301 MB / 450.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1628, allocations: 9.281 kB / 450.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.1629, allocations: 78.39 kB / 450.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.1632, allocations: 371 kB / 450.7 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1632, allocations: 9.781 kB / 450.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1632, allocations: 23.45 kB / 450.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1634, allocations: 193.2 kB / 450.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1634, allocations: 10.84 kB / 450.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1635, allocations: 0.8438 kB / 450.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1635, allocations: 5.656 kB / 450.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1636, allocations: 102 kB / 451 MB, free: 40.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.164, allocations: 0.751 MB / 451.8 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.1643, allocations: 243.1 kB / 452 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.1644, allocations: 88.38 kB / 452.1 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.1644, allocations: 2.531 kB / 452.1 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1646, allocations: 201.9 kB / 452.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.223e-06/0.1646, allocations: 3.938 kB / 452.3 MB, free: 39.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.00118/0.1658, allocations: 1.232 MB / 453.5 MB, free: 39.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1658, allocations: 138.4 kB / 453.7 MB, free: 39.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.1663, allocations: 0.9755 MB / 454.6 MB, free: 38.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1664, allocations: 39.39 kB / 454.7 MB, free: 38.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/0.1665, allocations: 281.2 kB / 455 MB, free: 38.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.1665, allocations: 149.6 kB / 455.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.1666, allocations: 77.88 kB / 455.2 MB, free: 38.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.976e-05/0.1666, allocations: 327.2 kB / 455.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1667, allocations: 117.4 kB / 455.6 MB, free: 37.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1669, allocations: 187.1 kB / 455.8 MB, free: 37.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1671, allocations: 339.2 kB / 456.1 MB, free: 37.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1671, allocations: 0 / 456.1 MB, free: 37.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003718/0.1675, allocations: 458.9 kB / 456.6 MB, free: 37.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1675, allocations: 8.703 kB / 456.6 MB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1675, allocations: 6.656 kB / 456.6 MB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1675, allocations: 2.75 kB / 456.6 MB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1677, allocations: 87.31 kB / 456.7 MB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1677, allocations: 5.594 kB / 456.7 MB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.1677, allocations: 16.98 kB / 456.7 MB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1678, allocations: 18.44 kB / 456.7 MB, free: 37.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001404/0.1679, allocations: 264.6 kB / 457 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.1679, allocations: 78.2 kB / 457.1 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.1684, allocations: 0.5372 MB / 457.6 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1684, allocations: 6.344 kB / 457.6 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1684, allocations: 3.281 kB / 457.6 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1684, allocations: 9.203 kB / 457.6 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.1692, allocations: 1.271 MB / 458.9 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1692, allocations: 7.344 kB / 458.9 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.374e-05/0.1693, allocations: 66.27 kB / 459 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1693, allocations: 10.53 kB / 459 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1693, allocations: 17.75 kB / 459 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1693, allocations: 9.328 kB / 459 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1693, allocations: 2.906 kB / 459 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.1697, allocations: 0.8276 MB / 459.8 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.1698, allocations: 106.8 kB / 459.9 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.1698, allocations: 21.64 kB / 459.9 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.17, allocations: 20.73 kB / 460 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.17, allocations: 43.66 kB / 460 MB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.1701, allocations: 26.19 kB / 460 MB, free: 35.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003711/0.1704, allocations: 0.7104 MB / 460.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1704, allocations: 0 / 460.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.1707, allocations: 99.39 kB / 460.8 MB, free: 35.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008014/0.1715, allocations: 0.5708 MB / 461.4 MB, free: 35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.1719, allocations: 315.9 kB / 461.7 MB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1719, allocations: 3.25 kB / 461.7 MB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.172, allocations: 153.2 kB / 461.9 MB, free: 34.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.1725, allocations: 136 kB / 462 MB, free: 34.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.1734, allocations: 1.278 MB / 463.3 MB, free: 34.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.1736, allocations: 322.1 kB / 463.6 MB, free: 34.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/0.1736, allocations: 57.64 kB / 463.7 MB, free: 34.01 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1736, allocations: 3.938 kB / 463.7 MB, free: 34.01 MB / 410.7 MB Notification: Performance of Templates: time 0.004734/0.1784, allocations: 7.083 MB / 470.7 MB, free: 33.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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: 4.987850539386272]