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.001222/0.001222, allocations: 107.4 kB / 17.2 MB, free: 6.273 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.001129/0.001129, allocations: 194 kB / 18.12 MB, free: 5.363 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.5/1.5, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.2192/0.2192, allocations: 44.18 MB / 336.1 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 72.28 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1365, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004431/0.141, allocations: 2.344 MB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1437, allocations: 1.271 MB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.1441, allocations: 7.938 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.1448, allocations: 271.3 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006276/0.1455, allocations: 235.2 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/0.1464, allocations: 350.6 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006306/0.1471, allocations: 0.4907 MB / 473.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1472, allocations: 45.09 kB / 473.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.1475, allocations: 215 kB / 473.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.1478, allocations: 259 kB / 474 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.1478, allocations: 11.94 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.148, allocations: 59.91 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1481, allocations: 99.59 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1483, allocations: 178.7 kB / 474.3 MB, free: 9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.1487, allocations: 382.8 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1487, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1487, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1487, allocations: 0 / 474.7 MB, free: 8.625 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.001097/0.1498, allocations: 0.7553 MB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1499, allocations: 8.031 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.15, allocations: 52.28 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.1505, allocations: 399.9 kB / 475.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1505, allocations: 16.36 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.1506, allocations: 16.12 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.151, allocations: 207.5 kB / 476.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.151, allocations: 7.906 kB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.151, allocations: 7.938 kB / 476.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.151, allocations: 4 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.1513, allocations: 95.86 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.1521, allocations: 0.8527 MB / 477.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.1527, allocations: 285.3 kB / 477.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.1529, allocations: 104.2 kB / 477.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.153, allocations: 8 kB / 477.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004612/0.1534, allocations: 235.4 kB / 477.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.1534, allocations: 0 / 477.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001957/0.1554, allocations: 0.9759 MB / 478.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.1555, allocations: 166.2 kB / 478.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.1561, allocations: 0.6159 MB / 479.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.1562, allocations: 37.7 kB / 479.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1563, allocations: 213.1 kB / 479.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1564, allocations: 126.3 kB / 479.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.1565, allocations: 70.12 kB / 479.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1567, allocations: 374.8 kB / 480.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.1569, allocations: 96.83 kB / 480.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.1572, allocations: 180.9 kB / 480.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.1577, allocations: 296.7 kB / 480.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1577, allocations: 11.94 kB / 480.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006817/0.1584, allocations: 404.6 kB / 481.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1584, allocations: 4 kB / 481.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1584, allocations: 4 kB / 481.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1585, allocations: 4 kB / 481.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.1588, allocations: 79.91 kB / 481.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1588, allocations: 20.02 kB / 481.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.159, allocations: 13.5 kB / 481.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.159, allocations: 23.98 kB / 481.4 MB, free: 1.516 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.0002005/0.1592, allocations: 200.3 kB / 481.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.1593, allocations: 63.27 kB / 481.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1594, allocations: 64.3 kB / 481.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1594, allocations: 8 kB / 481.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.1594, allocations: 0 / 481.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.1595, allocations: 8 kB / 481.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.161, allocations: 1.272 MB / 483 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1611, allocations: 4 kB / 483 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1612, allocations: 47.92 kB / 483.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1612, allocations: 4 kB / 483.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.1612, allocations: 23.92 kB / 483.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1613, allocations: 4 kB / 483.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1613, allocations: 4 kB / 483.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.1622, allocations: 0.8085 MB / 483.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.1623, allocations: 124.4 kB / 484 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.1623, allocations: 15.94 kB / 484 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.1627, allocations: 15.98 kB / 484.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/0.1627, allocations: 35.89 kB / 484.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.1628, allocations: 27.98 kB / 484.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004725/0.1633, allocations: 458.8 kB / 484.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1633, allocations: 0 / 484.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005319/0.1638, allocations: 80 kB / 484.6 MB, free: 14.14 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.00122/0.165, allocations: 492.8 kB / 485.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.1657, allocations: 295.5 kB / 485.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1657, allocations: 0 / 485.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.1661, allocations: 148.3 kB / 485.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.1672, allocations: 142.1 kB / 485.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.1689, allocations: 0.9915 MB / 486.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.1696, allocations: 0.8476 MB / 487.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000316/0.1699, allocations: 87.38 kB / 487.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1701, allocations: 51.42 kB / 487.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1701, allocations: 0 / 487.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01135/0.1814, allocations: 5.345 MB / 493 MB, free: 5.926 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