Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 103.8 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7577/0.7577, allocations: 119.3 MB / 460.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009635/0.0009637, allocations: 55.3 kB / 0.5391 GB, free: 43.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1309, allocations: 80.69 MB / 0.6179 GB, free: 12.71 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002673/0.1336, allocations: 1.47 MB / 0.6194 GB, free: 11.23 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1348, allocations: 0.5884 MB / 0.6199 GB, free: 10.63 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.1348, allocations: 0 / 0.6199 GB, free: 10.63 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1352, allocations: 447.1 kB / 0.6204 GB, free: 10.2 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.1357, allocations: 483 kB / 0.6208 GB, free: 9.723 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1359, allocations: 63.88 kB / 0.6209 GB, free: 9.66 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007945/0.1367, allocations: 1.112 MB / 0.622 GB, free: 8.547 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1368, allocations: 7.984 kB / 0.622 GB, free: 8.539 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005958/0.1374, allocations: 0.5615 MB / 0.6225 GB, free: 7.977 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007872/0.1382, allocations: 0.971 MB / 0.6235 GB, free: 7.004 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.1383, allocations: 64 kB / 0.6235 GB, free: 6.941 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.1386, allocations: 135.9 kB / 0.6237 GB, free: 6.809 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001882/0.1405, allocations: 2.501 MB / 0.6261 GB, free: 4.301 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008838/0.1413, allocations: 1.416 MB / 0.6275 GB, free: 2.871 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.1431, allocations: 3.046 MB / 0.6305 GB, free: 15.8 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1431, allocations: 4 kB / 0.6305 GB, free: 15.8 MB / 458.8 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1432, allocations: 0 / 0.6305 GB, free: 15.8 MB / 458.8 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.1432, allocations: 0 / 0.6305 GB, free: 15.8 MB / 458.8 MB 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.004813/0.148, allocations: 5.173 MB / 0.6355 GB, free: 10.54 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1481, allocations: 12.03 kB / 0.6355 GB, free: 10.52 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.1485, allocations: 0.5522 MB / 0.6361 GB, free: 9.965 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008767/0.1573, allocations: 6.523 MB / 0.6424 GB, free: 3.359 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1574, allocations: 4.375 kB / 0.6424 GB, free: 3.355 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.1574, allocations: 16.38 kB / 0.6425 GB, free: 3.34 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.1577, allocations: 245.8 kB / 0.6427 GB, free: 3.094 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1577, allocations: 0 / 0.6427 GB, free: 3.094 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.1578, allocations: 16 kB / 0.6427 GB, free: 3.078 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1578, allocations: 7.938 kB / 0.6427 GB, free: 3.07 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.158, allocations: 132 kB / 0.6428 GB, free: 2.941 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.1598, allocations: 1.862 MB / 0.6447 GB, free: 1.031 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.16, allocations: 106.6 kB / 0.6448 GB, free: 0.918 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1601, allocations: 92.83 kB / 0.6448 GB, free: 0.8242 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1601, allocations: 4 kB / 0.6448 GB, free: 0.8203 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003397/0.1605, allocations: 268.8 kB / 0.6451 GB, free: 0.5391 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.1605, allocations: 0 / 0.6451 GB, free: 0.5391 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.00122/0.1617, allocations: 1.16 MB / 0.6462 GB, free: 15.36 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1618, allocations: 81.11 kB / 0.6463 GB, free: 15.26 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006702/0.1685, allocations: 6.279 MB / 0.6524 GB, free: 9.023 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/0.1686, allocations: 45.7 kB / 0.6525 GB, free: 8.973 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.1705, allocations: 2.52 MB / 0.6549 GB, free: 6.449 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.1706, allocations: 27.8 kB / 0.655 GB, free: 6.422 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.1707, allocations: 137.7 kB / 0.6551 GB, free: 6.281 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1709, allocations: 306 kB / 0.6554 GB, free: 5.977 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.171, allocations: 83.92 kB / 0.6555 GB, free: 5.895 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1712, allocations: 76 kB / 0.6556 GB, free: 5.82 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.1715, allocations: 228.4 kB / 0.6558 GB, free: 5.582 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1715, allocations: 0 / 0.6558 GB, free: 5.582 MB / 474.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001505/0.173, allocations: 1.09 MB / 0.6568 GB, free: 4.473 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.1731, allocations: 41.69 kB / 0.6569 GB, free: 4.426 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1731, allocations: 0 / 0.6569 GB, free: 4.426 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1731, allocations: 8 kB / 0.6569 GB, free: 4.418 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.1732, allocations: 4.094 kB / 0.6569 GB, free: 4.414 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1732, allocations: 3.938 kB / 0.6569 GB, free: 4.41 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.1738, allocations: 19.91 kB / 0.6569 GB, free: 4.391 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/0.174, allocations: 228 kB / 0.6571 GB, free: 4.168 MB / 474.8 MB 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.001673/0.1757, allocations: 1.338 MB / 0.6584 GB, free: 2.812 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006835/0.1764, allocations: 0.5746 MB / 0.659 GB, free: 2.23 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/0.1772, allocations: 0.6441 MB / 0.6596 GB, free: 1.578 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1772, allocations: 0 / 0.6596 GB, free: 1.578 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1772, allocations: 4 kB / 0.6596 GB, free: 1.574 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1772, allocations: 0 / 0.6596 GB, free: 1.574 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.1789, allocations: 2.026 MB / 0.6616 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1789, allocations: 0 / 0.6616 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.179, allocations: 11.88 kB / 0.6616 GB, free: 15.49 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.179, allocations: 0 / 0.6616 GB, free: 15.49 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.179, allocations: 51.98 kB / 0.6617 GB, free: 15.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.179, allocations: 4 kB / 0.6617 GB, free: 15.43 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1791, allocations: 0 / 0.6617 GB, free: 15.43 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.1814, allocations: 3.147 MB / 0.6647 GB, free: 12.21 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000883/0.1823, allocations: 0.564 MB / 0.6653 GB, free: 11.62 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.1826, allocations: 16 kB / 0.6653 GB, free: 11.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.183, allocations: 24 kB / 0.6653 GB, free: 11.58 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.183, allocations: 3.984 kB / 0.6653 GB, free: 11.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.1832, allocations: 227.9 kB / 0.6656 GB, free: 11.35 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004717/0.1879, allocations: 4.324 MB / 0.6698 GB, free: 7.066 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1879, allocations: 4 kB / 0.6698 GB, free: 7.062 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0006131/0.1885, allocations: 187.9 kB / 0.67 GB, free: 6.879 MB / 490.8 MB 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.000224/0.1887, allocations: 142 kB / 0.6701 GB, free: 6.734 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.1892, allocations: 283.3 kB / 0.6704 GB, free: 6.445 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1892, allocations: 0 / 0.6704 GB, free: 6.445 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.1894, allocations: 187.4 kB / 0.6705 GB, free: 6.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.1905, allocations: 437.2 kB / 0.671 GB, free: 5.82 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.2013, allocations: 9.603 MB / 0.6803 GB, free: 12.17 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/0.2037, allocations: 2.725 MB / 0.683 GB, free: 9.418 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002828/0.2065, allocations: 1.133 MB / 0.6841 GB, free: 8.277 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.2068, allocations: 263.4 kB / 0.6844 GB, free: 8.02 MB / 0.4949 GB Notification: Performance of SimCode: time 5.91e-07/0.2069, allocations: 0 / 0.6844 GB, free: 8.02 MB / 0.4949 GB Notification: Performance of Templates: time 0.5124/0.7192, allocations: 20.66 MB / 0.7045 GB, free: 72.53 MB / 0.495 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches