Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009955/0.0009956, allocations: 96.58 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.7 MB / 246.8 MB, free: 9.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 12 kB / 419.5 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1598, allocations: 63.56 MB / 483.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002085/0.1619, allocations: 1.407 MB / 484.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1637, allocations: 0.9668 MB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.1639, allocations: 0 / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1642, allocations: 71.8 kB / 485.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1646, allocations: 83.73 kB / 485.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1648, allocations: 59.88 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.165, allocations: 103.6 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.1651, allocations: 8.219 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1652, allocations: 39.8 kB / 485.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1654, allocations: 47.81 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1654, allocations: 0 / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1655, allocations: 32 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.1656, allocations: 23.86 kB / 485.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.1657, allocations: 65.42 kB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1658, allocations: 95.92 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1658, allocations: 0 / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1659, allocations: 0 / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1659, allocations: 0 / 486.1 MB, free: 1.082 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.0005739/0.1664, allocations: 393.7 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1665, allocations: 8.875 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1665, allocations: 16.75 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1668, allocations: 208.8 kB / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1668, allocations: 384 / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1668, allocations: 16 kB / 486.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.167, allocations: 45.67 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.167, allocations: 3.938 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.167, allocations: 0 / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.167, allocations: 4 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.929e-05/0.1671, allocations: 19.97 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.1673, allocations: 181.7 kB / 487 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1675, allocations: 58.55 kB / 487 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/0.1676, allocations: 20.84 kB / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1676, allocations: 0 / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1678, allocations: 67.34 kB / 487.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1678, allocations: 0 / 487.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002744/0.1681, allocations: 97.47 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1681, allocations: 55.34 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1683, allocations: 194.9 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1683, allocations: 25.7 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.1684, allocations: 96.14 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1684, allocations: 19.88 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.1685, allocations: 9.719 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1687, allocations: 330.8 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.1687, allocations: 12 kB / 487.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.1688, allocations: 29.7 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.969e-05/0.1689, allocations: 41.7 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1689, allocations: 0 / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001797/0.1691, allocations: 97.66 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1691, allocations: 4 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1691, allocations: 0 / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1692, allocations: 0 / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.1693, allocations: 15.98 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1693, allocations: 3.938 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.1693, allocations: 4 kB / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1693, allocations: 4 kB / 488.1 MB, free: 14.81 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 9.752e-05/0.1694, allocations: 125.8 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.1695, allocations: 11.91 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.1695, allocations: 17 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1695, allocations: 0 / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1695, allocations: 3.938 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1695, allocations: 3.984 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1697, allocations: 193.4 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1697, allocations: 0 / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.1697, allocations: 4 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1698, allocations: 0 / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1698, allocations: 3.984 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1698, allocations: 0 / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1698, allocations: 11.94 kB / 488.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.17, allocations: 108.9 kB / 488.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.1701, allocations: 89 kB / 488.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1701, allocations: 0 / 488.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.1701, allocations: 0 / 488.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1702, allocations: 11.98 kB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1702, allocations: 4 kB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1704, allocations: 152.7 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1704, allocations: 0 / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.1706, allocations: 20 kB / 488.9 MB, free: 13.97 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.0009696/0.1716, allocations: 412.9 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1717, allocations: 43.92 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1718, allocations: 0 / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.1718, allocations: 19.98 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1721, allocations: 35.97 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.1725, allocations: 221.1 kB / 489.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1728, allocations: 0.7043 MB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.831e-05/0.1729, allocations: 16.41 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.1729, allocations: 11.44 kB / 490.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1729, allocations: 0 / 490.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of Templates: time 0.004653/0.1776, allocations: 1.428 MB / 491.8 MB, free: 11.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches