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.001414/0.001414, allocations: 111.7 kB / 17.74 MB, free: 5.32 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.00136/0.00136, allocations: 189.6 kB / 18.67 MB, free: 4.398 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8847/0.8847, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.11 kB / 0.5716 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 80.69 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002302/0.1476, allocations: 1.417 MB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008901/0.1485, allocations: 0.569 MB / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.1486, allocations: 4 kB / 0.6523 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.1488, allocations: 115.8 kB / 0.6524 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.1492, allocations: 159.7 kB / 0.6526 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1494, allocations: 87.77 kB / 0.6527 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1497, allocations: 337.5 kB / 0.653 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1498, allocations: 4 kB / 0.653 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.15, allocations: 169.7 kB / 0.6532 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.1502, allocations: 283.7 kB / 0.6534 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.1503, allocations: 16 kB / 0.6534 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.1505, allocations: 91.92 kB / 0.6535 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006161/0.1511, allocations: 0.6409 MB / 0.6541 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1513, allocations: 380.3 kB / 0.6545 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.1519, allocations: 0.8588 MB / 0.6554 GB, free: 7.941 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.152, allocations: 0 / 0.6554 GB, free: 7.941 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.843e-06/0.152, allocations: 0 / 0.6554 GB, free: 7.941 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.152, allocations: 4 kB / 0.6554 GB, free: 7.938 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.001462/0.1534, allocations: 1.565 MB / 0.6569 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1535, allocations: 12.03 kB / 0.6569 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1537, allocations: 147 kB / 0.657 GB, free: 6.152 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.1559, allocations: 1.753 MB / 0.6587 GB, free: 4.352 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1559, allocations: 4.375 kB / 0.6588 GB, free: 4.348 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1559, allocations: 8.375 kB / 0.6588 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1561, allocations: 97.89 kB / 0.6589 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1561, allocations: 0 / 0.6589 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.1561, allocations: 4 kB / 0.6589 GB, free: 4.234 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1561, allocations: 4 kB / 0.6589 GB, free: 4.23 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.1562, allocations: 47.98 kB / 0.6589 GB, free: 4.184 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.1567, allocations: 0.5851 MB / 0.6595 GB, free: 3.551 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.1568, allocations: 50.58 kB / 0.6595 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.1569, allocations: 48.89 kB / 0.6596 GB, free: 3.441 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.1569, allocations: 0 / 0.6596 GB, free: 3.441 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1571, allocations: 144.9 kB / 0.6597 GB, free: 3.281 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1571, allocations: 0 / 0.6597 GB, free: 3.281 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0005066/0.1576, allocations: 409.4 kB / 0.6601 GB, free: 2.867 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.1577, allocations: 81.11 kB / 0.6602 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.1592, allocations: 1.64 MB / 0.6618 GB, free: 1.133 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1592, allocations: 33.7 kB / 0.6618 GB, free: 1.094 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.1597, allocations: 0.6256 MB / 0.6624 GB, free: 476 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1597, allocations: 31.78 kB / 0.6625 GB, free: 444 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.1598, allocations: 49.72 kB / 0.6625 GB, free: 388 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.1599, allocations: 310 kB / 0.6628 GB, free: 72 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.16, allocations: 35.92 kB / 0.6628 GB, free: 36 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.68e-05/0.16, allocations: 32 kB / 0.6629 GB, free: 4 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1602, allocations: 136.2 kB / 0.663 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1602, allocations: 0 / 0.663 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003589/0.1606, allocations: 381.3 kB / 0.6634 GB, free: 15.47 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.1606, allocations: 37.69 kB / 0.6634 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1606, allocations: 0 / 0.6634 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1606, allocations: 0 / 0.6634 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.1607, allocations: 4 kB / 0.6634 GB, free: 15.42 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1607, allocations: 0 / 0.6634 GB, free: 15.42 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1608, allocations: 8 kB / 0.6634 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.1609, allocations: 59.98 kB / 0.6635 GB, free: 15.36 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.0004184/0.1613, allocations: 456.1 kB / 0.6639 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1615, allocations: 158 kB / 0.664 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.1616, allocations: 166.8 kB / 0.6642 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1616, allocations: 4 kB / 0.6642 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1616, allocations: 0 / 0.6642 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1616, allocations: 0 / 0.6642 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.1621, allocations: 0.6204 MB / 0.6648 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1621, allocations: 3.938 kB / 0.6648 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.1621, allocations: 7.938 kB / 0.6648 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1621, allocations: 4 kB / 0.6648 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1622, allocations: 20 kB / 0.6648 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1622, allocations: 3.938 kB / 0.6649 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1622, allocations: 3.938 kB / 0.6649 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.1626, allocations: 425.5 kB / 0.6653 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.1628, allocations: 215.2 kB / 0.6655 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.1629, allocations: 8 kB / 0.6655 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.163, allocations: 4.188 kB / 0.6655 GB, free: 13.17 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.163, allocations: 8 kB / 0.6655 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.1631, allocations: 67.98 kB / 0.6656 GB, free: 13.1 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001112/0.1642, allocations: 1.147 MB / 0.6667 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 0 / 0.6667 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002885/0.1645, allocations: 68 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.0001782/0.1647, allocations: 135.7 kB / 0.6669 GB, free: 11.75 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.165, allocations: 175.3 kB / 0.667 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.165, allocations: 0 / 0.667 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1651, allocations: 131.4 kB / 0.6672 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.000399/0.1655, allocations: 121.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.002276/0.1678, allocations: 2.18 MB / 0.6694 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.1685, allocations: 1.188 MB / 0.6706 GB, free: 7.883 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.1686, allocations: 71.44 kB / 0.6706 GB, free: 7.812 MB / 0.5139 GB Notification: Performance of SimCode: time 2.31e-07/0.1686, allocations: 0 / 0.6706 GB, free: 7.812 MB / 0.5139 GB Notification: Performance of Templates: time 0.02911/0.1977, allocations: 18.78 MB / 0.689 GB, free: 4.957 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