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.001344/0.001344, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001373/0.001373, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.365/1.365, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2513/0.2513, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.95 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004554/0.1252, allocations: 2.291 MB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1277, allocations: 1.29 MB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.128, allocations: 7.938 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.1286, allocations: 295 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006461/0.1293, allocations: 258.9 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009751/0.1303, allocations: 379.5 kB / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000744/0.131, allocations: 0.5102 MB / 474.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.1312, allocations: 49.09 kB / 474.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.1317, allocations: 231.1 kB / 474.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.1321, allocations: 259 kB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.152e-05/0.1322, allocations: 20 kB / 474.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.1324, allocations: 59.98 kB / 474.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.1325, allocations: 107.5 kB / 475 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.1327, allocations: 170.8 kB / 475.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.1332, allocations: 390.7 kB / 475.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.1333, allocations: 0 / 475.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1333, allocations: 0 / 475.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1333, allocations: 0 / 475.5 MB, free: 8.059 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.001261/0.1346, allocations: 0.7592 MB / 476.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1346, allocations: 12.02 kB / 476.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.1348, allocations: 52.28 kB / 476.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.1354, allocations: 396 kB / 476.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1354, allocations: 12.36 kB / 476.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.1355, allocations: 16.12 kB / 476.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.1359, allocations: 209.8 kB / 477 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.136, allocations: 7.844 kB / 477 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.136, allocations: 8 kB / 477 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.136, allocations: 4 kB / 477 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.1363, allocations: 99.86 kB / 477.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009273/0.1372, allocations: 0.8488 MB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.1378, allocations: 289.3 kB / 478.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.138, allocations: 96.25 kB / 478.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.138, allocations: 7.938 kB / 478.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004549/0.1385, allocations: 228.4 kB / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.973e-06/0.1385, allocations: 3.938 kB / 478.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002204/0.1407, allocations: 0.9875 MB / 479.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.1408, allocations: 162.2 kB / 479.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.1415, allocations: 0.6198 MB / 480.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.1415, allocations: 37.7 kB / 480.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1417, allocations: 217.1 kB / 480.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.1418, allocations: 118.3 kB / 480.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.1419, allocations: 78.12 kB / 480.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1421, allocations: 370.8 kB / 481.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1423, allocations: 100.8 kB / 481.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.1426, allocations: 184.8 kB / 481.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.143, allocations: 300.8 kB / 481.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.143, allocations: 0 / 481.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006712/0.1437, allocations: 400.6 kB / 482.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1437, allocations: 4 kB / 482.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1438, allocations: 4 kB / 482.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1438, allocations: 4 kB / 482.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.1441, allocations: 88 kB / 482.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1441, allocations: 7.984 kB / 482.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1443, allocations: 17.5 kB / 482.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1443, allocations: 20.38 kB / 482.2 MB, free: 0.9453 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.0002102/0.1445, allocations: 208.2 kB / 482.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.1446, allocations: 63.27 kB / 482.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.1447, allocations: 67.89 kB / 482.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1447, allocations: 4 kB / 482.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.1447, allocations: 8 kB / 482.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1448, allocations: 0 / 482.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.1462, allocations: 1.265 MB / 483.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1462, allocations: 0 / 483.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.1463, allocations: 47.92 kB / 483.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1463, allocations: 4 kB / 483.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.1464, allocations: 19.92 kB / 483.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.1464, allocations: 11.94 kB / 483.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1464, allocations: 160 / 483.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000821/0.1472, allocations: 0.8084 MB / 484.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.1473, allocations: 128.4 kB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.1474, allocations: 15.88 kB / 484.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.1477, allocations: 19.98 kB / 484.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.1478, allocations: 39.95 kB / 484.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.1478, allocations: 23.94 kB / 484.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.1483, allocations: 454.8 kB / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1483, allocations: 0 / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.1488, allocations: 76 kB / 485.5 MB, free: 13.57 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.001038/0.1498, allocations: 490.2 kB / 485.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005787/0.1504, allocations: 315.5 kB / 486.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1504, allocations: 0 / 486.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.1507, allocations: 156 kB / 486.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.1517, allocations: 143.6 kB / 486.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1529, allocations: 0.8691 MB / 487.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1533, allocations: 0.8473 MB / 488.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.1535, allocations: 75.41 kB / 488.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.1536, allocations: 59.36 kB / 488.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1536, allocations: 0 / 488.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of Templates: time 0.01027/0.1639, allocations: 5.66 MB / 494.1 MB, free: 5.148 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","/var/lib/jenkins/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