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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001025/0.001025, allocations: 105.3 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7087/0.7087, allocations: 119.3 MB / 460.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009924/0.0009927, allocations: 51.92 kB / 0.5391 GB, free: 43.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1352, allocations: 80.69 MB / 0.6179 GB, free: 12.7 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002614/0.1378, allocations: 1.466 MB / 0.6193 GB, free: 11.22 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1389, allocations: 0.5922 MB / 0.6199 GB, free: 10.62 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.139, allocations: 4 kB / 0.6199 GB, free: 10.62 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.1393, allocations: 115.8 kB / 0.62 GB, free: 10.5 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.1396, allocations: 155.7 kB / 0.6202 GB, free: 10.35 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1398, allocations: 63.88 kB / 0.6202 GB, free: 10.29 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.1401, allocations: 337.5 kB / 0.6206 GB, free: 9.957 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.1402, allocations: 0 / 0.6206 GB, free: 9.957 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.1404, allocations: 165.7 kB / 0.6207 GB, free: 9.797 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1407, allocations: 275.6 kB / 0.621 GB, free: 9.527 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.1408, allocations: 16 kB / 0.621 GB, free: 9.512 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1409, allocations: 87.94 kB / 0.6211 GB, free: 9.426 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005895/0.1415, allocations: 0.6254 MB / 0.6217 GB, free: 8.801 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.1418, allocations: 376.3 kB / 0.6221 GB, free: 8.43 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007654/0.1426, allocations: 0.8278 MB / 0.6229 GB, free: 7.598 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.1426, allocations: 8 kB / 0.6229 GB, free: 7.59 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1426, allocations: 0 / 0.6229 GB, free: 7.59 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1426, allocations: 0 / 0.6229 GB, free: 7.59 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.001911/0.1446, allocations: 1.569 MB / 0.6244 GB, free: 5.957 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1446, allocations: 12.03 kB / 0.6244 GB, free: 5.945 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.1448, allocations: 147.1 kB / 0.6246 GB, free: 5.801 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.1473, allocations: 1.753 MB / 0.6263 GB, free: 4 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1473, allocations: 384 / 0.6263 GB, free: 4 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.1473, allocations: 8.375 kB / 0.6263 GB, free: 3.992 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1475, allocations: 101.9 kB / 0.6264 GB, free: 3.887 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1475, allocations: 0 / 0.6264 GB, free: 3.887 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1476, allocations: 4 kB / 0.6264 GB, free: 3.883 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1476, allocations: 0 / 0.6264 GB, free: 3.883 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1477, allocations: 59.91 kB / 0.6264 GB, free: 3.824 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.1483, allocations: 0.5774 MB / 0.627 GB, free: 3.199 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1484, allocations: 46.58 kB / 0.627 GB, free: 3.145 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.1485, allocations: 49.05 kB / 0.6271 GB, free: 3.094 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.1485, allocations: 4 kB / 0.6271 GB, free: 3.09 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1487, allocations: 148.9 kB / 0.6272 GB, free: 2.926 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.1487, allocations: 0 / 0.6272 GB, free: 2.926 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005492/0.1493, allocations: 405.4 kB / 0.6276 GB, free: 2.516 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.1494, allocations: 81.11 kB / 0.6277 GB, free: 2.418 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.1511, allocations: 1.632 MB / 0.6293 GB, free: 0.7891 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1511, allocations: 29.7 kB / 0.6293 GB, free: 0.7539 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.1516, allocations: 0.6334 MB / 0.6299 GB, free: 120 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.1516, allocations: 23.73 kB / 0.63 GB, free: 96 kB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.1517, allocations: 49.72 kB / 0.63 GB, free: 40 kB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1518, allocations: 310 kB / 0.6303 GB, free: 15.73 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.1519, allocations: 31.98 kB / 0.6303 GB, free: 15.7 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.1519, allocations: 39.88 kB / 0.6304 GB, free: 15.66 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1521, allocations: 132.2 kB / 0.6305 GB, free: 15.52 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1521, allocations: 0 / 0.6305 GB, free: 15.52 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003825/0.1525, allocations: 389.3 kB / 0.6309 GB, free: 15.12 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.1525, allocations: 33.7 kB / 0.6309 GB, free: 15.08 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1525, allocations: 0 / 0.6309 GB, free: 15.08 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1526, allocations: 0 / 0.6309 GB, free: 15.08 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.1526, allocations: 4 kB / 0.6309 GB, free: 15.08 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1526, allocations: 0 / 0.6309 GB, free: 15.08 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.1528, allocations: 15.89 kB / 0.6309 GB, free: 15.06 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.1528, allocations: 59.94 kB / 0.631 GB, free: 15 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.000458/0.1533, allocations: 455.2 kB / 0.6314 GB, free: 14.54 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.1534, allocations: 158.1 kB / 0.6316 GB, free: 14.39 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.1536, allocations: 166.8 kB / 0.6317 GB, free: 14.21 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1536, allocations: 4 kB / 0.6317 GB, free: 14.21 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1536, allocations: 0 / 0.6317 GB, free: 14.21 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1537, allocations: 0 / 0.6317 GB, free: 14.21 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.1542, allocations: 0.6242 MB / 0.6323 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1542, allocations: 0 / 0.6323 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.1542, allocations: 7.938 kB / 0.6323 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1542, allocations: 0 / 0.6323 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.1543, allocations: 20 kB / 0.6324 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1543, allocations: 0 / 0.6324 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1543, allocations: 11.98 kB / 0.6324 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.1552, allocations: 1.338 MB / 0.6337 GB, free: 12.09 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.1555, allocations: 211.1 kB / 0.6339 GB, free: 11.87 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.1556, allocations: 8 kB / 0.6339 GB, free: 11.86 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1557, allocations: 8.094 kB / 0.6339 GB, free: 11.85 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1557, allocations: 11.88 kB / 0.6339 GB, free: 11.84 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.1558, allocations: 67.98 kB / 0.634 GB, free: 11.77 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001181/0.157, allocations: 1.139 MB / 0.6351 GB, free: 10.64 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.157, allocations: 0 / 0.6351 GB, free: 10.64 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0003858/0.1574, allocations: 71.94 kB / 0.6352 GB, free: 10.57 MB / 458.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.000166/0.1576, allocations: 134.2 kB / 0.6353 GB, free: 10.44 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1578, allocations: 171.4 kB / 0.6354 GB, free: 10.26 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1578, allocations: 0 / 0.6354 GB, free: 10.26 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1579, allocations: 127.4 kB / 0.6356 GB, free: 10.12 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1584, allocations: 122.3 kB / 0.6357 GB, free: 10 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.161, allocations: 2.504 MB / 0.6381 GB, free: 7.449 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.1618, allocations: 1.18 MB / 0.6393 GB, free: 6.238 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0007035/0.1625, allocations: 289.5 kB / 0.6396 GB, free: 5.949 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.1626, allocations: 71.44 kB / 0.6396 GB, free: 5.879 MB / 458.8 MB Notification: Performance of SimCode: time 2.4e-07/0.1626, allocations: 0 / 0.6396 GB, free: 5.879 MB / 458.8 MB Notification: Performance of Templates: time 0.01346/0.1761, allocations: 5.727 MB / 0.6452 GB, free: 68 kB / 458.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches