Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001349/0.001349, allocations: 108.1 kB / 17.74 MB, free: 5.359 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.00128/0.00128, allocations: 192.8 kB / 18.67 MB, free: 4.434 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.315/1.315, allocations: 222.9 MB / 242.4 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 0.9483/0.9483, allocations: 119.3 MB / 411.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 65.97 kB / 0.5716 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1528, allocations: 80.7 MB / 0.6504 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002407/0.1553, allocations: 1.417 MB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.1563, allocations: 0.5652 MB / 0.6523 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.1564, allocations: 0 / 0.6523 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1566, allocations: 119.8 kB / 0.6524 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.1569, allocations: 163.7 kB / 0.6526 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1572, allocations: 79.8 kB / 0.6527 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.1575, allocations: 341.5 kB / 0.653 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.1576, allocations: 4 kB / 0.653 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1578, allocations: 173.6 kB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.1581, allocations: 283.7 kB / 0.6534 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.1581, allocations: 20 kB / 0.6534 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1583, allocations: 91.88 kB / 0.6535 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006183/0.1589, allocations: 0.6332 MB / 0.6541 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.1592, allocations: 388.3 kB / 0.6545 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.1599, allocations: 0.8549 MB / 0.6554 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1599, allocations: 0 / 0.6554 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1599, allocations: 0 / 0.6554 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.1599, allocations: 0 / 0.6554 GB, free: 7.93 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.001504/0.1614, allocations: 1.569 MB / 0.6569 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1614, allocations: 12.03 kB / 0.6569 GB, free: 6.285 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.1616, allocations: 147 kB / 0.657 GB, free: 6.141 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.1638, allocations: 1.746 MB / 0.6587 GB, free: 4.348 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1639, allocations: 4.375 kB / 0.6587 GB, free: 4.344 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1639, allocations: 8.375 kB / 0.6588 GB, free: 4.336 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1641, allocations: 101.9 kB / 0.6588 GB, free: 4.23 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1641, allocations: 4 kB / 0.6589 GB, free: 4.227 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1641, allocations: 4 kB / 0.6589 GB, free: 4.223 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1641, allocations: 0 / 0.6589 GB, free: 4.223 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.1642, allocations: 47.98 kB / 0.6589 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.1647, allocations: 0.5773 MB / 0.6595 GB, free: 3.551 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 8.92e-05/0.1648, allocations: 62.56 kB / 0.6595 GB, free: 3.48 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.1649, allocations: 44.8 kB / 0.6596 GB, free: 3.434 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1649, allocations: 3.938 kB / 0.6596 GB, free: 3.43 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1651, allocations: 137 kB / 0.6597 GB, free: 3.277 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.1651, allocations: 0 / 0.6597 GB, free: 3.277 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0005279/0.1656, allocations: 409.6 kB / 0.6601 GB, free: 2.863 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.1657, allocations: 85.05 kB / 0.6602 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.1673, allocations: 1.644 MB / 0.6618 GB, free: 1.121 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1673, allocations: 33.64 kB / 0.6618 GB, free: 1.082 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/0.1678, allocations: 0.6295 MB / 0.6624 GB, free: 460 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1678, allocations: 23.66 kB / 0.6624 GB, free: 436 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.1679, allocations: 45.72 kB / 0.6625 GB, free: 384 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.168, allocations: 314 kB / 0.6628 GB, free: 64 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.1681, allocations: 28 kB / 0.6628 GB, free: 36 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/0.1681, allocations: 35.98 kB / 0.6629 GB, free: 0 / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1683, allocations: 136.4 kB / 0.663 GB, free: 15.85 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1683, allocations: 0 / 0.663 GB, free: 15.85 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003918/0.1687, allocations: 381.3 kB / 0.6633 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.1688, allocations: 37.69 kB / 0.6634 GB, free: 15.42 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1688, allocations: 0 / 0.6634 GB, free: 15.42 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1688, allocations: 0 / 0.6634 GB, free: 15.42 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.1689, allocations: 4 kB / 0.6634 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1689, allocations: 0 / 0.6634 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.169, allocations: 8 kB / 0.6634 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.1691, allocations: 56 kB / 0.6634 GB, free: 15.35 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.0004247/0.1695, allocations: 460.2 kB / 0.6639 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1696, allocations: 165.9 kB / 0.664 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.1698, allocations: 170.8 kB / 0.6642 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1698, allocations: 0 / 0.6642 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1698, allocations: 0 / 0.6642 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1698, allocations: 0 / 0.6642 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.1703, allocations: 0.6204 MB / 0.6648 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1703, allocations: 4 kB / 0.6648 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.1703, allocations: 15.86 kB / 0.6648 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1703, allocations: 0 / 0.6648 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1704, allocations: 20 kB / 0.6649 GB, free: 13.85 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1704, allocations: 0 / 0.6649 GB, free: 13.85 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1704, allocations: 0 / 0.6649 GB, free: 13.85 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.1709, allocations: 433.4 kB / 0.6653 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.1711, allocations: 211.2 kB / 0.6655 GB, free: 13.17 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.1712, allocations: 8 kB / 0.6655 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1713, allocations: 8 kB / 0.6655 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.1713, allocations: 11.98 kB / 0.6655 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.1714, allocations: 60 kB / 0.6655 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001151/0.1725, allocations: 1.139 MB / 0.6667 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1725, allocations: 0 / 0.6667 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002918/0.1728, allocations: 71.98 kB / 0.6667 GB, free: 11.89 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.000189/0.173, allocations: 135.4 kB / 0.6669 GB, free: 11.75 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.1733, allocations: 171.4 kB / 0.667 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1733, allocations: 0 / 0.667 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1734, allocations: 131.4 kB / 0.6671 GB, free: 11.43 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1738, allocations: 122.3 kB / 0.6673 GB, free: 11.31 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.1763, allocations: 2.176 MB / 0.6694 GB, free: 9.094 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.177, allocations: 1.184 MB / 0.6705 GB, free: 7.883 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.1771, allocations: 75.38 kB / 0.6706 GB, free: 7.809 MB / 0.5139 GB Notification: Performance of SimCode: time 2.2e-07/0.1771, allocations: 0 / 0.6706 GB, free: 7.809 MB / 0.5139 GB Notification: Performance of Templates: time 0.03121/0.2083, allocations: 18.64 MB / 0.6888 GB, free: 5.098 MB / 0.5295 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches