Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009398/0.0009398, 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.0009517/0.0009517, 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.9523/0.9523, 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.1379/0.1379, 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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.091e-05, allocations: 6.25 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002301/0.002322, allocations: 1.735 MB / 300.9 MB, free: 388 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1538/0.1561, allocations: 1.523 MB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.1562, allocations: 1.062 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1565, allocations: 40.22 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.1567, allocations: 65.44 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.157, allocations: 91.03 kB / 302.6 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1571, allocations: 96.06 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.1572, allocations: 10.73 kB / 302.7 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1573, allocations: 53.08 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1575, allocations: 32.78 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1575, allocations: 3.719 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1576, allocations: 59.3 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.1576, allocations: 25.28 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.1577, allocations: 17.42 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1579, allocations: 110.6 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1579, allocations: 1.125 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1579, allocations: 0 / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1579, allocations: 4.969 kB / 303 MB, free: 19.09 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.0003812/0.1583, allocations: 302.3 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1583, allocations: 9.531 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1584, allocations: 11.77 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1585, allocations: 137.7 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1585, allocations: 7.125 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1585, allocations: 3.922 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1587, allocations: 105.9 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1587, allocations: 4.719 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1587, allocations: 1.797 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1587, allocations: 1.781 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.1587, allocations: 15.53 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1589, allocations: 163.1 kB / 303.7 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/0.159, allocations: 86.3 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.159, allocations: 12.89 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.159, allocations: 2.5 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.297e-05/0.1591, allocations: 69.81 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1591, allocations: 0.8438 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003179/0.1595, allocations: 111.8 kB / 304 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.1595, allocations: 79.94 kB / 304.1 MB, free: 18.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1596, allocations: 154.3 kB / 304.3 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1596, allocations: 30.39 kB / 304.3 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.1596, allocations: 90.84 kB / 304.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1597, allocations: 24.86 kB / 304.4 MB, free: 17.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.1597, allocations: 34.03 kB / 304.4 MB, free: 17.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.1597, allocations: 320.5 kB / 304.7 MB, free: 17.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.1598, allocations: 11.09 kB / 304.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.1598, allocations: 57.95 kB / 304.8 MB, free: 17.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.1598, allocations: 43.38 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1598, allocations: 1.562 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.278e-05/0.1599, allocations: 73.7 kB / 304.9 MB, free: 17.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1599, allocations: 13 kB / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1599, allocations: 0 / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.16, allocations: 1.984 kB / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.16, allocations: 13.84 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.16, allocations: 1.125 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.1601, allocations: 5.656 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1601, allocations: 2.953 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 7.326e-05/0.1601, allocations: 123.2 kB / 305.1 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.1602, allocations: 17.31 kB / 305.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.1603, allocations: 67.36 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1603, allocations: 1.75 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1603, allocations: 0.5938 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1603, allocations: 3.281 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1605, allocations: 296 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1605, allocations: 1.25 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.1606, allocations: 16.39 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1606, allocations: 5.281 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1606, allocations: 2.141 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1606, allocations: 1.125 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1606, allocations: 1.156 kB / 305.5 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.1607, allocations: 217.2 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.1607, allocations: 11.98 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1607, allocations: 3 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.1608, allocations: 5.203 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1608, allocations: 7.375 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1608, allocations: 6.766 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.834e-05/0.1609, allocations: 35.27 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1609, allocations: 0 / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000193/0.1611, allocations: 31.38 kB / 305.8 MB, free: 16.77 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.001339/0.1624, allocations: 0.6338 MB / 306.4 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.1625, allocations: 43.59 kB / 306.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1625, allocations: 1.125 kB / 306.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.1625, allocations: 29.86 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.0001711/0.1627, allocations: 36.03 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.0002817/0.163, allocations: 193.2 kB / 306.7 MB, free: 16.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.163, allocations: 63.98 kB / 306.8 MB, free: 16.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.1631, allocations: 14.67 kB / 306.8 MB, free: 16.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1632, allocations: 70.8 kB / 306.9 MB, free: 16.09 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1632, allocations: 1.156 kB / 306.9 MB, free: 16.09 MB / 282.7 MB Notification: Performance of Templates: time 0.00515/0.1683, allocations: 2.317 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.Test59.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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: 3.0863556172698736]