Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001667/0.001667, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001914/0.001914, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9699/0.9699, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.137/0.137, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.537e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002732/0.002758, allocations: 1.774 MB / 301 MB, free: 304 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1542/0.157, allocations: 0.7926 MB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1571, allocations: 8.812 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.1576, allocations: 84.27 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1579, allocations: 77.02 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1582, allocations: 86.8 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1584, allocations: 111.2 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.1585, allocations: 8.766 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1586, allocations: 65.22 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1587, allocations: 46.77 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1587, allocations: 7.875 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.948e-05/0.1588, allocations: 43.16 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.1588, allocations: 22.12 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.1589, allocations: 21.8 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1591, allocations: 99.23 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1591, allocations: 0 / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1591, allocations: 1.688 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1591, allocations: 0 / 302.4 MB, free: 19.13 MB / 282.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.0003661/0.1595, allocations: 323.6 kB / 302.7 MB, free: 18.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1595, allocations: 9.688 kB / 302.7 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1595, allocations: 13.5 kB / 302.8 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1597, allocations: 143.8 kB / 302.9 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1597, allocations: 6.125 kB / 302.9 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1597, allocations: 5.031 kB / 302.9 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1598, allocations: 64.67 kB / 303 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1598, allocations: 3.938 kB / 303 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1598, allocations: 7.422 kB / 303 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1598, allocations: 0 / 303 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.1599, allocations: 9.016 kB / 303 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.16, allocations: 164.8 kB / 303.2 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.1601, allocations: 89.75 kB / 303.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.1601, allocations: 13.42 kB / 303.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1601, allocations: 2.031 kB / 303.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.582e-05/0.1602, allocations: 72.58 kB / 303.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1602, allocations: 2.188 kB / 303.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003009/0.1605, allocations: 105.4 kB / 303.4 MB, free: 18.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.1606, allocations: 52.75 kB / 303.5 MB, free: 18.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.1607, allocations: 184.9 kB / 303.7 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1607, allocations: 34.39 kB / 303.7 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.1607, allocations: 94.52 kB / 303.8 MB, free: 18.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1608, allocations: 21.38 kB / 303.8 MB, free: 18.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1608, allocations: 25.17 kB / 303.8 MB, free: 18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.1608, allocations: 326.9 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.1609, allocations: 10.5 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.1609, allocations: 22.7 kB / 304.2 MB, free: 17.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.922e-05/0.161, allocations: 54.55 kB / 304.2 MB, free: 17.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.161, allocations: 0 / 304.2 MB, free: 17.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.728e-05/0.1611, allocations: 71.66 kB / 304.3 MB, free: 17.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1611, allocations: 5.656 kB / 304.3 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1611, allocations: 2.5 kB / 304.3 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1611, allocations: 1.062 kB / 304.3 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.1612, allocations: 22.75 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.1612, allocations: 1.062 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.1612, allocations: 6.422 kB / 304.4 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1612, allocations: 3.984 kB / 304.4 MB, free: 17.59 MB / 282.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 6.05e-05/0.1613, allocations: 113.8 kB / 304.5 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1613, allocations: 17.53 kB / 304.5 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.1614, allocations: 76.58 kB / 304.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1614, allocations: 0.7031 kB / 304.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1614, allocations: 1.312 kB / 304.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1614, allocations: 8.047 kB / 304.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.1617, allocations: 296.8 kB / 304.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1617, allocations: 5.062 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.1617, allocations: 11.19 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1617, allocations: 2.016 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1617, allocations: 5.641 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1617, allocations: 0 / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1617, allocations: 1.969 kB / 304.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.155e-05/0.1618, allocations: 217.2 kB / 305.1 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.1618, allocations: 11.77 kB / 305.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1618, allocations: 10.83 kB / 305.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.1619, allocations: 3.469 kB / 305.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1619, allocations: 7.016 kB / 305.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1619, allocations: 2.781 kB / 305.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.276e-05/0.162, allocations: 59.72 kB / 305.2 MB, free: 16.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.162, allocations: 0 / 305.2 MB, free: 16.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.1622, allocations: 22.84 kB / 305.2 MB, free: 16.96 MB / 282.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.001201/0.1634, allocations: 0.5778 MB / 305.8 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1635, allocations: 43.97 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1635, allocations: 1.062 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.1635, allocations: 22.11 kB / 305.9 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.1637, allocations: 43.83 kB / 305.9 MB, free: 16.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.164, allocations: 231.1 kB / 306.1 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.1641, allocations: 68.36 kB / 306.2 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.1641, allocations: 11.66 kB / 306.2 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.1642, allocations: 68.83 kB / 306.3 MB, free: 16.31 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1642, allocations: 1.188 kB / 306.3 MB, free: 16.31 MB / 282.7 MB Notification: Performance of Templates: time 0.004687/0.1689, allocations: 2.004 MB / 308.3 MB, free: 16.06 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9353573680855334]