Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001207, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 84.34 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1514, allocations: 62.44 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003513/0.1549, allocations: 1.925 MB / 482 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1569, allocations: 1.126 MB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.157, allocations: 0 / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.1575, allocations: 155.5 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.158, allocations: 195.2 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.1583, allocations: 115.6 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.1586, allocations: 239.3 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1588, allocations: 29.67 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1589, allocations: 103.6 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1591, allocations: 139.4 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.1592, allocations: 8 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1593, allocations: 63.98 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.1594, allocations: 51.83 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.1595, allocations: 87.28 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1598, allocations: 219.5 kB / 484.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1598, allocations: 3.984 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1598, allocations: 4 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1598, allocations: 0 / 484.5 MB, free: 0.8242 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006885/0.1605, allocations: 0.5332 MB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1606, allocations: 8.031 kB / 485 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1607, allocations: 28.64 kB / 485 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.161, allocations: 279.4 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.161, allocations: 384 / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1611, allocations: 20.11 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.1613, allocations: 107.4 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1613, allocations: 3.984 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1613, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1613, allocations: 4 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1615, allocations: 47.91 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.162, allocations: 468.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.1624, allocations: 125.2 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.1625, allocations: 41.83 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1625, allocations: 15.88 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.1628, allocations: 113.1 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1628, allocations: 0 / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001258/0.1641, allocations: 493.1 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1641, allocations: 85.05 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.1645, allocations: 375.3 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1645, allocations: 29.7 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.1646, allocations: 144.5 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.1647, allocations: 75.08 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.1648, allocations: 41.7 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1649, allocations: 346.8 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1651, allocations: 55.97 kB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.1652, allocations: 91.41 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.1655, allocations: 159.5 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1655, allocations: 4 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000403/0.1659, allocations: 225.2 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1659, allocations: 10.44 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.1659, allocations: 4 kB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.166, allocations: 3.938 kB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1661, allocations: 47.97 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1661, allocations: 4.062 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.1662, allocations: 11.94 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1662, allocations: 12.06 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001562/0.1664, allocations: 157.8 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.1665, allocations: 35.56 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.1665, allocations: 33.83 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1665, allocations: 4 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.1666, allocations: 3.984 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1666, allocations: 0 / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008723/0.1674, allocations: 0.7233 MB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1675, allocations: 3.938 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.1675, allocations: 35.92 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1676, allocations: 4 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1676, allocations: 4 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1676, allocations: 8.125 kB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1676, allocations: 192 / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.1682, allocations: 433 kB / 489.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.1683, allocations: 96.83 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.1683, allocations: 8 kB / 489.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1685, allocations: 7.984 kB / 489.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.1685, allocations: 23.92 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.1686, allocations: 11.98 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1688, allocations: 273.9 kB / 490.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1688, allocations: 0 / 490.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.1692, allocations: 55.98 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001089/0.1703, allocations: 0.5089 MB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.1706, allocations: 163.8 kB / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1706, allocations: 0 / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1708, allocations: 88.09 kB / 491.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.1714, allocations: 63.08 kB / 491.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/0.1722, allocations: 0.5004 MB / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1725, allocations: 0.7597 MB / 492.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.1727, allocations: 41.91 kB / 492.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.1727, allocations: 35.42 kB / 492.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1727, allocations: 0 / 492.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of Templates: time 0.006189/0.1789, allocations: 3.114 MB / 495.6 MB, free: 5.457 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches