Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001864, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002743/0.002743, allocations: 209.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.687/1.687, allocations: 227.4 MB / 247.1 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.2956/0.2956, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 77 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1569, allocations: 62.45 MB / 480.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.005512/0.1625, allocations: 1.785 MB / 481.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.1651, allocations: 1.006 MB / 483 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1653, allocations: 3.938 kB / 483 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.1657, allocations: 39.89 kB / 483 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.1662, allocations: 79.73 kB / 483.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1666, allocations: 63.83 kB / 483.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.1669, allocations: 111.7 kB / 483.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.167, allocations: 8 kB / 483.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1672, allocations: 39.8 kB / 483.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1673, allocations: 43.7 kB / 483.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1673, allocations: 4 kB / 483.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1675, allocations: 36 kB / 483.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.1675, allocations: 19.92 kB / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.1676, allocations: 39.78 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.1679, allocations: 92.05 kB / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1679, allocations: 0 / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.168, allocations: 3.938 kB / 483.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.168, allocations: 0 / 483.5 MB, free: 2.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007558/0.1687, allocations: 415 kB / 483.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.1688, allocations: 12.03 kB / 483.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.1689, allocations: 16.73 kB / 484 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.1692, allocations: 204.1 kB / 484.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1693, allocations: 384 / 484.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1693, allocations: 16.11 kB / 484.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1695, allocations: 53.67 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1695, allocations: 0 / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1696, allocations: 0 / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1696, allocations: 0 / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1697, allocations: 23.92 kB / 484.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.1702, allocations: 284.8 kB / 484.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.1705, allocations: 58.69 kB / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.1706, allocations: 20.84 kB / 484.6 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1706, allocations: 0 / 484.6 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/0.171, allocations: 75.31 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.294e-06/0.171, allocations: 0 / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008318/0.1718, allocations: 173.2 kB / 484.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.1719, allocations: 51.41 kB / 484.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.1722, allocations: 184 kB / 485.1 MB, free: 496 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1722, allocations: 29.7 kB / 485.1 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.1723, allocations: 100 kB / 485.2 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1724, allocations: 23.73 kB / 485.2 MB, free: 332 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.1724, allocations: 21.72 kB / 485.2 MB, free: 304 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1727, allocations: 330.8 kB / 485.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1728, allocations: 23.98 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1729, allocations: 33.7 kB / 485.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.1731, allocations: 61.72 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1731, allocations: 0 / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003112/0.1734, allocations: 105.5 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1735, allocations: 7.969 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1735, allocations: 4 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1735, allocations: 8.359 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1737, allocations: 15.98 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1737, allocations: 192 / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.1738, allocations: 15.94 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1738, allocations: 3.938 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001322/0.1739, allocations: 121.8 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.174, allocations: 11.91 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.1741, allocations: 21.39 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1741, allocations: 0 / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1741, allocations: 0 / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.1741, allocations: 7.938 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.1748, allocations: 391.2 kB / 486.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1748, allocations: 0 / 486.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.1749, allocations: 11.94 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1749, allocations: 0 / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.1749, allocations: 23.89 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.175, allocations: 0 / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.175, allocations: 0 / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.1753, allocations: 192.3 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1754, allocations: 85.02 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1755, allocations: 7.938 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1756, allocations: 7.984 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.1757, allocations: 8 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1757, allocations: 4 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1759, allocations: 146.7 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1759, allocations: 0 / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004947/0.1764, allocations: 20 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001818/0.1783, allocations: 458.2 kB / 487.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1786, allocations: 63.91 kB / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1786, allocations: 0 / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1787, allocations: 27.92 kB / 487.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.1793, allocations: 36.19 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.1801, allocations: 280.9 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.1806, allocations: 0.708 MB / 488.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.1807, allocations: 15.44 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1807, allocations: 0 / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.005315/0.186, allocations: 1.926 MB / 490.4 MB, free: 11.13 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches