Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [: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.00124/0.00124, allocations: 185.2 kB / 8.135 MB, free: 2.191 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.153/1.153, allocations: 221.4 MB / 229.9 MB, free: 3.07 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.0009916/0.0009916, allocations: 103.8 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.699/0.699, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/6.101e-06, allocations: 0 / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 82.84 MB / 0.6091 GB, free: 3.551 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5455/0.6655, allocations: 125.9 MB / 0.7321 GB, free: 4.219 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001263/0.6656, allocations: 47.77 kB / 0.7321 GB, free: 4.203 MB / 0.4953 GB Notification: Performance of FrontEnd: time 3.524/4.19, allocations: 0.6122 GB / 1.344 GB, free: 171.8 MB / 0.714 GB Notification: Performance of Transformations before backend: time 0.003006/4.193, allocations: 500 kB / 1.345 GB, free: 171.3 MB / 0.714 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.04464/4.238, allocations: 24.72 MB / 1.369 GB, free: 149.7 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/4.238, allocations: 11.97 kB / 1.369 GB, free: 149.6 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008505/4.246, allocations: 4.398 MB / 1.373 GB, free: 145.2 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.712/7.958, allocations: 46.01 MB / 1.418 GB, free: 105.1 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/7.958, allocations: 0 / 1.418 GB, free: 105.1 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/7.959, allocations: 4 kB / 1.418 GB, free: 105.1 MB / 0.714 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009595/7.96, allocations: 0.75 MB / 1.419 GB, free: 104.4 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/7.961, allocations: 1.145 MB / 1.42 GB, free: 103.2 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/7.961, allocations: 3.984 kB / 1.42 GB, free: 103.2 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/7.961, allocations: 0 / 1.42 GB, free: 103.2 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/7.961, allocations: 0 / 1.42 GB, free: 103.2 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02707/7.988, allocations: 13.42 MB / 1.433 GB, free: 89.74 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/7.989, allocations: 414.5 kB / 1.434 GB, free: 89.33 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/7.99, allocations: 400.9 kB / 1.434 GB, free: 88.93 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/7.99, allocations: 4 kB / 1.434 GB, free: 88.93 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/7.991, allocations: 1.187 MB / 1.435 GB, free: 87.72 MB / 0.714 GB Notification: Performance of pre-optimization done (n=8): time 2.485e-06/7.991, allocations: 0 / 1.435 GB, free: 87.72 MB / 0.714 GB Notification: Performance of matching and sorting (n=8): time 0.007427/7.999, allocations: 5.933 MB / 1.441 GB, free: 81.73 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/7.999, allocations: 85.05 kB / 1.441 GB, free: 81.62 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07503/8.074, allocations: 39.89 MB / 1.48 GB, free: 42.16 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.0007432/8.075, allocations: 26.92 kB / 1.48 GB, free: 42.13 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.01042/8.085, allocations: 5.986 MB / 1.486 GB, free: 36.14 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.000704/8.086, allocations: 23.73 kB / 1.486 GB, free: 36.11 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003344/8.086, allocations: 0 / 1.486 GB, free: 36.11 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 4.427e-05/8.086, allocations: 310 kB / 1.486 GB, free: 35.8 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/8.087, allocations: 388 kB / 1.486 GB, free: 35.43 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/8.087, allocations: 388 kB / 1.487 GB, free: 35.05 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/8.088, allocations: 396.9 kB / 1.487 GB, free: 34.66 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/8.088, allocations: 0 / 1.487 GB, free: 34.66 MB / 0.714 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007326/8.095, allocations: 5.939 MB / 1.493 GB, free: 28.66 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/8.095, allocations: 8.875 kB / 1.493 GB, free: 28.65 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/8.095, allocations: 4 kB / 1.493 GB, free: 28.64 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/8.095, allocations: 4 kB / 1.493 GB, free: 28.64 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/8.096, allocations: 7.984 kB / 1.493 GB, free: 28.63 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/8.096, allocations: 0 / 1.493 GB, free: 28.63 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/8.1, allocations: 3.906 kB / 1.493 GB, free: 28.63 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/8.102, allocations: 1.711 MB / 1.495 GB, free: 26.92 MB / 0.714 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 0.0004241/8.102, allocations: 144 kB / 1.495 GB, free: 26.77 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004848/8.107, allocations: 4.402 MB / 1.499 GB, free: 22.3 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/8.121, allocations: 5.115 MB / 1.504 GB, free: 17.18 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/8.121, allocations: 0 / 1.504 GB, free: 17.18 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/8.121, allocations: 0 / 1.504 GB, free: 17.18 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/8.121, allocations: 0 / 1.504 GB, free: 17.18 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03815/8.159, allocations: 14.65 MB / 1.518 GB, free: 2.48 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/8.159, allocations: 0 / 1.518 GB, free: 2.48 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/8.159, allocations: 4 kB / 1.518 GB, free: 2.477 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/8.159, allocations: 2 kB / 1.518 GB, free: 2.477 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/8.16, allocations: 376 kB / 1.519 GB, free: 2.109 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/8.16, allocations: 4 kB / 1.519 GB, free: 2.105 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/8.16, allocations: 3.938 kB / 1.519 GB, free: 2.102 MB / 0.714 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1973/8.358, allocations: 6.262 MB / 1.525 GB, free: 273.1 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005741/8.363, allocations: 3.88 MB / 1.529 GB, free: 270.9 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003521/8.367, allocations: 3.281 kB / 1.529 GB, free: 270.9 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004053/8.371, allocations: 3.906 kB / 1.529 GB, free: 270.9 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/8.371, allocations: 5.438 kB / 1.529 GB, free: 270.9 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009625/8.372, allocations: 1.713 MB / 1.53 GB, free: 270.9 MB / 0.714 GB Notification: Performance of sort global known variables: time 0.05944/8.432, allocations: 31.68 MB / 1.561 GB, free: 265 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.004191/8.436, allocations: 1.011 MB / 1.562 GB, free: 265 MB / 0.714 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.0004362/8.436, allocations: 129.5 kB / 1.562 GB, free: 264.9 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.001364/8.438, allocations: 0.8102 MB / 1.563 GB, free: 264.9 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/8.438, allocations: 0 / 1.563 GB, free: 264.9 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/8.438, allocations: 456.2 kB / 1.564 GB, free: 264.8 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009163/8.448, allocations: 3.133 MB / 1.567 GB, free: 262.6 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.142/9.589, allocations: 58.58 MB / 1.624 GB, free: 244.3 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03727/9.626, allocations: 20.03 MB / 1.644 GB, free: 230.8 MB / 0.714 GB Notification: Performance of SimCode: time 9.12e-07/9.627, allocations: 0 / 1.644 GB, free: 230.8 MB / 0.714 GB Notification: Performance of Templates: time 0.3754/10, allocations: 149.3 MB / 1.789 GB, free: 83.29 MB / 0.714 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches