Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 188.9 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.275/1.275, allocations: 222.9 MB / 240.9 MB, free: 10.97 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.0009881/0.0009881, allocations: 106.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8094/0.8094, allocations: 119.3 MB / 460.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009713/0.0009714, allocations: 47.92 kB / 0.5391 GB, free: 43.22 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1394, 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_250): time 0.002439/0.1419, allocations: 1.485 MB / 0.6194 GB, free: 11.21 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.1428, allocations: 0.5845 MB / 0.6199 GB, free: 10.62 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.1429, allocations: 0 / 0.6199 GB, free: 10.62 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1431, allocations: 231.7 kB / 0.6201 GB, free: 10.4 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.1435, allocations: 263.6 kB / 0.6204 GB, free: 10.14 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1437, allocations: 63.86 kB / 0.6205 GB, free: 10.08 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.1441, allocations: 0.5813 MB / 0.621 GB, free: 9.496 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.1442, allocations: 7.984 kB / 0.621 GB, free: 9.488 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.1444, allocations: 303.5 kB / 0.6213 GB, free: 9.191 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.1448, allocations: 0.4994 MB / 0.6218 GB, free: 8.691 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.428e-05/0.1449, allocations: 36 kB / 0.6218 GB, free: 8.656 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1451, allocations: 107.9 kB / 0.622 GB, free: 8.551 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.1461, allocations: 1.251 MB / 0.6232 GB, free: 7.297 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004659/0.1466, allocations: 0.7273 MB / 0.6239 GB, free: 6.562 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0009853/0.1476, allocations: 1.562 MB / 0.6254 GB, free: 4.992 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1476, allocations: 0 / 0.6254 GB, free: 4.992 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1476, allocations: 0 / 0.6254 GB, free: 4.992 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1476, allocations: 0 / 0.6254 GB, free: 4.992 MB / 442.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.002627/0.1503, allocations: 2.77 MB / 0.6281 GB, free: 2.148 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1503, allocations: 8.031 kB / 0.6281 GB, free: 2.141 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.1506, allocations: 285.2 kB / 0.6284 GB, free: 1.859 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004251/0.1548, allocations: 3.322 MB / 0.6316 GB, free: 14.48 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1548, allocations: 4.375 kB / 0.6316 GB, free: 14.48 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.1549, allocations: 12.36 kB / 0.6317 GB, free: 14.46 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1551, allocations: 153.8 kB / 0.6318 GB, free: 14.31 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.1551, allocations: 0 / 0.6318 GB, free: 14.31 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.1551, allocations: 8 kB / 0.6318 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1551, allocations: 0 / 0.6318 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1553, allocations: 75.98 kB / 0.6319 GB, free: 14.23 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000805/0.1561, allocations: 1.007 MB / 0.6329 GB, free: 13.18 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1562, allocations: 74.58 kB / 0.6329 GB, free: 13.09 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.319e-05/0.1563, allocations: 56.89 kB / 0.633 GB, free: 13.04 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.1563, allocations: 0 / 0.633 GB, free: 13.04 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.1566, allocations: 188.9 kB / 0.6332 GB, free: 12.83 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1566, allocations: 0 / 0.6332 GB, free: 12.83 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0006955/0.1573, allocations: 0.6557 MB / 0.6338 GB, free: 12.16 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1573, allocations: 81.11 kB / 0.6339 GB, free: 12.06 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/0.1602, allocations: 3.185 MB / 0.637 GB, free: 8.898 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1603, allocations: 33.7 kB / 0.637 GB, free: 8.859 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008626/0.1612, allocations: 1.236 MB / 0.6382 GB, free: 7.621 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.1612, allocations: 31.73 kB / 0.6383 GB, free: 7.59 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.1613, allocations: 77.66 kB / 0.6383 GB, free: 7.508 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.1614, allocations: 314 kB / 0.6386 GB, free: 7.195 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.1615, allocations: 44 kB / 0.6387 GB, free: 7.152 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.1616, allocations: 47.98 kB / 0.6387 GB, free: 7.105 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.1618, allocations: 168.3 kB / 0.6389 GB, free: 6.926 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1618, allocations: 0 / 0.6389 GB, free: 6.926 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005621/0.1623, allocations: 0.6127 MB / 0.6395 GB, free: 6.297 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.1624, allocations: 33.8 kB / 0.6395 GB, free: 6.258 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1624, allocations: 3.938 kB / 0.6395 GB, free: 6.254 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1624, allocations: 0 / 0.6395 GB, free: 6.254 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.1625, allocations: 7.984 kB / 0.6395 GB, free: 6.246 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1625, allocations: 0 / 0.6395 GB, free: 6.246 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1627, allocations: 15.91 kB / 0.6395 GB, free: 6.23 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.1628, allocations: 112 kB / 0.6397 GB, free: 6.121 MB / 458.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.0006911/0.1635, allocations: 0.753 MB / 0.6404 GB, free: 5.352 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.1637, allocations: 296.2 kB / 0.6407 GB, free: 5.059 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.164, allocations: 333.8 kB / 0.641 GB, free: 4.727 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.164, allocations: 0 / 0.641 GB, free: 4.727 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.164, allocations: 4 kB / 0.641 GB, free: 4.723 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.164, allocations: 0 / 0.641 GB, free: 4.723 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008241/0.1649, allocations: 1.085 MB / 0.6421 GB, free: 3.594 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1649, allocations: 4 kB / 0.6421 GB, free: 3.59 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.1649, allocations: 3.938 kB / 0.6421 GB, free: 3.586 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1649, allocations: 12.06 kB / 0.6421 GB, free: 3.574 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.1649, allocations: 28 kB / 0.6421 GB, free: 3.547 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1649, allocations: 3.938 kB / 0.6421 GB, free: 3.543 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.165, allocations: 0 / 0.6421 GB, free: 3.543 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.1663, allocations: 1.946 MB / 0.644 GB, free: 1.527 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.1667, allocations: 333.2 kB / 0.6443 GB, free: 1.18 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.1668, allocations: 16 kB / 0.6443 GB, free: 1.164 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.167, allocations: 12 kB / 0.6443 GB, free: 1.152 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1671, allocations: 3.984 kB / 0.6444 GB, free: 1.148 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.1671, allocations: 116 kB / 0.6445 GB, free: 1.035 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002207/0.1694, allocations: 2.203 MB / 0.6466 GB, free: 14.85 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1694, allocations: 4 kB / 0.6466 GB, free: 14.84 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0004425/0.1698, allocations: 111.9 kB / 0.6467 GB, free: 14.73 MB / 474.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.0001695/0.17, allocations: 131.1 kB / 0.6468 GB, free: 14.6 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1703, allocations: 215.4 kB / 0.6471 GB, free: 14.38 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1703, allocations: 0 / 0.6471 GB, free: 14.38 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1705, allocations: 147.3 kB / 0.6472 GB, free: 14.22 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.1711, allocations: 227.3 kB / 0.6474 GB, free: 14 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.1759, allocations: 4.836 MB / 0.6521 GB, free: 9.113 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.1771, allocations: 1.691 MB / 0.6538 GB, free: 7.391 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.00132/0.1784, allocations: 0.5806 MB / 0.6544 GB, free: 6.805 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.1785, allocations: 131.4 kB / 0.6545 GB, free: 6.676 MB / 474.8 MB Notification: Performance of SimCode: time 6.61e-07/0.1785, allocations: 0 / 0.6545 GB, free: 6.676 MB / 474.8 MB Notification: Performance of Templates: time 0.03724/0.2158, allocations: 10.67 MB / 0.6649 GB, free: 11.96 MB / 490.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches