Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, 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.342/1.342, 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.001066/0.001066, allocations: 117.8 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.7243/0.7243, allocations: 119.3 MB / 460.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009494/0.0009494, allocations: 51.92 kB / 0.5391 GB, free: 43.12 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1274, allocations: 80.69 MB / 0.6179 GB, free: 12.71 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002416/0.1299, allocations: 1.45 MB / 0.6193 GB, free: 11.25 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.1308, allocations: 0.6 MB / 0.6199 GB, free: 10.64 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.1308, allocations: 0 / 0.6199 GB, free: 10.64 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.131, allocations: 19.92 kB / 0.6199 GB, free: 10.62 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1312, allocations: 51.88 kB / 0.62 GB, free: 10.57 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1314, allocations: 59.88 kB / 0.62 GB, free: 10.51 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1316, allocations: 79.86 kB / 0.6201 GB, free: 10.43 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.1316, allocations: 0 / 0.6201 GB, free: 10.43 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1317, allocations: 51.84 kB / 0.6202 GB, free: 10.38 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1318, allocations: 43.78 kB / 0.6202 GB, free: 10.34 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1319, allocations: 4 kB / 0.6202 GB, free: 10.34 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.132, allocations: 79.91 kB / 0.6203 GB, free: 10.26 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1321, allocations: 47.89 kB / 0.6203 GB, free: 10.21 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.1322, allocations: 55.59 kB / 0.6204 GB, free: 10.16 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1324, allocations: 147.7 kB / 0.6205 GB, free: 10.01 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1324, allocations: 0 / 0.6205 GB, free: 10.01 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1324, allocations: 0 / 0.6205 GB, free: 10.01 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1324, allocations: 0 / 0.6205 GB, free: 10.01 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.0005117/0.1329, allocations: 476.2 kB / 0.621 GB, free: 9.492 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.133, allocations: 12.03 kB / 0.621 GB, free: 9.48 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.133, allocations: 16.75 kB / 0.621 GB, free: 9.465 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.1334, allocations: 308.6 kB / 0.6213 GB, free: 9.121 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1335, allocations: 8.375 kB / 0.6213 GB, free: 9.113 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.1335, allocations: 384 / 0.6213 GB, free: 9.113 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.1336, allocations: 61.98 kB / 0.6214 GB, free: 9.047 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1336, allocations: 0 / 0.6214 GB, free: 9.047 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1336, allocations: 0 / 0.6214 GB, free: 9.047 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1336, allocations: 0 / 0.6214 GB, free: 9.047 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.1337, allocations: 19.98 kB / 0.6214 GB, free: 9.027 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.1339, allocations: 213.5 kB / 0.6216 GB, free: 8.77 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.863e-05/0.134, allocations: 46.45 kB / 0.6216 GB, free: 8.715 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.134, allocations: 32.89 kB / 0.6217 GB, free: 8.68 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.1341, allocations: 4 kB / 0.6217 GB, free: 8.676 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1342, allocations: 101 kB / 0.6218 GB, free: 8.559 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1342, allocations: 0 / 0.6218 GB, free: 8.559 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002841/0.1345, allocations: 167.1 kB / 0.6219 GB, free: 8.383 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1346, allocations: 81.11 kB / 0.622 GB, free: 8.285 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1348, allocations: 232.2 kB / 0.6222 GB, free: 8.051 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1348, allocations: 33.69 kB / 0.6223 GB, free: 8.012 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.1349, allocations: 120.1 kB / 0.6224 GB, free: 7.891 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1349, allocations: 15.72 kB / 0.6224 GB, free: 7.875 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.135, allocations: 21.72 kB / 0.6224 GB, free: 7.848 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1351, allocations: 334.8 kB / 0.6227 GB, free: 7.512 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/0.1351, allocations: 12 kB / 0.6227 GB, free: 7.5 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.1352, allocations: 19.98 kB / 0.6228 GB, free: 7.48 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1353, allocations: 112.2 kB / 0.6229 GB, free: 7.355 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1353, allocations: 3.938 kB / 0.6229 GB, free: 7.352 MB / 442.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001807/0.1355, allocations: 143.1 kB / 0.623 GB, free: 7.199 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.1355, allocations: 37.69 kB / 0.623 GB, free: 7.156 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1355, allocations: 0 / 0.623 GB, free: 7.156 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1356, allocations: 0 / 0.623 GB, free: 7.156 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.1356, allocations: 4 kB / 0.623 GB, free: 7.152 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1356, allocations: 4 kB / 0.623 GB, free: 7.148 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.1357, allocations: 7.906 kB / 0.6231 GB, free: 7.141 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.1357, allocations: 12.09 kB / 0.6231 GB, free: 7.129 MB / 442.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.0001304/0.1358, allocations: 187.6 kB / 0.6232 GB, free: 6.93 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1359, allocations: 27.73 kB / 0.6233 GB, free: 6.902 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.1359, allocations: 21.39 kB / 0.6233 GB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1359, allocations: 0 / 0.6233 GB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1359, allocations: 0 / 0.6233 GB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1359, allocations: 3.938 kB / 0.6233 GB, free: 6.871 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1361, allocations: 213.5 kB / 0.6235 GB, free: 6.613 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1361, allocations: 4 kB / 0.6235 GB, free: 6.609 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.1361, allocations: 3.938 kB / 0.6235 GB, free: 6.605 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1362, allocations: 4 kB / 0.6235 GB, free: 6.602 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1362, allocations: 7.984 kB / 0.6235 GB, free: 6.594 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1362, allocations: 0 / 0.6235 GB, free: 6.594 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1362, allocations: 0 / 0.6235 GB, free: 6.594 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.1367, allocations: 0.7932 MB / 0.6243 GB, free: 5.734 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.1368, allocations: 100.9 kB / 0.6244 GB, free: 5.617 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1368, allocations: 4 kB / 0.6244 GB, free: 5.613 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.1369, allocations: 4 kB / 0.6244 GB, free: 5.609 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.1369, allocations: 11.98 kB / 0.6244 GB, free: 5.598 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.137, allocations: 8 kB / 0.6244 GB, free: 5.59 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1371, allocations: 173.6 kB / 0.6246 GB, free: 5.422 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 0.6246 GB, free: 5.422 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003271/0.1374, allocations: 39.94 kB / 0.6246 GB, free: 5.383 MB / 442.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.0001603/0.1376, allocations: 126.1 kB / 0.6247 GB, free: 5.254 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1378, allocations: 139.3 kB / 0.6249 GB, free: 5.105 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1378, allocations: 4 kB / 0.6249 GB, free: 5.102 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.1379, allocations: 107.4 kB / 0.625 GB, free: 4.984 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1382, allocations: 24.66 kB / 0.625 GB, free: 4.957 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.1387, allocations: 440.1 kB / 0.6254 GB, free: 4.484 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.139, allocations: 0.7243 MB / 0.6261 GB, free: 3.73 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 7.672e-05/0.1391, allocations: 25.62 kB / 0.6262 GB, free: 3.707 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.1391, allocations: 15.44 kB / 0.6262 GB, free: 3.691 MB / 442.8 MB Notification: Performance of SimCode: time 2.9e-07/0.1391, allocations: 0 / 0.6262 GB, free: 3.691 MB / 442.8 MB Notification: Performance of Templates: time 0.003786/0.1429, allocations: 1.357 MB / 0.6275 GB, free: 2.336 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches