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.001218/0.001218, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.19 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.000258, allocations: 12 kB / 418.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 63.56 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002654/0.141, allocations: 1.973 MB / 484.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1436, allocations: 1.305 MB / 485.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.1439, allocations: 7.938 kB / 485.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009356/0.1448, allocations: 263.3 kB / 486 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008506/0.1457, allocations: 295 kB / 486.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.1463, allocations: 171.7 kB / 486.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.147, allocations: 486.3 kB / 486.9 MB, free: 56 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.1472, allocations: 57.05 kB / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.1475, allocations: 215 kB / 487.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.1479, allocations: 239 kB / 487.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.1479, allocations: 8 kB / 487.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.148, allocations: 43.98 kB / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1482, allocations: 99.58 kB / 487.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.1483, allocations: 97.38 kB / 487.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.1487, allocations: 291.7 kB / 487.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1487, allocations: 0 / 487.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1487, allocations: 0 / 487.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1487, allocations: 0 / 487.9 MB, free: 15.02 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.001205/0.1499, allocations: 0.728 MB / 488.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.15, allocations: 8.031 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.549e-05/0.1501, allocations: 51.34 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.1507, allocations: 402.9 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.1508, allocations: 16 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.1508, allocations: 15.91 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.1513, allocations: 205.8 kB / 489.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.1513, allocations: 4 kB / 489.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.1514, allocations: 0 / 489.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1514, allocations: 8 kB / 489.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.1517, allocations: 99.86 kB / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.1528, allocations: 0.8644 MB / 490.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.1534, allocations: 285.3 kB / 490.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.1535, allocations: 92.25 kB / 490.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.1536, allocations: 15.94 kB / 490.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.1541, allocations: 224.4 kB / 490.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.1541, allocations: 0 / 490.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001969/0.156, allocations: 1.002 MB / 491.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.1562, allocations: 162.2 kB / 492.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.1569, allocations: 0.6552 MB / 492.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.157, allocations: 41.7 kB / 492.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.1572, allocations: 232.9 kB / 493 MB, free: 9.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.1573, allocations: 126.3 kB / 493.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.1573, allocations: 8 kB / 493.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.1576, allocations: 374.8 kB / 493.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1578, allocations: 96.83 kB / 493.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.1581, allocations: 180.9 kB / 493.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.1583, allocations: 124.3 kB / 493.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1583, allocations: 3.938 kB / 493.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007689/0.1591, allocations: 396.9 kB / 494.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.1592, allocations: 14.28 kB / 494.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1592, allocations: 0 / 494.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1592, allocations: 8 kB / 494.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.1595, allocations: 87.98 kB / 494.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.1595, allocations: 8.078 kB / 494.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1597, allocations: 23.98 kB / 494.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.1598, allocations: 15.98 kB / 494.4 MB, free: 8.121 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 ($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.0002651/0.16, allocations: 214.2 kB / 494.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.1601, allocations: 64.89 kB / 494.7 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1603, allocations: 68.41 kB / 494.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.1603, allocations: 4 kB / 494.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.1603, allocations: 8 kB / 494.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.1603, allocations: 3.984 kB / 494.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.162, allocations: 1.272 MB / 496.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.162, allocations: 3.984 kB / 496.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1621, allocations: 47.92 kB / 496.1 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.1622, allocations: 4 kB / 496.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1622, allocations: 15.98 kB / 496.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.1622, allocations: 4 kB / 496.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1622, allocations: 4.094 kB / 496.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.1631, allocations: 0.8171 MB / 496.9 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.1632, allocations: 144.3 kB / 497.1 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.1633, allocations: 19.98 kB / 497.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.1636, allocations: 19.98 kB / 497.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.1637, allocations: 39.86 kB / 497.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.1638, allocations: 23.98 kB / 497.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005281/0.1643, allocations: 486.8 kB / 497.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1643, allocations: 0 / 497.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.1649, allocations: 80 kB / 497.7 MB, free: 4.664 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.001142/0.166, allocations: 486.6 kB / 498.2 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006022/0.1666, allocations: 287.9 kB / 498.5 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1666, allocations: 320 / 498.5 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.1669, allocations: 143.8 kB / 498.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.1679, allocations: 127.8 kB / 498.8 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1695, allocations: 0.9973 MB / 499.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.1701, allocations: 0.8671 MB / 0.4889 GB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.1704, allocations: 80.14 kB / 0.489 GB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.1705, allocations: 55.41 kB / 0.489 GB, free: 1.715 MB / 366.1 MB Notification: Performance of SimCode: time 3.086e-06/0.1705, allocations: 4 kB / 0.489 GB, free: 1.711 MB / 366.1 MB Notification: Performance of Templates: time 0.01052/0.181, allocations: 5.204 MB / 0.4941 GB, free: 12.56 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/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_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches