Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001196/0.001196, 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.001004/0.001004, allocations: 169 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.9065/0.9065, allocations: 158.6 MB / 186 MB, free: 2.75 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.132/0.132, allocations: 32.38 MB / 270.7 MB, free: 14.58 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.361e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002086/0.0021, allocations: 1.821 MB / 301 MB, free: 300 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1371/0.1392, allocations: 0.8651 MB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.1393, allocations: 2 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.1399, allocations: 312 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.1403, allocations: 217 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1406, allocations: 139.3 kB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.1408, allocations: 251.4 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.1409, allocations: 12.03 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1411, allocations: 145.7 kB / 302.9 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1413, allocations: 171.4 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1413, allocations: 6.844 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/0.1414, allocations: 47.97 kB / 303.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1415, allocations: 140.2 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.1416, allocations: 76.17 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1418, allocations: 274.7 kB / 303.6 MB, free: 18.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1419, allocations: 0.5625 kB / 303.6 MB, free: 18.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1419, allocations: 1 kB / 303.6 MB, free: 18.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1419, allocations: 0.5938 kB / 303.6 MB, free: 18.99 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006489/0.1425, allocations: 0.6207 MB / 304.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1425, allocations: 9.484 kB / 304.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.1426, allocations: 27.98 kB / 304.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1429, allocations: 306.1 kB / 304.5 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1429, allocations: 2.453 kB / 304.5 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.143, allocations: 7.594 kB / 304.5 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1431, allocations: 90.95 kB / 304.6 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1431, allocations: 4.594 kB / 304.6 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1431, allocations: 1.219 kB / 304.6 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.1431, allocations: 2 kB / 304.6 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.1432, allocations: 22.86 kB / 304.7 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1434, allocations: 115.2 kB / 304.8 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1435, allocations: 79.03 kB / 304.9 MB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.1435, allocations: 26.84 kB / 304.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1436, allocations: 5.562 kB / 304.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.1437, allocations: 94.38 kB / 305 MB, free: 18.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1437, allocations: 0 / 305 MB, free: 18.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002222/0.1439, allocations: 108.9 kB / 305.1 MB, free: 17.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1439, allocations: 84.2 kB / 305.2 MB, free: 17.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.1445, allocations: 0.5933 MB / 305.8 MB, free: 17.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1445, allocations: 27.67 kB / 305.8 MB, free: 17.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.1446, allocations: 154.2 kB / 305.9 MB, free: 17.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1446, allocations: 28.89 kB / 306 MB, free: 17.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1447, allocations: 33.75 kB / 306 MB, free: 17.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.1447, allocations: 369.8 kB / 306.4 MB, free: 17.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.1448, allocations: 11.88 kB / 306.4 MB, free: 17.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.1448, allocations: 39.98 kB / 306.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.442e-05/0.1449, allocations: 64.47 kB / 306.5 MB, free: 17.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1449, allocations: 0.5938 kB / 306.5 MB, free: 17.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001465/0.145, allocations: 110.5 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.145, allocations: 5.719 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.145, allocations: 3.406 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1451, allocations: 2.438 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.1451, allocations: 26.7 kB / 306.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1451, allocations: 6.688 kB / 306.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.1452, allocations: 15.62 kB / 306.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1452, allocations: 4.125 kB / 306.6 MB, free: 17.12 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.307e-05/0.1453, allocations: 125.4 kB / 306.8 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.1454, allocations: 29.22 kB / 306.8 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.1455, allocations: 118.7 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1455, allocations: 2.219 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1455, allocations: 5.859 kB / 306.9 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1455, allocations: 0.5156 kB / 306.9 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1457, allocations: 163.1 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1457, allocations: 4 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.1457, allocations: 13.52 kB / 307.1 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1458, allocations: 1.25 kB / 307.1 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1458, allocations: 2.609 kB / 307.1 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1458, allocations: 1.344 kB / 307.1 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1458, allocations: 1.844 kB / 307.1 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.1459, allocations: 141.6 kB / 307.2 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.146, allocations: 54.06 kB / 307.3 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.146, allocations: 8.141 kB / 307.3 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.1461, allocations: 4.703 kB / 307.3 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.1461, allocations: 16.09 kB / 307.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1461, allocations: 7.328 kB / 307.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003194/0.1464, allocations: 315.7 kB / 307.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1464, allocations: 0 / 307.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.1467, allocations: 45.17 kB / 307.7 MB, free: 16.66 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001243/0.1479, allocations: 0.5042 MB / 308.2 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.148, allocations: 55.59 kB / 308.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.148, allocations: 8.156 kB / 308.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.1481, allocations: 31.7 kB / 308.3 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.0002697/0.1483, allocations: 75.58 kB / 308.4 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007627/0.1491, allocations: 0.6461 MB / 309 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.1492, allocations: 132.5 kB / 309.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.694e-05/0.1493, allocations: 37.48 kB / 309.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1494, allocations: 98.42 kB / 309.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1494, allocations: 3.938 kB / 309.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of Templates: time 0.007544/0.157, allocations: 4.271 MB / 313.5 MB, free: 14.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.9447190179489553]