Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008396/0.0008399, allocations: 99.44 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008891/0.0008892, allocations: 185.9 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2426/0.2426, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 13.41 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003131/0.1307, allocations: 1.889 MB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1328, allocations: 1.174 MB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1331, allocations: 4 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.1337, allocations: 259.2 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.1343, allocations: 231.5 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008602/0.1352, allocations: 339.6 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.1357, allocations: 335.3 kB / 475.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.1359, allocations: 49.06 kB / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.1361, allocations: 199.2 kB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.1364, allocations: 207.2 kB / 476.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.1365, allocations: 8 kB / 476.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1367, allocations: 35.94 kB / 476.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1368, allocations: 99.62 kB / 476.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.1369, allocations: 81.45 kB / 476.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.1372, allocations: 279.7 kB / 476.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1373, allocations: 0 / 476.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1373, allocations: 0 / 476.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1373, allocations: 0 / 476.6 MB, free: 8.574 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001157/0.1384, allocations: 0.6931 MB / 477.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1385, allocations: 8.031 kB / 477.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.1386, allocations: 59.27 kB / 477.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.1392, allocations: 375.2 kB / 477.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.1392, allocations: 23.98 kB / 477.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.1393, allocations: 19.89 kB / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.1397, allocations: 206.7 kB / 478 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1397, allocations: 0 / 478 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.1397, allocations: 8 kB / 478 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1398, allocations: 8 kB / 478 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.14, allocations: 91.86 kB / 478.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1412, allocations: 0.8527 MB / 478.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.1418, allocations: 285.7 kB / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.1419, allocations: 7.984 kB / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.1423, allocations: 231.5 kB / 479.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.1423, allocations: 4 kB / 479.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00196/0.1443, allocations: 0.9849 MB / 480.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1445, allocations: 162.2 kB / 480.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/0.1451, allocations: 0.6082 MB / 481.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.1452, allocations: 41.69 kB / 481.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1453, allocations: 220.9 kB / 481.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.1455, allocations: 126.4 kB / 481.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.1455, allocations: 8 kB / 481.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1457, allocations: 370.8 kB / 482 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1459, allocations: 96.83 kB / 482 MB, free: 2.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.1462, allocations: 184.8 kB / 482.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.1464, allocations: 112 kB / 482.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1464, allocations: 0 / 482.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007061/0.1471, allocations: 404.9 kB / 482.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1472, allocations: 8 kB / 482.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1472, allocations: 0 / 482.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1472, allocations: 4 kB / 482.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.1476, allocations: 91.8 kB / 482.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.1476, allocations: 7.984 kB / 482.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1478, allocations: 20.16 kB / 482.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.1478, allocations: 19.98 kB / 482.9 MB, free: 1.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.1481, allocations: 212.8 kB / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.1482, allocations: 55.33 kB / 483.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1483, allocations: 63.91 kB / 483.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.1483, allocations: 4 kB / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.1484, allocations: 3.953 kB / 483.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1484, allocations: 4 kB / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.1501, allocations: 1.265 MB / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1501, allocations: 4 kB / 484.5 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.1502, allocations: 43.92 kB / 484.5 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.1502, allocations: 4 kB / 484.5 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.1503, allocations: 15.98 kB / 484.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.1503, allocations: 8.484 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1503, allocations: 4 kB / 484.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1513, allocations: 0.9177 MB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1514, allocations: 132.4 kB / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.1515, allocations: 23.98 kB / 485.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.1519, allocations: 19.98 kB / 485.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.1519, allocations: 31.92 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.152, allocations: 23.98 kB / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000506/0.1525, allocations: 454.8 kB / 486.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1525, allocations: 4 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000536/0.1531, allocations: 83.84 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/0.1543, allocations: 486.3 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.1549, allocations: 284 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1549, allocations: 4 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.1552, allocations: 145.2 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/0.156, allocations: 137.9 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1573, allocations: 0.9306 MB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.1578, allocations: 0.871 MB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.158, allocations: 79.39 kB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1581, allocations: 51.42 kB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1581, allocations: 0 / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.009796/0.1679, allocations: 5.122 MB / 494.3 MB, free: 6.453 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches