Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001009/0.001009, 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.0009834/0.0009834, allocations: 169 kB / 24.14 MB, free: 360 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.8941/0.8941, 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.1414/0.1414, allocations: 32.37 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.399e-05, allocations: 2.312 kB / 299.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003556/0.00358, allocations: 1.895 MB / 301.1 MB, free: 164 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1486/0.1522, allocations: 0.9043 MB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1523, allocations: 1.094 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.1528, allocations: 253.4 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.1532, allocations: 184.9 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1535, allocations: 156.3 kB / 302.6 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1538, allocations: 245.5 kB / 302.8 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.1539, allocations: 16.97 kB / 302.8 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1541, allocations: 150.5 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.1543, allocations: 157.9 kB / 303.1 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.1543, allocations: 7.562 kB / 303.1 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.1544, allocations: 46.27 kB / 303.2 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.1545, allocations: 66.52 kB / 303.3 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.1545, allocations: 42.33 kB / 303.3 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1548, allocations: 179.5 kB / 303.5 MB, free: 19.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1548, allocations: 2.844 kB / 303.5 MB, free: 19.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1548, allocations: 0 / 303.5 MB, free: 19.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1548, allocations: 0 / 303.5 MB, free: 19.01 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004387/0.1552, allocations: 468 kB / 303.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.512e-05/0.1553, allocations: 9.781 kB / 303.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.1553, allocations: 24.84 kB / 304 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1555, allocations: 215.6 kB / 304.2 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1555, allocations: 4.328 kB / 304.2 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1555, allocations: 12.39 kB / 304.2 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1557, allocations: 100.7 kB / 304.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1557, allocations: 5.969 kB / 304.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.1557, allocations: 0.75 kB / 304.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1557, allocations: 2.062 kB / 304.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.082e-05/0.1557, allocations: 32.7 kB / 304.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.156, allocations: 281.7 kB / 304.6 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1561, allocations: 174.5 kB / 304.8 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.1562, allocations: 28.42 kB / 304.8 MB, free: 17.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1562, allocations: 2.281 kB / 304.8 MB, free: 17.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.1563, allocations: 101.2 kB / 304.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.1563, allocations: 0 / 304.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000444/0.1567, allocations: 212.8 kB / 305.1 MB, free: 17.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.1568, allocations: 80.41 kB / 305.2 MB, free: 17.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.1571, allocations: 344.8 kB / 305.5 MB, free: 17.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1571, allocations: 27.98 kB / 305.6 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.1571, allocations: 116.9 kB / 305.7 MB, free: 17.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.1572, allocations: 60.58 kB / 305.7 MB, free: 17.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.1572, allocations: 38.84 kB / 305.8 MB, free: 17.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.1573, allocations: 346.8 kB / 306.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.1573, allocations: 17.84 kB / 306.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.1574, allocations: 48.69 kB / 306.2 MB, free: 17.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.734e-05/0.1575, allocations: 88.17 kB / 306.3 MB, free: 17.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1575, allocations: 0 / 306.3 MB, free: 17.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000166/0.1576, allocations: 120.4 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1577, allocations: 7.562 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1577, allocations: 1.359 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1577, allocations: 1.938 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1578, allocations: 37.83 kB / 306.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1578, allocations: 5.953 kB / 306.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.1579, allocations: 9.656 kB / 306.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1579, allocations: 2.344 kB / 306.4 MB, free: 17.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.386e-05/0.1579, allocations: 136.1 kB / 306.6 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.158, allocations: 21.48 kB / 306.6 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.1582, allocations: 123.7 kB / 306.7 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1582, allocations: 3.078 kB / 306.7 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1582, allocations: 5.375 kB / 306.7 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1582, allocations: 1.453 kB / 306.7 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.1586, allocations: 0.5016 MB / 307.2 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1586, allocations: 0.9062 kB / 307.2 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.1587, allocations: 27.28 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1587, allocations: 1.922 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1587, allocations: 4.281 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1587, allocations: 2.75 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1587, allocations: 1.5 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.1589, allocations: 381.9 kB / 307.6 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.1589, allocations: 25.22 kB / 307.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.1589, allocations: 8.734 kB / 307.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.159, allocations: 9.656 kB / 307.7 MB, free: 16.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1591, allocations: 21.88 kB / 307.7 MB, free: 16.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1591, allocations: 5.219 kB / 307.7 MB, free: 16.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.1592, allocations: 154.3 kB / 307.9 MB, free: 16.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1592, allocations: 0 / 307.9 MB, free: 16.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.1595, allocations: 45.02 kB / 307.9 MB, free: 16.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00148/0.161, allocations: 0.5895 MB / 308.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1612, allocations: 83.78 kB / 308.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.1612, allocations: 4 kB / 308.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/0.1613, allocations: 49.91 kB / 308.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1617, allocations: 71.84 kB / 308.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.1622, allocations: 448.5 kB / 309.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.44e-05/0.1623, allocations: 98.95 kB / 309.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.637e-05/0.1624, allocations: 31.55 kB / 309.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1625, allocations: 89.31 kB / 309.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1625, allocations: 0 / 309.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of Templates: time 0.006554/0.1691, allocations: 3.189 MB / 312.5 MB, free: 14.4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.985124741215259]