Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2824/0.2824, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002894, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 63.56 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002822/0.1587, allocations: 1.646 MB / 484.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1606, allocations: 1.025 MB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1607, allocations: 7.938 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.161, allocations: 39.83 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1613, allocations: 79.69 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1615, allocations: 83.84 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1618, allocations: 131.6 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1619, allocations: 21.55 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.162, allocations: 59.7 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.1621, allocations: 43.72 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1621, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1622, allocations: 47.92 kB / 486.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.1623, allocations: 27.84 kB / 486.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.1624, allocations: 69.39 kB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.1626, allocations: 143.7 kB / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1626, allocations: 0 / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1626, allocations: 0 / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1626, allocations: 0 / 486.5 MB, free: 0.6992 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006499/0.1633, allocations: 468.6 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1634, allocations: 12.81 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1634, allocations: 12.84 kB / 487 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1637, allocations: 224.8 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1637, allocations: 4.375 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1638, allocations: 12.12 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.164, allocations: 112.2 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1641, allocations: 0 / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1641, allocations: 8 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1641, allocations: 0 / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1642, allocations: 59.89 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.1649, allocations: 0.5203 MB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.1652, allocations: 94.61 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1654, allocations: 40.83 kB / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1654, allocations: 0 / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.1656, allocations: 83.31 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1657, allocations: 4 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004095/0.1661, allocations: 145.5 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.1661, allocations: 55.34 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1663, allocations: 206.1 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.1664, allocations: 33.7 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.1665, allocations: 108 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.1665, allocations: 31.64 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1666, allocations: 17.72 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1667, allocations: 330.8 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.1668, allocations: 35.97 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.1669, allocations: 59.53 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.1671, allocations: 108.2 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1672, allocations: 0 / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002643/0.1674, allocations: 141.3 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1674, allocations: 4.469 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1675, allocations: 4 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1675, allocations: 0 / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1676, allocations: 35.86 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1676, allocations: 0 / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.1677, allocations: 23.91 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1677, allocations: 4 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001048/0.1678, allocations: 128 kB / 489.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.1678, allocations: 15.81 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.1679, allocations: 17.41 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1679, allocations: 7.922 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1679, allocations: 7.938 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1679, allocations: 0 / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1681, allocations: 213.6 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1681, allocations: 0 / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.1682, allocations: 12 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1682, allocations: 7.922 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1682, allocations: 4 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1682, allocations: 3.938 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1682, allocations: 0 / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.1686, allocations: 188.8 kB / 490 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.1687, allocations: 100.9 kB / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.1687, allocations: 0 / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.1688, allocations: 11.94 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1689, allocations: 11.98 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1689, allocations: 0 / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.169, allocations: 148.5 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.169, allocations: 0 / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1693, allocations: 31.98 kB / 490.3 MB, free: 12.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009488/0.1702, allocations: 405.1 kB / 490.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1705, allocations: 83.84 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1705, allocations: 4.25 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1706, allocations: 43.91 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.171, allocations: 27.98 kB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.1715, allocations: 308.3 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.1718, allocations: 0.7126 MB / 491.9 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.059e-05/0.1719, allocations: 21.42 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.172, allocations: 19.42 kB / 492 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.172, allocations: 0 / 492 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Templates: time 0.005258/0.1772, allocations: 1.763 MB / 493.7 MB, free: 9.207 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches