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.001161/0.001161, allocations: 95.11 kB / 18 MB, free: 5.602 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.001453/0.001453, allocations: 180.9 kB / 18.91 MB, free: 4.734 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.367/1.367, allocations: 223.3 MB / 243 MB, free: 14.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.201/0.201, allocations: 44.25 MB / 338.3 MB, free: 2.375 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 8 kB / 411 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 61.93 MB / 472.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002919/0.1369, allocations: 1.989 MB / 474.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1394, allocations: 1.247 MB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.1398, allocations: 7.938 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.1406, allocations: 267.3 kB / 476.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006751/0.1413, allocations: 251.1 kB / 476.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1423, allocations: 346 kB / 477 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007997/0.1431, allocations: 494.5 kB / 477.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.1433, allocations: 49.09 kB / 477.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.1438, allocations: 215 kB / 477.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.1442, allocations: 251 kB / 478 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.1443, allocations: 12 kB / 478 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.1446, allocations: 43.98 kB / 478.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1447, allocations: 107.5 kB / 478.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.1449, allocations: 192.4 kB / 478.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1453, allocations: 283.6 kB / 478.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1453, allocations: 4 kB / 478.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1453, allocations: 0 / 478.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1453, allocations: 0 / 478.6 MB, free: 7.527 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.001195/0.1465, allocations: 0.6932 MB / 479.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1466, allocations: 8.031 kB / 479.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.1467, allocations: 56.28 kB / 479.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.1474, allocations: 399.9 kB / 479.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.1474, allocations: 12.38 kB / 479.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.1475, allocations: 20.11 kB / 479.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.1479, allocations: 198.8 kB / 480 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.148, allocations: 8 kB / 480 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.148, allocations: 7.984 kB / 480 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.148, allocations: 4 kB / 480 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.1483, allocations: 91.88 kB / 480.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1494, allocations: 0.8604 MB / 481 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.15, allocations: 285.3 kB / 481.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.1503, allocations: 100.2 kB / 481.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.1503, allocations: 11.98 kB / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.1508, allocations: 223.5 kB / 481.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.1508, allocations: 4 kB / 481.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002212/0.1531, allocations: 0.976 MB / 482.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1532, allocations: 170.1 kB / 482.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008669/0.1541, allocations: 0.616 MB / 483.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.1541, allocations: 41.69 kB / 483.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1543, allocations: 217 kB / 483.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.1545, allocations: 126.3 kB / 483.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.1546, allocations: 37.7 kB / 483.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1548, allocations: 374.7 kB / 484.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.1551, allocations: 96.83 kB / 484.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.1554, allocations: 184.9 kB / 484.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.1559, allocations: 296.5 kB / 484.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1559, allocations: 3.938 kB / 484.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008288/0.1568, allocations: 408.6 kB / 485.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1568, allocations: 8 kB / 485.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.1568, allocations: 0 / 485.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1569, allocations: 4 kB / 485.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1572, allocations: 79.89 kB / 485.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.1572, allocations: 7.938 kB / 485.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.1574, allocations: 28.14 kB / 485.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1575, allocations: 20 kB / 485.2 MB, free: 0.5078 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 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.1577, allocations: 208.2 kB / 485.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.1579, allocations: 63.19 kB / 485.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.158, allocations: 67.91 kB / 485.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.158, allocations: 4 kB / 485.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.158, allocations: 0 / 485.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.158, allocations: 7.984 kB / 485.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.1598, allocations: 1.263 MB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.1598, allocations: 4 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.16, allocations: 47.92 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.16, allocations: 4 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.16, allocations: 19.92 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.16, allocations: 4 kB / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.16, allocations: 4 kB / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/0.161, allocations: 0.8127 MB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1611, allocations: 136.4 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.1612, allocations: 19.92 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.1616, allocations: 23.98 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.1617, allocations: 39.89 kB / 487.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.1617, allocations: 16 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005419/0.1623, allocations: 462.8 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1623, allocations: 0 / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000596/0.1629, allocations: 76 kB / 488.5 MB, free: 13.11 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 (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.001286/0.1642, allocations: 487.5 kB / 489 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.1649, allocations: 288.2 kB / 489.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1649, allocations: 0 / 489.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.1653, allocations: 157.1 kB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.1665, allocations: 145.8 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1682, allocations: 1.03 MB / 490.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.1687, allocations: 0.8592 MB / 491.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.1689, allocations: 51.42 kB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1689, allocations: 0 / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01199/0.1809, allocations: 6.223 MB / 497.7 MB, free: 4.02 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches