Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009639/0.0009639, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001011/0.001011, allocations: 173 kB / 24.14 MB, free: 356 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.8943/0.8943, allocations: 158.6 MB / 186 MB, free: 2.77 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.1308/0.1308, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.898e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002307/0.002326, allocations: 1.735 MB / 300.9 MB, free: 388 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.154/0.1563, allocations: 1.514 MB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.1564, allocations: 1.875 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.1568, allocations: 41.83 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1571, allocations: 71.41 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1574, allocations: 87.78 kB / 302.6 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1576, allocations: 93.58 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1577, allocations: 6.344 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1578, allocations: 59.2 kB / 302.7 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1579, allocations: 26.56 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.158, allocations: 8.219 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1581, allocations: 61.27 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.1582, allocations: 17.72 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.1582, allocations: 23.33 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1585, allocations: 111.8 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1585, allocations: 0 / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1585, allocations: 9.094 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1585, allocations: 0 / 303 MB, free: 19.08 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.0004354/0.1589, allocations: 298.1 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.159, allocations: 10.09 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.159, allocations: 7.828 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1592, allocations: 142 kB / 303.4 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.1592, allocations: 3.531 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1593, allocations: 7.297 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1594, allocations: 103.4 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1595, allocations: 3.938 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1595, allocations: 6.406 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1595, allocations: 2.062 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.546e-05/0.1595, allocations: 10.22 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.1597, allocations: 163.4 kB / 303.7 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.93e-05/0.1598, allocations: 86.12 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.1599, allocations: 18.41 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.1599, allocations: 1.562 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.16, allocations: 67.39 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.16, allocations: 0 / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003637/0.1603, allocations: 115 kB / 304 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.1604, allocations: 79.89 kB / 304.1 MB, free: 18.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1605, allocations: 157.1 kB / 304.3 MB, free: 18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1605, allocations: 31.58 kB / 304.3 MB, free: 17.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.1605, allocations: 90.58 kB / 304.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1605, allocations: 20.92 kB / 304.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.1606, allocations: 37.8 kB / 304.4 MB, free: 17.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.1606, allocations: 321.1 kB / 304.7 MB, free: 17.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.1606, allocations: 10.66 kB / 304.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.1607, allocations: 53.7 kB / 304.8 MB, free: 17.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.1607, allocations: 48.2 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1607, allocations: 0 / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001098/0.1609, allocations: 70.95 kB / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1609, allocations: 6.219 kB / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1609, allocations: 1.297 kB / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1609, allocations: 1.062 kB / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.161, allocations: 21.66 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.161, allocations: 1.219 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.161, allocations: 5.094 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.161, allocations: 1.906 kB / 305 MB, free: 17.4 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.741e-05/0.1611, allocations: 119.9 kB / 305.1 MB, free: 17.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1611, allocations: 15.95 kB / 305.1 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.1613, allocations: 76.33 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1613, allocations: 1.125 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1613, allocations: 2.344 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1613, allocations: 0 / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.1615, allocations: 297.3 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1615, allocations: 0 / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.1616, allocations: 17.77 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1616, allocations: 1.25 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1616, allocations: 5.953 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1616, allocations: 1.734 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1616, allocations: 0 / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.1617, allocations: 213.2 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.1617, allocations: 11.83 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1617, allocations: 2.781 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1618, allocations: 3.406 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1619, allocations: 9.859 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1619, allocations: 6.875 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.82e-05/0.1619, allocations: 35.86 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 4 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.1622, allocations: 31.34 kB / 305.8 MB, free: 16.76 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.001717/0.164, allocations: 0.6338 MB / 306.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1641, allocations: 42.7 kB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.1641, allocations: 1.281 kB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.1641, allocations: 24.58 kB / 306.5 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.1644, allocations: 35.55 kB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.1648, allocations: 196.7 kB / 306.7 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.1648, allocations: 64.53 kB / 306.8 MB, free: 16.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.1649, allocations: 17.77 kB / 306.8 MB, free: 16.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.165, allocations: 73.3 kB / 306.9 MB, free: 16.09 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.165, allocations: 1.344 kB / 306.9 MB, free: 16.09 MB / 282.7 MB Notification: Performance of Templates: time 0.005874/0.1708, allocations: 2.306 MB / 309.2 MB, free: 15.78 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.9837599033489823]