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.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009924/0.0009925, allocations: 182.4 kB / 8.136 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 221.4 MB / 229.9 MB, free: 3.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 109.1 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7205/0.7205, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.182e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 82.84 MB / 0.6091 GB, free: 3.578 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.545/0.6597, allocations: 125.9 MB / 0.732 GB, free: 4.215 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001557/0.6599, allocations: 52.3 kB / 0.7321 GB, free: 4.195 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.008207/0.6681, allocations: 2.848 MB / 0.7349 GB, free: 1.949 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.6682, allocations: 3.938 kB / 0.7349 GB, free: 1.945 MB / 0.4953 GB 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.0003224/0.6685, allocations: 452.3 kB / 0.7353 GB, free: 1.465 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6685, allocations: 8.031 kB / 0.7353 GB, free: 1.457 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.6686, allocations: 15.81 kB / 0.7353 GB, free: 1.438 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.669, allocations: 293.4 kB / 0.7356 GB, free: 1.121 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.669, allocations: 0 / 0.7356 GB, free: 1.121 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.669, allocations: 0 / 0.7356 GB, free: 1.121 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.415e-05/0.6691, allocations: 23.77 kB / 0.7356 GB, free: 1.102 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.453e-05/0.6692, allocations: 52.44 kB / 0.7357 GB, free: 1.051 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6692, allocations: 0 / 0.7357 GB, free: 1.051 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6692, allocations: 4 kB / 0.7357 GB, free: 1.047 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.6692, allocations: 0 / 0.7357 GB, free: 1.047 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.6694, allocations: 184.9 kB / 0.7359 GB, free: 0.8438 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 5.017e-05/0.6694, allocations: 36.58 kB / 0.7359 GB, free: 0.8086 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.6695, allocations: 23.42 kB / 0.7359 GB, free: 0.793 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.6695, allocations: 7.906 kB / 0.7359 GB, free: 0.7852 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.885e-05/0.6696, allocations: 95.92 kB / 0.736 GB, free: 0.6836 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.6696, allocations: 0 / 0.736 GB, free: 0.6836 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0002201/0.6698, allocations: 91.94 kB / 0.7361 GB, free: 0.5977 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.6698, allocations: 80.42 kB / 0.7362 GB, free: 0.5039 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.67, allocations: 196.5 kB / 0.7364 GB, free: 336 kB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.67, allocations: 25.7 kB / 0.7364 GB, free: 304 kB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.67, allocations: 103.9 kB / 0.7365 GB, free: 204 kB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.6701, allocations: 23.61 kB / 0.7365 GB, free: 184 kB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.6701, allocations: 0 / 0.7365 GB, free: 184 kB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6702, allocations: 334 kB / 0.7368 GB, free: 15.85 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.6702, allocations: 11.06 kB / 0.7368 GB, free: 15.84 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.6702, allocations: 16 kB / 0.7369 GB, free: 15.83 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.6703, allocations: 19.95 kB / 0.7369 GB, free: 15.82 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6703, allocations: 0 / 0.7369 GB, free: 15.82 MB / 0.5109 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001475/0.6705, allocations: 103.1 kB / 0.737 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.6705, allocations: 11.28 kB / 0.737 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6705, allocations: 0 / 0.737 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6705, allocations: 0 / 0.737 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.6706, allocations: 4 kB / 0.737 GB, free: 15.7 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6706, allocations: 7.984 kB / 0.737 GB, free: 15.7 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.6706, allocations: 8 kB / 0.737 GB, free: 15.69 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.6707, allocations: 4 kB / 0.737 GB, free: 15.68 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.573e-05/0.6708, allocations: 146.5 kB / 0.7372 GB, free: 15.53 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.6708, allocations: 19.8 kB / 0.7372 GB, free: 15.51 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.6708, allocations: 20.77 kB / 0.7372 GB, free: 15.5 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6709, allocations: 4 kB / 0.7372 GB, free: 15.49 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6709, allocations: 0 / 0.7372 GB, free: 15.49 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6709, allocations: 4 kB / 0.7372 GB, free: 15.49 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.671, allocations: 192.5 kB / 0.7374 GB, free: 15.28 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.671, allocations: 0 / 0.7374 GB, free: 15.28 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.6711, allocations: 3.984 kB / 0.7374 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6711, allocations: 4 kB / 0.7374 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.6711, allocations: 3.312 kB / 0.7374 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6711, allocations: 4 kB / 0.7374 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6711, allocations: 0 / 0.7374 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002066/0.6713, allocations: 133.9 kB / 0.7375 GB, free: 15.13 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.6714, allocations: 108 kB / 0.7376 GB, free: 15.01 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.6714, allocations: 4 kB / 0.7376 GB, free: 15.01 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.6715, allocations: 0 / 0.7376 GB, free: 15.01 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.6715, allocations: 7.906 kB / 0.7376 GB, free: 15 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.6716, allocations: 15.17 kB / 0.7377 GB, free: 14.99 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001369/0.6717, allocations: 162 kB / 0.7378 GB, free: 14.85 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002295/0.6719, allocations: 32 kB / 0.7378 GB, free: 14.82 MB / 0.5109 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001715/0.6721, allocations: 124.2 kB / 0.738 GB, free: 14.69 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.6723, allocations: 85.14 kB / 0.738 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6723, allocations: 0 / 0.738 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.6724, allocations: 77.94 kB / 0.7381 GB, free: 14.57 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.6725, allocations: 15.8 kB / 0.7381 GB, free: 14.55 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.6729, allocations: 212.7 kB / 0.7383 GB, free: 14.34 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.6732, allocations: 0.7472 MB / 0.7391 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of SimCode: time 2.81e-07/0.6732, allocations: 0 / 0.7391 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of Templates: time 0.003967/0.6772, allocations: 1.278 MB / 0.7403 GB, free: 12.3 MB / 0.5109 GB 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/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