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.001129/0.001133, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 75.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1251, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003668/0.1288, allocations: 2.365 MB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.131, allocations: 1.392 MB / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1312, allocations: 7.938 kB / 485.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.1318, allocations: 295 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.1323, allocations: 326.6 kB / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.1328, allocations: 227.5 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.1333, allocations: 0.5492 MB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.1335, allocations: 61 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.1338, allocations: 235 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.1341, allocations: 274.9 kB / 487.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.1342, allocations: 24 kB / 487.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1343, allocations: 63.92 kB / 487.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1344, allocations: 103.6 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.1346, allocations: 182.6 kB / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.135, allocations: 426.3 kB / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1351, allocations: 0 / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1351, allocations: 0 / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1351, allocations: 0 / 487.9 MB, free: 14.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.001076/0.1362, allocations: 0.7901 MB / 488.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1362, allocations: 8.031 kB / 488.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.1363, allocations: 56.28 kB / 488.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.1369, allocations: 419.8 kB / 489.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.137, allocations: 16.36 kB / 489.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.137, allocations: 20.03 kB / 489.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.1374, allocations: 213.8 kB / 489.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.1374, allocations: 3.938 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1374, allocations: 4 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1375, allocations: 4 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.1377, allocations: 95.86 kB / 489.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.1386, allocations: 0.8644 MB / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.1392, allocations: 293.2 kB / 490.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.1394, allocations: 92.27 kB / 490.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.1394, allocations: 15.97 kB / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.1398, allocations: 223.4 kB / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.366e-06/0.1398, allocations: 0 / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001911/0.1418, allocations: 1.016 MB / 492 MB, free: 9.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.1419, allocations: 162.2 kB / 492.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.1425, allocations: 0.6514 MB / 492.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1426, allocations: 37.7 kB / 492.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1427, allocations: 244.9 kB / 493.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.1428, allocations: 122.3 kB / 493.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.1429, allocations: 82.12 kB / 493.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1431, allocations: 370.8 kB / 493.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.1433, allocations: 96.83 kB / 493.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.1436, allocations: 188.8 kB / 494 MB, free: 7.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.1441, allocations: 292.5 kB / 494.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1441, allocations: 0 / 494.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006445/0.1447, allocations: 408.6 kB / 494.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1447, allocations: 4 kB / 494.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1448, allocations: 4 kB / 494.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1448, allocations: 4.156 kB / 494.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.1451, allocations: 84.22 kB / 494.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1451, allocations: 7.984 kB / 494.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1453, allocations: 23.98 kB / 494.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.1453, allocations: 23.94 kB / 494.8 MB, free: 6.73 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.0002112/0.1455, allocations: 208.2 kB / 495 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.1456, allocations: 63.19 kB / 495.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.1458, allocations: 68.41 kB / 495.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1458, allocations: 8 kB / 495.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1458, allocations: 0 / 495.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1458, allocations: 7.984 kB / 495.2 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.1473, allocations: 1.281 MB / 496.4 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1473, allocations: 0 / 496.4 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1474, allocations: 51.91 kB / 496.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1475, allocations: 4 kB / 496.5 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.1475, allocations: 23.92 kB / 496.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1475, allocations: 7.938 kB / 496.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1475, allocations: 0 / 496.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008566/0.1484, allocations: 0.8166 MB / 497.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.1485, allocations: 124.3 kB / 497.5 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.1485, allocations: 23.92 kB / 497.5 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.1489, allocations: 15.98 kB / 497.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.1489, allocations: 31.95 kB / 497.5 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.149, allocations: 20 kB / 497.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004944/0.1495, allocations: 498.8 kB / 498 MB, free: 3.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1495, allocations: 3.938 kB / 498 MB, free: 3.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.15, allocations: 80 kB / 498.1 MB, free: 3.277 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.001143/0.1512, allocations: 476.3 kB / 498.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.1518, allocations: 288.2 kB / 498.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1518, allocations: 0 / 498.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.1521, allocations: 160.7 kB / 499 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009933/0.1531, allocations: 151.9 kB / 499.2 MB, free: 2.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1544, allocations: 0.8961 MB / 0.4883 GB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.1549, allocations: 0.8596 MB / 0.4892 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.1551, allocations: 84.12 kB / 0.4893 GB, free: 480 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1552, allocations: 55.41 kB / 0.4893 GB, free: 424 kB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1552, allocations: 0 / 0.4893 GB, free: 424 kB / 366.1 MB Notification: Performance of Templates: time 0.01086/0.1661, allocations: 5.743 MB / 0.4949 GB, free: 10.73 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 -s cvode -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