Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009594/0.0009592, allocations: 98.2 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002995, allocations: 8.219 kB / 418.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 63.57 MB / 482.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002497/0.1605, allocations: 1.439 MB / 483.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1627, allocations: 0.9362 MB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1629, allocations: 4 kB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.1633, allocations: 43.81 kB / 484.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1636, allocations: 79.73 kB / 484.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.1639, allocations: 55.88 kB / 485 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1641, allocations: 107.7 kB / 485.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1642, allocations: 23.92 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.1643, allocations: 47.78 kB / 485.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.1644, allocations: 47.77 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1644, allocations: 4 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1645, allocations: 47.98 kB / 485.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.1646, allocations: 23.91 kB / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.1646, allocations: 37.64 kB / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1648, allocations: 124 kB / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1648, allocations: 0 / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1648, allocations: 0 / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1648, allocations: 0 / 485.4 MB, free: 1.469 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006281/0.1655, allocations: 418.8 kB / 485.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1655, allocations: 8.031 kB / 485.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.1656, allocations: 11.81 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1658, allocations: 218.8 kB / 486.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1659, allocations: 8 kB / 486.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1659, allocations: 8 kB / 486.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1661, allocations: 73.59 kB / 486.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1661, allocations: 3.938 kB / 486.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1661, allocations: 0 / 486.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1662, allocations: 0 / 486.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1663, allocations: 43.97 kB / 486.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.1667, allocations: 324.6 kB / 486.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.167, allocations: 86.58 kB / 486.6 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.89e-05/0.1671, allocations: 32.84 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1671, allocations: 0 / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.1673, allocations: 83.31 kB / 486.7 MB, free: 8 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.1673, allocations: 0 / 486.7 MB, free: 8 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009354/0.1683, allocations: 297.1 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1683, allocations: 59.36 kB / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1685, allocations: 194.9 kB / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1685, allocations: 25.7 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.1686, allocations: 104.4 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.1687, allocations: 43.39 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.1687, allocations: 4 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1688, allocations: 334.8 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.1689, allocations: 35.98 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.169, allocations: 60.64 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.478e-05/0.1691, allocations: 36 kB / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1691, allocations: 0 / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000264/0.1694, allocations: 157.4 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1694, allocations: 7.984 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1694, allocations: 4.031 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1694, allocations: 4 kB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.1695, allocations: 20 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1696, allocations: 7.938 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1696, allocations: 7.984 kB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1696, allocations: 8 kB / 488.1 MB, free: 14.57 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000119/0.1697, allocations: 129.8 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1698, allocations: 15.81 kB / 488.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.1698, allocations: 21.53 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1699, allocations: 0 / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1699, allocations: 0 / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.1699, allocations: 7.938 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.1706, allocations: 492.8 kB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1706, allocations: 0 / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.1707, allocations: 23.92 kB / 488.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1707, allocations: 8.062 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1707, allocations: 3.953 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1707, allocations: 4 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1707, allocations: 0 / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.171, allocations: 252.6 kB / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.1711, allocations: 96.91 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1712, allocations: 7.938 kB / 489.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.1712, allocations: 7.953 kB / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.1713, allocations: 19.92 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1713, allocations: 7.938 kB / 489.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1714, allocations: 144.3 kB / 489.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1714, allocations: 0 / 489.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.1717, allocations: 35.98 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00131/0.1731, allocations: 0.4954 MB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1733, allocations: 99.83 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1733, allocations: 0 / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1735, allocations: 47.92 kB / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1738, allocations: 23.98 kB / 490 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.1744, allocations: 307.8 kB / 490.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.1748, allocations: 0.7204 MB / 491 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.371e-05/0.1749, allocations: 29.34 kB / 491.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.1749, allocations: 23.38 kB / 491.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1749, allocations: 0 / 491.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.00539/0.1803, allocations: 2.007 MB / 493.1 MB, free: 9.605 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches