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.0009173/0.0009173, 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.001029/0.001029, 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.9087/0.9087, allocations: 158.6 MB / 186 MB, free: 2.742 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.1442/0.1442, allocations: 32.39 MB / 270.7 MB, free: 14.59 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.663e-06/1.663e-06, allocations: 0 / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.951e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002618/0.002647, allocations: 1.86 MB / 301 MB, free: 216 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1383/0.141, allocations: 0.8665 MB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1411, allocations: 1.031 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.1416, allocations: 312.7 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.142, allocations: 211.7 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1423, allocations: 142.5 kB / 302.6 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.1427, allocations: 253 kB / 302.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.724e-05/0.1428, allocations: 10.86 kB / 302.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.143, allocations: 145.1 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1433, allocations: 174.1 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1433, allocations: 7.031 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1434, allocations: 48.92 kB / 303.2 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1436, allocations: 139.3 kB / 303.3 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.1437, allocations: 71.5 kB / 303.4 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.144, allocations: 275.3 kB / 303.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1441, allocations: 5.75 kB / 303.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1441, allocations: 0 / 303.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1441, allocations: 0.6562 kB / 303.7 MB, free: 18.97 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.0007661/0.1448, allocations: 0.6159 MB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1449, allocations: 9.938 kB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.145, allocations: 29.08 kB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.1453, allocations: 308.9 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1454, allocations: 5.312 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1454, allocations: 3.625 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1455, allocations: 90.27 kB / 304.7 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1455, allocations: 3.938 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1455, allocations: 1.938 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1456, allocations: 0.9375 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.1456, allocations: 21.89 kB / 304.7 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.1458, allocations: 118.5 kB / 304.9 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1459, allocations: 78.25 kB / 304.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.1459, allocations: 27.89 kB / 305 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.146, allocations: 2.312 kB / 305 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.1461, allocations: 97.14 kB / 305.1 MB, free: 17.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.1461, allocations: 1.188 kB / 305.1 MB, free: 17.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002157/0.1463, allocations: 109.6 kB / 305.2 MB, free: 17.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.1463, allocations: 84.97 kB / 305.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.1469, allocations: 0.599 MB / 305.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1469, allocations: 30.17 kB / 305.9 MB, free: 17.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.1469, allocations: 144.4 kB / 306 MB, free: 17.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.147, allocations: 28.91 kB / 306.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.147, allocations: 28.03 kB / 306.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.1471, allocations: 366.2 kB / 306.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.1472, allocations: 16.75 kB / 306.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.1472, allocations: 47.88 kB / 306.5 MB, free: 17.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.1473, allocations: 70.05 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1473, allocations: 0 / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001403/0.1474, allocations: 105.8 kB / 306.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1474, allocations: 6.188 kB / 306.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.1474, allocations: 1.062 kB / 306.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1475, allocations: 2.281 kB / 306.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.1475, allocations: 33.97 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1476, allocations: 4.031 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.1476, allocations: 14.84 kB / 306.7 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.1476, allocations: 3.656 kB / 306.7 MB, free: 17.08 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.844e-05/0.1477, allocations: 123 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.1478, allocations: 33.72 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.1479, allocations: 118.8 kB / 307 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1479, allocations: 2.078 kB / 307 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1479, allocations: 6.312 kB / 307 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1479, allocations: 4.516 kB / 307 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1481, allocations: 161.8 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1481, allocations: 1.859 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.1482, allocations: 10.69 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1482, allocations: 5.188 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1482, allocations: 2.359 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1482, allocations: 1.094 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1482, allocations: 5.469 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1483, allocations: 135.2 kB / 307.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.1484, allocations: 54.94 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.1484, allocations: 7.469 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.1485, allocations: 8.125 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1485, allocations: 9.422 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1485, allocations: 8.188 kB / 307.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003189/0.1488, allocations: 314.6 kB / 307.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1488, allocations: 0 / 307.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.149, allocations: 43.97 kB / 307.8 MB, free: 16.6 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.001142/0.1502, allocations: 0.5103 MB / 308.3 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.1503, allocations: 56.98 kB / 308.3 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/0.1504, allocations: 9.688 kB / 308.3 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.1504, allocations: 35.61 kB / 308.4 MB, free: 16.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1507, allocations: 78.41 kB / 308.5 MB, free: 16.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/0.1516, allocations: 0.6423 MB / 309.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.1517, allocations: 127.9 kB / 309.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.035e-05/0.1518, allocations: 38.38 kB / 309.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1519, allocations: 102.4 kB / 309.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1519, allocations: 0 / 309.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of Templates: time 0.008849/0.1607, allocations: 4.26 MB / 313.6 MB, free: 14.32 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 -s gbode -gbm=radauIIA3 -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: 3.0432340428233147]