Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001565/0.001565, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247.1 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.12 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 76.72 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1375, allocations: 62.46 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004257/0.1418, allocations: 2.401 MB / 482.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.1445, allocations: 1.387 MB / 484 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1447, allocations: 7.938 kB / 484 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006536/0.1454, allocations: 267.3 kB / 484.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006596/0.146, allocations: 303 kB / 484.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.1466, allocations: 195.6 kB / 484.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007203/0.1473, allocations: 0.5453 MB / 485.3 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1475, allocations: 57.06 kB / 485.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.1479, allocations: 243 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.1483, allocations: 287 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.1483, allocations: 16 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1485, allocations: 67.81 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1486, allocations: 115.6 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.1489, allocations: 190.6 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.1494, allocations: 303.7 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1494, allocations: 0 / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1494, allocations: 0 / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1494, allocations: 4 kB / 486.6 MB, free: 15.19 MB / 366.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.001426/0.1509, allocations: 0.7979 MB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1509, allocations: 11.97 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.151, allocations: 52.28 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.1517, allocations: 419.8 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.1517, allocations: 12.36 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.1517, allocations: 20.03 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.1522, allocations: 213.7 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1522, allocations: 0 / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1523, allocations: 8 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1523, allocations: 0 / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.1526, allocations: 99.86 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1538, allocations: 0.8605 MB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.1545, allocations: 301.2 kB / 489.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1548, allocations: 92.25 kB / 489.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.1548, allocations: 7.984 kB / 489.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000581/0.1554, allocations: 228.4 kB / 489.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.1554, allocations: 0 / 489.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002282/0.1577, allocations: 1.011 MB / 490.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.1579, allocations: 166.2 kB / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/0.1588, allocations: 0.6553 MB / 491.5 MB, free: 9.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.1589, allocations: 33.7 kB / 491.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.1591, allocations: 236.9 kB / 491.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.1593, allocations: 134.3 kB / 491.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1594, allocations: 70.12 kB / 492 MB, free: 9.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.1597, allocations: 374.8 kB / 492.3 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.1599, allocations: 96.83 kB / 492.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.1602, allocations: 188.8 kB / 492.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.1608, allocations: 296.6 kB / 492.9 MB, free: 8.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1608, allocations: 4 kB / 492.9 MB, free: 8.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007764/0.1616, allocations: 400.5 kB / 493.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1616, allocations: 4.156 kB / 493.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1616, allocations: 8.438 kB / 493.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.1617, allocations: 4 kB / 493.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.162, allocations: 87.83 kB / 493.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.162, allocations: 4 kB / 493.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1622, allocations: 23.98 kB / 493.4 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.1622, allocations: 16 kB / 493.4 MB, free: 7.906 MB / 366.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.0002697/0.1625, allocations: 212.3 kB / 493.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1626, allocations: 67.19 kB / 493.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.1628, allocations: 68.41 kB / 493.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1628, allocations: 4 kB / 493.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.1628, allocations: 4 kB / 493.8 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1628, allocations: 7.922 kB / 493.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.1646, allocations: 1.277 MB / 495.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1647, allocations: 4 kB / 495.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1648, allocations: 47.91 kB / 495.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1648, allocations: 4 kB / 495.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.1649, allocations: 28.02 kB / 495.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1649, allocations: 4 kB / 495.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.1649, allocations: 7.938 kB / 495.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1659, allocations: 0.8045 MB / 496 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.166, allocations: 132.3 kB / 496.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.1661, allocations: 19.92 kB / 496.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.1665, allocations: 19.98 kB / 496.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1666, allocations: 35.95 kB / 496.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.1666, allocations: 20 kB / 496.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006072/0.1672, allocations: 486.8 kB / 496.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1672, allocations: 0 / 496.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005671/0.1678, allocations: 84 kB / 496.7 MB, free: 4.461 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.001802/0.1696, allocations: 483.3 kB / 497.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007146/0.1703, allocations: 315.8 kB / 497.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1704, allocations: 0 / 497.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.1707, allocations: 147.8 kB / 497.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.1718, allocations: 150.5 kB / 497.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1734, allocations: 1.086 MB / 498.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.174, allocations: 0.8629 MB / 499.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1741, allocations: 59.41 kB / 499.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1741, allocations: 0 / 499.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of Templates: time 0.01168/0.1858, allocations: 6.536 MB / 0.4945 GB, free: 10.95 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches