Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.0008944/0.0008944, allocations: 79.92 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.0009704/0.0009704, 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.9032/0.9032, 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.1328/0.1328, allocations: 32.37 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.062e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002858/0.002889, allocations: 1.903 MB / 301.1 MB, free: 172 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1531/0.156, allocations: 0.8956 MB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1561, allocations: 5.312 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.1566, allocations: 223.4 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.157, allocations: 175.5 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1574, allocations: 143.2 kB / 302.5 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.1577, allocations: 234.5 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.1578, allocations: 11.75 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.158, allocations: 139.5 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1582, allocations: 126.4 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1582, allocations: 7.656 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1583, allocations: 48.92 kB / 303.1 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.1584, allocations: 58.52 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.1585, allocations: 41.94 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.1588, allocations: 174.2 kB / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1588, allocations: 0 / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1588, allocations: 0 / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.1588, allocations: 0 / 303.3 MB, free: 19.02 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.0004634/0.1593, allocations: 457.5 kB / 303.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1593, allocations: 9.906 kB / 303.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1594, allocations: 18.52 kB / 303.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1595, allocations: 208.9 kB / 304 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1596, allocations: 4.109 kB / 304 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.1596, allocations: 4.062 kB / 304 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1597, allocations: 104.3 kB / 304.1 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1597, allocations: 8.422 kB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1597, allocations: 5.406 kB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1598, allocations: 3.172 kB / 304.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.1598, allocations: 24.23 kB / 304.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.1601, allocations: 283.4 kB / 304.5 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1602, allocations: 173.3 kB / 304.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.1602, allocations: 26.83 kB / 304.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1602, allocations: 3.25 kB / 304.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.1604, allocations: 111.1 kB / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1604, allocations: 1.312 kB / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004249/0.1608, allocations: 208.6 kB / 305 MB, free: 17.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.1608, allocations: 79.84 kB / 305 MB, free: 17.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.161, allocations: 316.5 kB / 305.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.161, allocations: 31.44 kB / 305.4 MB, free: 17.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.1611, allocations: 115.2 kB / 305.5 MB, free: 17.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.1611, allocations: 47.44 kB / 305.5 MB, free: 17.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1612, allocations: 36.2 kB / 305.6 MB, free: 17.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.1612, allocations: 343.1 kB / 305.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.1613, allocations: 24.72 kB / 305.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.784e-05/0.1613, allocations: 46.14 kB / 306 MB, free: 17.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.712e-05/0.1614, allocations: 87.44 kB / 306.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1614, allocations: 0 / 306.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001399/0.1615, allocations: 119.3 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1615, allocations: 6.359 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1615, allocations: 1.656 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1615, allocations: 2.844 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.1616, allocations: 33.84 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1616, allocations: 3.438 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.1617, allocations: 11.61 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1617, allocations: 7.188 kB / 306.2 MB, free: 17.06 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 6.51e-05/0.1618, allocations: 127.7 kB / 306.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1618, allocations: 23.28 kB / 306.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.162, allocations: 128.6 kB / 306.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.162, allocations: 4.156 kB / 306.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.162, allocations: 0 / 306.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.162, allocations: 6.172 kB / 306.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.1623, allocations: 0.4951 MB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1623, allocations: 5.25 kB / 307 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.1624, allocations: 20.47 kB / 307.1 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1624, allocations: 1.281 kB / 307.1 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1624, allocations: 7.672 kB / 307.1 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1624, allocations: 2.25 kB / 307.1 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1624, allocations: 3.75 kB / 307.1 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.1625, allocations: 384.9 kB / 307.4 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.1626, allocations: 20.12 kB / 307.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1626, allocations: 9.031 kB / 307.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.1626, allocations: 4.328 kB / 307.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1627, allocations: 21.23 kB / 307.5 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1627, allocations: 5.078 kB / 307.5 MB, free: 16.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1628, allocations: 136.7 kB / 307.6 MB, free: 16.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1628, allocations: 0 / 307.6 MB, free: 16.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.163, allocations: 48.72 kB / 307.7 MB, free: 16.11 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.001195/0.1642, allocations: 0.5845 MB / 308.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.1644, allocations: 76.05 kB / 308.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/0.1644, allocations: 7.562 kB / 308.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.1645, allocations: 57.08 kB / 308.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1648, allocations: 60.5 kB / 308.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.1652, allocations: 437.2 kB / 308.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.525e-05/0.1653, allocations: 95.14 kB / 309 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.472e-05/0.1654, allocations: 33.44 kB / 309 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1655, allocations: 83.53 kB / 309.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1655, allocations: 0 / 309.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Templates: time 0.00589/0.1714, allocations: 3.184 MB / 312.3 MB, free: 14.54 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.1267478237859905]