Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.0007719/0.0007719, 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.002969/0.002969, allocations: 162.2 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.8077/0.8077, allocations: 177.2 MB / 205 MB, free: 5.363 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.2297/0.2297, allocations: 34.26 MB / 295.7 MB, free: 0.6484 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 443.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.547e-05, allocations: 2.281 kB / 443.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.1626/0.1626, allocations: 1.712 MB / 445.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1642, allocations: 1.673 MB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.1643, allocations: 6.625 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.1645, allocations: 26.69 kB / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.1648, allocations: 115.1 kB / 447.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.1649, allocations: 74.27 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.165, allocations: 115.7 kB / 447.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.1651, allocations: 2.906 kB / 447.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.1652, allocations: 68.2 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.1653, allocations: 33.56 kB / 447.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1653, allocations: 2.906 kB / 447.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1655, allocations: 105.2 kB / 447.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.1655, allocations: 25.42 kB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.1656, allocations: 23.95 kB / 447.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1658, allocations: 171 kB / 447.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1658, allocations: 2.594 kB / 447.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1658, allocations: 0.7188 kB / 447.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1658, allocations: 0 / 447.7 MB, free: 42.53 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000453/0.1662, allocations: 363.5 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1663, allocations: 8.906 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.1663, allocations: 9.766 kB / 448.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1665, allocations: 143.9 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1665, allocations: 5.594 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1666, allocations: 7.141 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1667, allocations: 105.8 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1667, allocations: 3.75 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1667, allocations: 0 / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1667, allocations: 3.031 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.506e-05/0.1667, allocations: 20.25 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.167, allocations: 239.2 kB / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.1671, allocations: 51.81 kB / 448.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.1671, allocations: 22.7 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1671, allocations: 0 / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.499e-05/0.1672, allocations: 73.41 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1672, allocations: 0 / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003416/0.1676, allocations: 180.1 kB / 448.9 MB, free: 41.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.1676, allocations: 80.02 kB / 449 MB, free: 41.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.1677, allocations: 170.4 kB / 449.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.1677, allocations: 29.7 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.1677, allocations: 96.8 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1677, allocations: 26.06 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1677, allocations: 26.44 kB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.636e-05/0.1678, allocations: 329.6 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.1678, allocations: 22.45 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.1678, allocations: 70.11 kB / 449.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.716e-05/0.1679, allocations: 63.72 kB / 449.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1679, allocations: 0 / 449.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.527e-05/0.168, allocations: 106.5 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.168, allocations: 5.312 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.168, allocations: 2.969 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.168, allocations: 3.562 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.1681, allocations: 18.72 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1681, allocations: 2.938 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.1681, allocations: 2.906 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1681, allocations: 6.219 kB / 449.9 MB, free: 40.65 MB / 410.7 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 4.668e-05/0.1682, allocations: 124.7 kB / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1682, allocations: 9.609 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.1683, allocations: 122.7 kB / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1683, allocations: 4.062 kB / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1683, allocations: 1 kB / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1683, allocations: 0 / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1685, allocations: 349.4 kB / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1685, allocations: 0 / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.1685, allocations: 8.312 kB / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1685, allocations: 0 / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1685, allocations: 6.938 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1685, allocations: 3.125 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1686, allocations: 10.08 kB / 450.6 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.1686, allocations: 211.7 kB / 450.8 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.1687, allocations: 15.73 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1687, allocations: 2.844 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.1687, allocations: 6.844 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.1687, allocations: 10.42 kB / 450.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.1687, allocations: 2.875 kB / 450.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.426e-05/0.1688, allocations: 132.2 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1688, allocations: 0 / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.169, allocations: 54.28 kB / 451 MB, free: 39.88 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0007844/0.1698, allocations: 0.5835 MB / 451.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1699, allocations: 62.23 kB / 451.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1699, allocations: 3.938 kB / 451.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.1699, allocations: 28.67 kB / 451.7 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.1701, allocations: 40.83 kB / 451.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.1704, allocations: 225.4 kB / 451.9 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.1704, allocations: 92.62 kB / 452 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.1705, allocations: 27.31 kB / 452 MB, free: 39.37 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1705, allocations: 0 / 452 MB, free: 39.37 MB / 410.7 MB Notification: Performance of Templates: time 0.002482/0.173, allocations: 2.462 MB / 454.5 MB, free: 39.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.725431895814836]