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.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.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.001011/0.001011, allocations: 190.9 kB / 16.62 MB, free: 5.148 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.3448/0.3448, allocations: 225.6 MB / 243 MB, free: 3.957 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.0009096/0.0009096, allocations: 104.9 kB / 293.2 MB, free: 11.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3874/0.3874, allocations: 119.5 MB / 462.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008876/0.0008876, allocations: 51.92 kB / 0.5413 GB, free: 10.65 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1053, allocations: 80.69 MB / 0.6201 GB, free: 9.824 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001973/0.1073, allocations: 1.478 MB / 0.6215 GB, free: 8.328 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.1081, allocations: 0.5923 MB / 0.6221 GB, free: 7.73 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.1082, allocations: 0 / 0.6221 GB, free: 7.73 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1084, allocations: 115.8 kB / 0.6222 GB, free: 7.617 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.1086, allocations: 159.7 kB / 0.6224 GB, free: 7.461 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1089, allocations: 71.88 kB / 0.6224 GB, free: 7.391 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.1091, allocations: 329.6 kB / 0.6228 GB, free: 7.066 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/0.1091, allocations: 4 kB / 0.6228 GB, free: 7.062 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1093, allocations: 177.7 kB / 0.6229 GB, free: 6.891 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1095, allocations: 283.6 kB / 0.6232 GB, free: 6.613 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.1096, allocations: 16 kB / 0.6232 GB, free: 6.598 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1097, allocations: 99.84 kB / 0.6233 GB, free: 6.5 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.1102, allocations: 0.6255 MB / 0.6239 GB, free: 5.875 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.1104, allocations: 384.3 kB / 0.6243 GB, free: 5.496 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.1109, allocations: 0.8396 MB / 0.6251 GB, free: 4.652 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1109, allocations: 3.984 kB / 0.6251 GB, free: 4.648 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1109, allocations: 0 / 0.6251 GB, free: 4.648 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1109, allocations: 0 / 0.6251 GB, free: 4.648 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.001233/0.1122, allocations: 1.577 MB / 0.6267 GB, free: 3.008 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.1122, allocations: 8.031 kB / 0.6267 GB, free: 3 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1123, allocations: 147.1 kB / 0.6268 GB, free: 2.855 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.1142, allocations: 1.742 MB / 0.6285 GB, free: 1.066 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1142, allocations: 8.375 kB / 0.6285 GB, free: 1.059 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1142, allocations: 4.75 kB / 0.6285 GB, free: 1.055 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1143, allocations: 109.4 kB / 0.6286 GB, free: 0.9414 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.1144, allocations: 0 / 0.6286 GB, free: 0.9414 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1144, allocations: 4 kB / 0.6286 GB, free: 0.9375 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-06/0.1144, allocations: 0 / 0.6286 GB, free: 0.9375 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.1145, allocations: 55.98 kB / 0.6287 GB, free: 0.8828 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.1149, allocations: 0.5696 MB / 0.6292 GB, free: 272 kB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.115, allocations: 54.56 kB / 0.6293 GB, free: 208 kB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.115, allocations: 44.86 kB / 0.6293 GB, free: 160 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.1151, allocations: 0 / 0.6293 GB, free: 160 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1152, allocations: 149.2 kB / 0.6295 GB, free: 15.99 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1152, allocations: 3.938 kB / 0.6295 GB, free: 15.98 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004296/0.1157, allocations: 405.3 kB / 0.6299 GB, free: 15.58 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1157, allocations: 81.11 kB / 0.6299 GB, free: 15.48 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.117, allocations: 1.64 MB / 0.6315 GB, free: 13.84 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1171, allocations: 29.7 kB / 0.6316 GB, free: 13.8 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.1175, allocations: 0.6295 MB / 0.6322 GB, free: 13.17 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1175, allocations: 19.75 kB / 0.6322 GB, free: 13.15 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.1176, allocations: 49.66 kB / 0.6323 GB, free: 13.1 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.1176, allocations: 322 kB / 0.6326 GB, free: 12.78 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.1177, allocations: 28 kB / 0.6326 GB, free: 12.75 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.523e-05/0.1177, allocations: 39.98 kB / 0.6326 GB, free: 12.71 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1179, allocations: 128.2 kB / 0.6327 GB, free: 12.57 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1179, allocations: 0 / 0.6327 GB, free: 12.57 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003224/0.1182, allocations: 377.3 kB / 0.6331 GB, free: 12.19 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1182, allocations: 38.95 kB / 0.6331 GB, free: 12.14 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1182, allocations: 3.984 kB / 0.6331 GB, free: 12.14 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1183, allocations: 0 / 0.6331 GB, free: 12.14 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.1183, allocations: 8 kB / 0.6332 GB, free: 12.13 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1183, allocations: 4 kB / 0.6332 GB, free: 12.13 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1184, allocations: 7.906 kB / 0.6332 GB, free: 12.12 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.1185, allocations: 63.94 kB / 0.6332 GB, free: 12.06 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.0003369/0.1188, allocations: 453.8 kB / 0.6337 GB, free: 11.6 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.1189, allocations: 154 kB / 0.6338 GB, free: 11.45 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.119, allocations: 170.8 kB / 0.634 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1191, allocations: 96 / 0.634 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1191, allocations: 3.938 kB / 0.634 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1191, allocations: 4 kB / 0.634 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.1195, allocations: 0.6243 MB / 0.6346 GB, free: 10.59 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1195, allocations: 0 / 0.6346 GB, free: 10.59 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.1195, allocations: 7.922 kB / 0.6346 GB, free: 10.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1195, allocations: 7.938 kB / 0.6346 GB, free: 10.58 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1195, allocations: 16 kB / 0.6346 GB, free: 10.56 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1196, allocations: 0 / 0.6346 GB, free: 10.56 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1196, allocations: 0 / 0.6346 GB, free: 10.56 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.1199, allocations: 433.6 kB / 0.635 GB, free: 10.11 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.1201, allocations: 219.1 kB / 0.6352 GB, free: 9.879 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.1202, allocations: 4 kB / 0.6352 GB, free: 9.875 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.1203, allocations: 8 kB / 0.6353 GB, free: 9.867 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.1203, allocations: 3.984 kB / 0.6353 GB, free: 9.863 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.1203, allocations: 60 kB / 0.6353 GB, free: 9.805 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0009722/0.1213, allocations: 1.147 MB / 0.6364 GB, free: 8.668 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1213, allocations: 0 / 0.6364 GB, free: 8.668 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002266/0.1215, allocations: 64 kB / 0.6365 GB, free: 8.605 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.0001379/0.1217, allocations: 134.5 kB / 0.6366 GB, free: 8.469 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1219, allocations: 175.3 kB / 0.6368 GB, free: 8.285 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1219, allocations: 4 kB / 0.6368 GB, free: 8.281 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.122, allocations: 135.4 kB / 0.6369 GB, free: 8.137 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1223, allocations: 121.8 kB / 0.637 GB, free: 8.02 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1243, allocations: 2.378 MB / 0.6394 GB, free: 5.609 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.1249, allocations: 1.18 MB / 0.6405 GB, free: 4.398 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0005896/0.1255, allocations: 301.7 kB / 0.6408 GB, free: 4.098 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.1255, allocations: 71.44 kB / 0.6409 GB, free: 4.027 MB / 458.8 MB Notification: Performance of SimCode: time 2.41e-07/0.1255, allocations: 0 / 0.6409 GB, free: 4.027 MB / 458.8 MB Notification: Performance of Templates: time 0.3204/0.446, allocations: 5.821 MB / 0.6466 GB, free: 30.84 MB / 458.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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