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.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-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.0009712/0.0009713, allocations: 189.7 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3468/0.3468, allocations: 225.7 MB / 243 MB, free: 4.141 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.0009261/0.0009262, allocations: 111.6 kB / 293.3 MB, free: 10.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3971/0.3971, allocations: 119.5 MB / 462.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 0.5413 GB, free: 10.61 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 80.7 MB / 0.6202 GB, free: 9.781 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001875/0.1098, allocations: 1.443 MB / 0.6216 GB, free: 8.324 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.1106, allocations: 0.5845 MB / 0.6221 GB, free: 7.734 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.1106, allocations: 0 / 0.6221 GB, free: 7.734 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.1108, allocations: 23.91 kB / 0.6222 GB, free: 7.711 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.111, allocations: 59.8 kB / 0.6222 GB, free: 7.652 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1112, allocations: 71.88 kB / 0.6223 GB, free: 7.582 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 8.43e-05/0.1113, allocations: 79.81 kB / 0.6224 GB, free: 7.504 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.1113, allocations: 11.98 kB / 0.6224 GB, free: 7.492 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.1114, allocations: 43.84 kB / 0.6224 GB, free: 7.449 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/0.1115, allocations: 43.84 kB / 0.6225 GB, free: 7.406 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1115, allocations: 4 kB / 0.6225 GB, free: 7.402 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.1116, allocations: 83.91 kB / 0.6225 GB, free: 7.32 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-05/0.1117, allocations: 55.89 kB / 0.6226 GB, free: 7.266 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.1118, allocations: 47.61 kB / 0.6226 GB, free: 7.219 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.112, allocations: 151.7 kB / 0.6228 GB, free: 7.07 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.112, allocations: 0 / 0.6228 GB, free: 7.07 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.114e-06/0.112, allocations: 0 / 0.6228 GB, free: 7.07 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.112, allocations: 3.938 kB / 0.6228 GB, free: 7.066 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.000392/0.1124, allocations: 483.5 kB / 0.6232 GB, free: 6.543 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.558e-05/0.1124, allocations: 8.031 kB / 0.6233 GB, free: 6.535 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1124, allocations: 20.75 kB / 0.6233 GB, free: 6.516 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.1128, allocations: 318.2 kB / 0.6236 GB, free: 6.164 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1128, allocations: 4.375 kB / 0.6236 GB, free: 6.16 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1128, allocations: 4.75 kB / 0.6236 GB, free: 6.156 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.1129, allocations: 53.61 kB / 0.6236 GB, free: 6.098 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-06/0.1129, allocations: 0 / 0.6236 GB, free: 6.098 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1129, allocations: 0 / 0.6236 GB, free: 6.098 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1129, allocations: 4 kB / 0.6236 GB, free: 6.094 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.113, allocations: 27.92 kB / 0.6237 GB, free: 6.066 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.1131, allocations: 205.5 kB / 0.6239 GB, free: 5.816 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.1132, allocations: 42.58 kB / 0.6239 GB, free: 5.766 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.1132, allocations: 32.83 kB / 0.6239 GB, free: 5.73 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.1132, allocations: 0 / 0.6239 GB, free: 5.73 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.1134, allocations: 101 kB / 0.624 GB, free: 5.613 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1134, allocations: 0 / 0.624 GB, free: 5.613 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002404/0.1136, allocations: 171.1 kB / 0.6242 GB, free: 5.434 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.1137, allocations: 85.11 kB / 0.6243 GB, free: 5.332 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1138, allocations: 228.2 kB / 0.6245 GB, free: 5.105 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1138, allocations: 29.69 kB / 0.6245 GB, free: 5.07 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.1139, allocations: 120.1 kB / 0.6246 GB, free: 4.949 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1139, allocations: 19.72 kB / 0.6247 GB, free: 4.93 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.114, allocations: 17.72 kB / 0.6247 GB, free: 4.906 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.1141, allocations: 334.8 kB / 0.625 GB, free: 4.57 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.1141, allocations: 16 kB / 0.625 GB, free: 4.555 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.1141, allocations: 27.92 kB / 0.625 GB, free: 4.527 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.554e-05/0.1142, allocations: 108.2 kB / 0.6251 GB, free: 4.406 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1142, allocations: 0 / 0.6251 GB, free: 4.406 MB / 442.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000147/0.1144, allocations: 147.1 kB / 0.6253 GB, free: 4.25 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1144, allocations: 37.69 kB / 0.6253 GB, free: 4.207 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.1144, allocations: 0 / 0.6253 GB, free: 4.207 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.1144, allocations: 0 / 0.6253 GB, free: 4.207 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.1145, allocations: 7.938 kB / 0.6253 GB, free: 4.199 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1145, allocations: 0 / 0.6253 GB, free: 4.199 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.1145, allocations: 11.91 kB / 0.6253 GB, free: 4.188 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1145, allocations: 8 kB / 0.6253 GB, free: 4.18 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 9.821e-05/0.1147, allocations: 176 kB / 0.6255 GB, free: 3.992 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.1147, allocations: 19.75 kB / 0.6255 GB, free: 3.973 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.1147, allocations: 21.39 kB / 0.6255 GB, free: 3.945 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1147, allocations: 0 / 0.6255 GB, free: 3.945 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1147, allocations: 0 / 0.6255 GB, free: 3.945 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1147, allocations: 0 / 0.6255 GB, free: 3.945 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1148, allocations: 221.5 kB / 0.6258 GB, free: 3.68 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1149, allocations: 0 / 0.6258 GB, free: 3.68 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.1149, allocations: 11.94 kB / 0.6258 GB, free: 3.668 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1149, allocations: 0 / 0.6258 GB, free: 3.668 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1149, allocations: 7.984 kB / 0.6258 GB, free: 3.66 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1149, allocations: 4 kB / 0.6258 GB, free: 3.656 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1149, allocations: 0 / 0.6258 GB, free: 3.656 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.1151, allocations: 198.6 kB / 0.626 GB, free: 3.438 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1152, allocations: 101 kB / 0.6261 GB, free: 3.32 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1152, allocations: 4.094 kB / 0.6261 GB, free: 3.316 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.1152, allocations: 11.94 kB / 0.6261 GB, free: 3.305 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.1153, allocations: 7.984 kB / 0.6261 GB, free: 3.297 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1153, allocations: 7.984 kB / 0.6261 GB, free: 3.289 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1154, allocations: 174 kB / 0.6263 GB, free: 3.121 MB / 442.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1154, allocations: 0 / 0.6263 GB, free: 3.121 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001801/0.1156, allocations: 39.98 kB / 0.6263 GB, free: 3.082 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.0001191/0.1157, allocations: 121.5 kB / 0.6264 GB, free: 2.957 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1159, allocations: 143.4 kB / 0.6266 GB, free: 2.805 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1159, allocations: 4 kB / 0.6266 GB, free: 2.801 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/0.116, allocations: 111.3 kB / 0.6267 GB, free: 2.68 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.1161, allocations: 20.61 kB / 0.6267 GB, free: 2.656 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.1165, allocations: 327.3 kB / 0.627 GB, free: 2.309 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1167, allocations: 0.724 MB / 0.6277 GB, free: 1.559 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 6.543e-05/0.1168, allocations: 29.59 kB / 0.6277 GB, free: 1.531 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.1168, allocations: 11.44 kB / 0.6277 GB, free: 1.52 MB / 442.8 MB Notification: Performance of SimCode: time 2.31e-07/0.1168, allocations: 0 / 0.6277 GB, free: 1.52 MB / 442.8 MB Notification: Performance of Templates: time 0.004229/0.1211, allocations: 1.443 MB / 0.6292 GB, free: 112 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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