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.001693/0.001693, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002035/0.002035, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 76.47 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1266, allocations: 62.45 MB / 480.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004362/0.131, allocations: 2.355 MB / 483.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1337, allocations: 1.403 MB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1339, allocations: 7.938 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.1345, allocations: 283 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.1352, allocations: 342.6 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.1357, allocations: 207.5 kB / 485.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.1364, allocations: 0.5569 MB / 485.9 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1366, allocations: 53.08 kB / 486 MB, free: 28 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.1369, allocations: 243 kB / 486.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.1372, allocations: 270.9 kB / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.1373, allocations: 20 kB / 486.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1375, allocations: 59.98 kB / 486.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1376, allocations: 107.5 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.1378, allocations: 186.6 kB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.1383, allocations: 410.7 kB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1383, allocations: 0 / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1383, allocations: 4 kB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.1384, allocations: 0 / 487.2 MB, free: 14.75 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.001239/0.1396, allocations: 0.794 MB / 488 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1396, allocations: 8.031 kB / 488 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1398, allocations: 52.28 kB / 488.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.1403, allocations: 419.8 kB / 488.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.1404, allocations: 16.38 kB / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.1404, allocations: 16.03 kB / 488.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.1409, allocations: 213.8 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1409, allocations: 0 / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1409, allocations: 7.984 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1409, allocations: 8 kB / 488.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.1412, allocations: 99.88 kB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1423, allocations: 0.8605 MB / 489.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.143, allocations: 301.1 kB / 490 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1432, allocations: 92.25 kB / 490.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.1433, allocations: 11.98 kB / 490.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005324/0.1438, allocations: 231.3 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.1439, allocations: 0 / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002307/0.1462, allocations: 1.012 MB / 491.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.1463, allocations: 162.2 kB / 491.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/0.1471, allocations: 0.6553 MB / 492.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.1472, allocations: 37.7 kB / 492.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1474, allocations: 240.9 kB / 492.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.1475, allocations: 130.3 kB / 492.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1476, allocations: 66.14 kB / 492.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1478, allocations: 374.8 kB / 493 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.1481, allocations: 100.8 kB / 493.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1484, allocations: 184.9 kB / 493.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.149, allocations: 300.6 kB / 493.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.149, allocations: 4 kB / 493.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007903/0.1498, allocations: 400.7 kB / 494 MB, free: 7.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1498, allocations: 6.5 kB / 494 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1498, allocations: 4 kB / 494 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1499, allocations: 4 kB / 494 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1502, allocations: 83.89 kB / 494 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1502, allocations: 7.938 kB / 494.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1504, allocations: 19.98 kB / 494.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.1504, allocations: 16 kB / 494.1 MB, free: 7.469 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.000252/0.1507, allocations: 212.4 kB / 494.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/0.1508, allocations: 63.19 kB / 494.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.1509, allocations: 72.78 kB / 494.4 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.151, allocations: 4 kB / 494.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.151, allocations: 4 kB / 494.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.151, allocations: 0 / 494.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.1527, allocations: 1.284 MB / 495.7 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1528, allocations: 4.156 kB / 495.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1529, allocations: 47.92 kB / 495.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.1529, allocations: 4 kB / 495.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.1529, allocations: 23.86 kB / 495.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.153, allocations: 4 kB / 495.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.153, allocations: 4 kB / 495.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.1541, allocations: 0.8161 MB / 496.6 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1542, allocations: 128.4 kB / 496.8 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.1543, allocations: 15.94 kB / 496.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.1546, allocations: 23.97 kB / 496.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.1547, allocations: 35.91 kB / 496.8 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.1548, allocations: 23.98 kB / 496.8 MB, free: 4.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006628/0.1554, allocations: 486.7 kB / 497.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1554, allocations: 0 / 497.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005554/0.156, allocations: 87.98 kB / 497.4 MB, free: 4.012 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.001702/0.1577, allocations: 467.9 kB / 497.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.1584, allocations: 315.5 kB / 498.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1584, allocations: 0 / 498.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.1588, allocations: 155.7 kB / 498.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.1598, allocations: 148.3 kB / 498.5 MB, free: 3.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1614, allocations: 0.9602 MB / 499.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.1619, allocations: 0.8668 MB / 0.4886 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.1621, allocations: 55.42 kB / 0.4886 GB, free: 1.141 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1621, allocations: 0 / 0.4886 GB, free: 1.141 MB / 366.1 MB Notification: Performance of Templates: time 0.01061/0.1727, allocations: 6.541 MB / 0.495 GB, free: 10.63 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