Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, 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.001469/0.001469, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, 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.2557/0.2557, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 81.11 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1599, allocations: 62.47 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003588/0.1635, allocations: 1.685 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1653, allocations: 1.013 MB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.1654, allocations: 3.938 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1657, allocations: 35.83 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.1661, allocations: 107.5 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1663, allocations: 79.66 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1664, allocations: 95.7 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.1665, allocations: 4.234 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.1666, allocations: 39.8 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.1667, allocations: 27.84 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1667, allocations: 4 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.1668, allocations: 35.98 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.1669, allocations: 27.86 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.1669, allocations: 51.59 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1671, allocations: 119.8 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1671, allocations: 0 / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1672, allocations: 0 / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1672, allocations: 0 / 483.4 MB, free: 1.883 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000621/0.1678, allocations: 430.8 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1678, allocations: 8.031 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.1679, allocations: 16.75 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1682, allocations: 224.8 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1682, allocations: 4.375 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1682, allocations: 4.125 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1684, allocations: 57.61 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1684, allocations: 0 / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1684, allocations: 0 / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1684, allocations: 0 / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.1685, allocations: 19.92 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.1688, allocations: 189.7 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.169, allocations: 54.62 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1691, allocations: 24.78 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1691, allocations: 0 / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.1693, allocations: 75.25 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.1693, allocations: 0 / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002769/0.1696, allocations: 97.48 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1697, allocations: 55.41 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.17, allocations: 271 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.17, allocations: 29.7 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.1701, allocations: 112.1 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1701, allocations: 7.844 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.1702, allocations: 17.72 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1704, allocations: 334.8 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.1704, allocations: 16 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.1705, allocations: 25.7 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1706, allocations: 49.95 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1706, allocations: 0 / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001653/0.1708, allocations: 89.38 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1708, allocations: 10.5 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1708, allocations: 4.031 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1708, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.1709, allocations: 8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1709, allocations: 7.984 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.171, allocations: 7.844 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.171, allocations: 4 kB / 485.7 MB, free: 15.44 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 (7): * Single equations (assignments): 7 * 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.0001352/0.1712, allocations: 144.1 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.1712, allocations: 7.906 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.1712, allocations: 20.98 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1712, allocations: 4 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1712, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1713, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1714, allocations: 205.5 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1714, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.1715, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1715, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1715, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1715, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1715, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.1717, allocations: 113 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.1718, allocations: 96.86 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1718, allocations: 11.86 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/0.1718, allocations: 4 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1719, allocations: 128 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1719, allocations: 8 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1721, allocations: 204.4 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1721, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.1723, allocations: 24 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00149/0.1738, allocations: 390.9 kB / 486.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.174, allocations: 51.91 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.174, allocations: 0 / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.966e-05/0.1741, allocations: 16 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1744, allocations: 33.91 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.175, allocations: 262.8 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1754, allocations: 0.7205 MB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.1755, allocations: 20.52 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.1755, allocations: 15.44 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.154e-06/0.1755, allocations: 0 / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Templates: time 0.004752/0.1803, allocations: 1.537 MB / 489.5 MB, free: 11.57 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches