Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 186.5 kB / 17.27 MB, free: 4.5 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.262/1.262, 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.0009571/0.0009567, allocations: 101.5 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.674/0.674, allocations: 119.3 MB / 460.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009974/0.0009978, allocations: 47.92 kB / 0.5391 GB, free: 43.17 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1273, allocations: 80.7 MB / 0.6179 GB, free: 12.71 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002555/0.1299, allocations: 1.614 MB / 0.6195 GB, free: 11.09 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1312, allocations: 0.877 MB / 0.6203 GB, free: 10.2 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.1313, allocations: 0 / 0.6203 GB, free: 10.2 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1316, allocations: 67.8 kB / 0.6204 GB, free: 10.14 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1319, allocations: 87.78 kB / 0.6205 GB, free: 10.05 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.1321, allocations: 91.77 kB / 0.6206 GB, free: 9.961 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1323, allocations: 123.7 kB / 0.6207 GB, free: 9.84 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1323, allocations: 7.984 kB / 0.6207 GB, free: 9.832 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1324, allocations: 55.72 kB / 0.6208 GB, free: 9.777 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1326, allocations: 59.81 kB / 0.6208 GB, free: 9.719 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1326, allocations: 4 kB / 0.6208 GB, free: 9.715 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.1327, allocations: 31.92 kB / 0.6209 GB, free: 9.684 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1328, allocations: 71.73 kB / 0.6209 GB, free: 9.613 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.1329, allocations: 59.55 kB / 0.621 GB, free: 9.555 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1331, allocations: 147.6 kB / 0.6211 GB, free: 9.41 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1331, allocations: 4 kB / 0.6211 GB, free: 9.406 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1331, allocations: 0 / 0.6211 GB, free: 9.406 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1331, allocations: 0 / 0.6211 GB, free: 9.406 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005575/0.1337, allocations: 490.2 kB / 0.6216 GB, free: 8.879 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1337, allocations: 12.88 kB / 0.6216 GB, free: 8.867 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.1337, allocations: 20.66 kB / 0.6216 GB, free: 8.848 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.1342, allocations: 335.4 kB / 0.6219 GB, free: 8.477 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1342, allocations: 4.359 kB / 0.6219 GB, free: 8.473 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1342, allocations: 8.125 kB / 0.622 GB, free: 8.465 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1343, allocations: 45.69 kB / 0.622 GB, free: 8.414 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1344, allocations: 0 / 0.622 GB, free: 8.414 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1344, allocations: 3.984 kB / 0.622 GB, free: 8.41 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1344, allocations: 7.984 kB / 0.622 GB, free: 8.402 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.1345, allocations: 12 kB / 0.622 GB, free: 8.391 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.1347, allocations: 209.6 kB / 0.6222 GB, free: 8.137 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1348, allocations: 58.55 kB / 0.6223 GB, free: 8.07 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1349, allocations: 24.8 kB / 0.6223 GB, free: 8.043 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1349, allocations: 8 kB / 0.6223 GB, free: 8.035 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1351, allocations: 59.39 kB / 0.6224 GB, free: 7.965 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.1351, allocations: 0 / 0.6224 GB, free: 7.965 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002751/0.1354, allocations: 105.4 kB / 0.6225 GB, free: 7.855 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1354, allocations: 63.41 kB / 0.6225 GB, free: 7.781 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1357, allocations: 274.7 kB / 0.6228 GB, free: 7.504 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1357, allocations: 29.7 kB / 0.6228 GB, free: 7.469 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.1358, allocations: 132.1 kB / 0.6229 GB, free: 7.336 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.1358, allocations: 15.8 kB / 0.623 GB, free: 7.32 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1358, allocations: 21.72 kB / 0.623 GB, free: 7.293 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1359, allocations: 330.8 kB / 0.6233 GB, free: 6.961 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.136, allocations: 12 kB / 0.6233 GB, free: 6.949 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.1361, allocations: 45.62 kB / 0.6233 GB, free: 6.898 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.1362, allocations: 41.64 kB / 0.6234 GB, free: 6.852 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1362, allocations: 0 / 0.6234 GB, free: 6.852 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.1363, allocations: 97.34 kB / 0.6235 GB, free: 6.75 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1364, allocations: 4 kB / 0.6235 GB, free: 6.746 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1364, allocations: 0 / 0.6235 GB, free: 6.746 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1364, allocations: 4 kB / 0.6235 GB, free: 6.742 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.1365, allocations: 19.95 kB / 0.6235 GB, free: 6.723 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1365, allocations: 0 / 0.6235 GB, free: 6.723 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.1365, allocations: 11.88 kB / 0.6235 GB, free: 6.711 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1365, allocations: 0 / 0.6235 GB, free: 6.711 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001138/0.1367, allocations: 153.7 kB / 0.6237 GB, free: 6.551 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1367, allocations: 19.72 kB / 0.6237 GB, free: 6.531 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.1367, allocations: 25.3 kB / 0.6237 GB, free: 6.504 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1368, allocations: 0 / 0.6237 GB, free: 6.504 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1368, allocations: 320 / 0.6237 GB, free: 6.504 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1368, allocations: 4 kB / 0.6237 GB, free: 6.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1369, allocations: 221.5 kB / 0.6239 GB, free: 6.234 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1369, allocations: 0 / 0.6239 GB, free: 6.234 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.137, allocations: 4 kB / 0.6239 GB, free: 6.23 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.137, allocations: 0 / 0.6239 GB, free: 6.23 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.137, allocations: 0 / 0.6239 GB, free: 6.23 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.137, allocations: 0 / 0.6239 GB, free: 6.23 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.137, allocations: 0 / 0.6239 GB, free: 6.23 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.1374, allocations: 0.7211 MB / 0.6246 GB, free: 5.449 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.1375, allocations: 104.8 kB / 0.6247 GB, free: 5.328 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1375, allocations: 0 / 0.6247 GB, free: 5.328 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.1376, allocations: 4 kB / 0.6247 GB, free: 5.324 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1376, allocations: 3.938 kB / 0.6247 GB, free: 5.32 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1376, allocations: 11.92 kB / 0.6247 GB, free: 5.309 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1378, allocations: 201.9 kB / 0.6249 GB, free: 5.109 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1378, allocations: 0 / 0.6249 GB, free: 5.109 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.000308/0.1381, allocations: 24 kB / 0.625 GB, free: 5.086 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008288/0.139, allocations: 414.7 kB / 0.6254 GB, free: 4.836 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1391, allocations: 31.98 kB / 0.6254 GB, free: 4.805 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1392, allocations: 0 / 0.6254 GB, free: 4.805 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.1392, allocations: 23.92 kB / 0.6254 GB, free: 4.781 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1395, allocations: 44.06 kB / 0.6255 GB, free: 4.742 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.14, allocations: 476.7 kB / 0.6259 GB, free: 4.238 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.1403, allocations: 0.7401 MB / 0.6266 GB, free: 3.473 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1404, allocations: 37.52 kB / 0.6267 GB, free: 3.438 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.1405, allocations: 27.42 kB / 0.6267 GB, free: 3.41 MB / 442.8 MB Notification: Performance of SimCode: time 2.41e-07/0.1405, allocations: 0 / 0.6267 GB, free: 3.41 MB / 442.8 MB Notification: Performance of Templates: time 0.004156/0.1446, allocations: 1.661 MB / 0.6283 GB, free: 1.754 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches