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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 183 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001218, allocations: 103.7 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4331/0.4331, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 56.16 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1382, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003704/0.1419, allocations: 1.849 MB / 488.9 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1436, allocations: 0.8663 MB / 489.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1437, allocations: 0 / 489.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005237/0.1442, allocations: 299.4 kB / 490 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.1447, allocations: 203.5 kB / 490.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.1451, allocations: 139.7 kB / 490.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1455, allocations: 223.4 kB / 490.6 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.1455, allocations: 17.53 kB / 490.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.1457, allocations: 127.5 kB / 490.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.146, allocations: 187.5 kB / 490.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.146, allocations: 4 kB / 490.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1461, allocations: 39.98 kB / 490.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1463, allocations: 139.6 kB / 491.1 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1465, allocations: 146.7 kB / 491.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.147, allocations: 359 kB / 491.6 MB, free: 7.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.147, allocations: 4 kB / 491.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.147, allocations: 0 / 491.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.147, allocations: 0 / 491.6 MB, free: 7.934 MB / 378.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.001213/0.1482, allocations: 0.7191 MB / 492.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1483, allocations: 12.03 kB / 492.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1484, allocations: 44.38 kB / 492.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.149, allocations: 451.7 kB / 492.8 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.149, allocations: 12.36 kB / 492.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.149, allocations: 8.125 kB / 492.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1492, allocations: 83.38 kB / 492.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1492, allocations: 0 / 492.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1493, allocations: 3.984 kB / 492.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1493, allocations: 0 / 492.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1494, allocations: 31.92 kB / 492.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1498, allocations: 378.4 kB / 493.3 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1501, allocations: 105.2 kB / 493.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.1502, allocations: 45.62 kB / 493.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1502, allocations: 4 kB / 493.5 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.1505, allocations: 113 kB / 493.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1505, allocations: 3.938 kB / 493.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004688/0.151, allocations: 193 kB / 493.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.151, allocations: 89.03 kB / 493.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1521, allocations: 1.03 MB / 494.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1522, allocations: 25.7 kB / 494.9 MB, free: 4.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1523, allocations: 240 kB / 495.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1524, allocations: 27.64 kB / 495.2 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.1524, allocations: 25.72 kB / 495.2 MB, free: 4.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1526, allocations: 374.8 kB / 495.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.1527, allocations: 23.98 kB / 495.6 MB, free: 3.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.1528, allocations: 59.42 kB / 495.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.153, allocations: 91.34 kB / 495.7 MB, free: 3.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.153, allocations: 0 / 495.7 MB, free: 3.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002991/0.1533, allocations: 172.9 kB / 495.9 MB, free: 3.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1533, allocations: 8 kB / 495.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1533, allocations: 0 / 495.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1533, allocations: 0.625 kB / 495.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1535, allocations: 27.92 kB / 495.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1535, allocations: 0 / 495.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-05/0.1536, allocations: 11.92 kB / 495.9 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1536, allocations: 8 kB / 495.9 MB, free: 3.277 MB / 378.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 0.0002005/0.1538, allocations: 237.6 kB / 496.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.1539, allocations: 59.31 kB / 496.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.154, allocations: 63.94 kB / 496.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.154, allocations: 0 / 496.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.154, allocations: 0 / 496.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.154, allocations: 0 / 496.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.1543, allocations: 341.4 kB / 496.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1543, allocations: 0 / 496.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.1543, allocations: 11.98 kB / 496.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1543, allocations: 0 / 496.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1544, allocations: 8 kB / 496.7 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1544, allocations: 4 kB / 496.7 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1544, allocations: 0 / 496.7 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.1551, allocations: 0.8775 MB / 497.5 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.1553, allocations: 140.4 kB / 497.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.1553, allocations: 12 kB / 497.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.1554, allocations: 3.984 kB / 497.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1555, allocations: 7.938 kB / 497.7 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1555, allocations: 11.98 kB / 497.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007241/0.1562, allocations: 0.7643 MB / 498.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1562, allocations: 0 / 498.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.1566, allocations: 47.98 kB / 498.5 MB, free: 0.5664 MB / 378.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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0008634/0.1575, allocations: 414.1 kB / 498.9 MB, free: 212 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1577, allocations: 79.91 kB / 499 MB, free: 132 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1577, allocations: 3.938 kB / 499 MB, free: 128 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1578, allocations: 39.91 kB / 499 MB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.1583, allocations: 66.75 kB / 499.1 MB, free: 24 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1597, allocations: 1.078 MB / 0.4885 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.1602, allocations: 0.8468 MB / 0.4893 GB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.1603, allocations: 62.92 kB / 0.4893 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.1604, allocations: 31.42 kB / 0.4894 GB, free: 13.93 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1604, allocations: 0 / 0.4894 GB, free: 13.93 MB / 394.7 MB Notification: Performance of Templates: time 0.008209/0.1686, allocations: 3.664 MB / 0.493 GB, free: 10.27 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches