Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.001521, allocations: 111.8 kB / 17.7 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 187.7 kB / 18.64 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.148/1.148, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 65.47 kB / 0.5715 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1561, allocations: 80.69 MB / 0.6503 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002474/0.1587, allocations: 1.413 MB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.1596, allocations: 0.5768 MB / 0.6523 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.1597, allocations: 0 / 0.6523 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.1599, allocations: 115.8 kB / 0.6524 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.1603, allocations: 163.7 kB / 0.6525 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1606, allocations: 87.72 kB / 0.6526 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1609, allocations: 337.6 kB / 0.6529 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.1609, allocations: 4 kB / 0.6529 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1611, allocations: 165.7 kB / 0.6531 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.1614, allocations: 291.6 kB / 0.6534 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.1615, allocations: 20 kB / 0.6534 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1616, allocations: 91.92 kB / 0.6535 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006298/0.1623, allocations: 0.6293 MB / 0.6541 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.1625, allocations: 384.3 kB / 0.6545 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.1632, allocations: 0.8549 MB / 0.6553 GB, free: 7.965 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1632, allocations: 0 / 0.6553 GB, free: 7.965 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1632, allocations: 0 / 0.6553 GB, free: 7.965 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.1633, allocations: 0 / 0.6553 GB, free: 7.965 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001541/0.1648, allocations: 1.569 MB / 0.6568 GB, free: 6.332 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1648, allocations: 12.03 kB / 0.6568 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.165, allocations: 147 kB / 0.657 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.1673, allocations: 1.745 MB / 0.6587 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1673, allocations: 4.312 kB / 0.6587 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1674, allocations: 12.38 kB / 0.6587 GB, free: 4.367 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1675, allocations: 101.9 kB / 0.6588 GB, free: 4.262 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1676, allocations: 3.938 kB / 0.6588 GB, free: 4.258 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.1676, allocations: 8 kB / 0.6588 GB, free: 4.25 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1676, allocations: 11.91 kB / 0.6588 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.1677, allocations: 40 kB / 0.6589 GB, free: 4.199 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.1682, allocations: 0.5851 MB / 0.6594 GB, free: 3.566 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 9.486e-05/0.1683, allocations: 54.58 kB / 0.6595 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.1684, allocations: 48.89 kB / 0.6595 GB, free: 3.453 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1684, allocations: 4 kB / 0.6595 GB, free: 3.449 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.1686, allocations: 136.9 kB / 0.6597 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.1686, allocations: 0 / 0.6597 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0005629/0.1692, allocations: 401.5 kB / 0.66 GB, free: 2.891 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1693, allocations: 81.11 kB / 0.6601 GB, free: 2.793 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.1709, allocations: 1.644 MB / 0.6617 GB, free: 1.152 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1709, allocations: 29.7 kB / 0.6618 GB, free: 1.117 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/0.1714, allocations: 0.6217 MB / 0.6624 GB, free: 0.4922 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.1715, allocations: 31.8 kB / 0.6624 GB, free: 472 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/0.1716, allocations: 49.72 kB / 0.6624 GB, free: 416 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1717, allocations: 310 kB / 0.6627 GB, free: 100 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.1718, allocations: 32 kB / 0.6628 GB, free: 68 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.1719, allocations: 31.94 kB / 0.6628 GB, free: 36 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1721, allocations: 144.3 kB / 0.6629 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1721, allocations: 0 / 0.6629 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004405/0.1725, allocations: 385.3 kB / 0.6633 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.1726, allocations: 33.7 kB / 0.6633 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1726, allocations: 0 / 0.6633 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1726, allocations: 0 / 0.6633 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.1727, allocations: 8 kB / 0.6633 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1727, allocations: 3.984 kB / 0.6634 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.1728, allocations: 8 kB / 0.6634 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.1729, allocations: 56 kB / 0.6634 GB, free: 15.38 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0005082/0.1734, allocations: 452.1 kB / 0.6638 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1735, allocations: 158 kB / 0.664 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.1737, allocations: 178.8 kB / 0.6642 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1737, allocations: 0 / 0.6642 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1737, allocations: 0 / 0.6642 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1737, allocations: 3.984 kB / 0.6642 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.1743, allocations: 0.6165 MB / 0.6648 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1743, allocations: 0 / 0.6648 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.1743, allocations: 7.938 kB / 0.6648 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1743, allocations: 0 / 0.6648 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.1743, allocations: 23.98 kB / 0.6648 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1744, allocations: 0 / 0.6648 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1744, allocations: 0 / 0.6648 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.1748, allocations: 429.4 kB / 0.6652 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.175, allocations: 211.2 kB / 0.6654 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.1751, allocations: 12 kB / 0.6654 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1752, allocations: 8 kB / 0.6654 GB, free: 13.19 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1753, allocations: 0 / 0.6654 GB, free: 13.19 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.1753, allocations: 71.98 kB / 0.6655 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.00125/0.1766, allocations: 1.139 MB / 0.6666 GB, free: 11.99 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1766, allocations: 0 / 0.6666 GB, free: 11.99 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003051/0.1769, allocations: 72 kB / 0.6667 GB, free: 11.92 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002085/0.1771, allocations: 131.7 kB / 0.6668 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.1774, allocations: 179.3 kB / 0.667 GB, free: 11.6 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1774, allocations: 0 / 0.667 GB, free: 11.6 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1776, allocations: 123.4 kB / 0.6671 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.178, allocations: 125.7 kB / 0.6672 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.1805, allocations: 2.18 MB / 0.6693 GB, free: 9.125 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.1813, allocations: 1.184 MB / 0.6705 GB, free: 7.914 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.1814, allocations: 71.44 kB / 0.6706 GB, free: 7.844 MB / 0.5139 GB Notification: Performance of SimCode: time 1.673e-06/0.1814, allocations: 0 / 0.6706 GB, free: 7.844 MB / 0.5139 GB Notification: Performance of Templates: time 0.03242/0.2138, allocations: 18.65 MB / 0.6888 GB, free: 5.125 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches