Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") [: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.001098/0.001098, allocations: 184.1 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.008 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.0009448/0.0009451, allocations: 93.67 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7039/0.7039, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.763e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 82.84 MB / 0.6091 GB, free: 3.57 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.6624, allocations: 125.9 MB / 0.7321 GB, free: 4.188 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001048/0.6626, allocations: 48.62 kB / 0.7321 GB, free: 4.168 MB / 0.4953 GB Notification: Performance of FrontEnd: time 14.34/15, allocations: 2.179 GB / 2.911 GB, free: 182 MB / 0.7453 GB Notification: Performance of Transformations before backend: time 0.006014/15, allocations: 0.9819 MB / 2.912 GB, free: 182 MB / 0.7453 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.08281/15.09, allocations: 49.05 MB / 2.96 GB, free: 151.4 MB / 0.7453 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/15.09, allocations: 12.09 kB / 2.96 GB, free: 151.4 MB / 0.7453 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/15.11, allocations: 8.795 MB / 2.969 GB, free: 145.2 MB / 0.7453 GB Notification: Performance of preOpt evaluateParameters (simulation): time 16.95/32.05, allocations: 91.95 MB / 3.058 GB, free: 59.84 MB / 0.7453 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/32.05, allocations: 4 kB / 3.058 GB, free: 59.84 MB / 0.7453 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005292/32.06, allocations: 0 / 3.058 GB, free: 59.84 MB / 0.7453 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001708/32.06, allocations: 1.488 MB / 3.06 GB, free: 58.35 MB / 0.7453 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/32.06, allocations: 2.241 MB / 3.062 GB, free: 56.1 MB / 0.7453 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/32.06, allocations: 0 / 3.062 GB, free: 56.1 MB / 0.7453 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/32.06, allocations: 0 / 3.062 GB, free: 56.1 MB / 0.7453 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/32.06, allocations: 0 / 3.062 GB, free: 56.1 MB / 0.7453 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04938/32.11, allocations: 26.7 MB / 3.088 GB, free: 29.34 MB / 0.7453 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/32.11, allocations: 0.7681 MB / 3.089 GB, free: 28.56 MB / 0.7453 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/32.11, allocations: 0.756 MB / 3.09 GB, free: 27.8 MB / 0.7453 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/32.11, allocations: 0 / 3.09 GB, free: 27.8 MB / 0.7453 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002031/32.11, allocations: 2.291 MB / 3.092 GB, free: 25.49 MB / 0.7453 GB Notification: Performance of pre-optimization done (n=8): time 2.555e-06/32.11, allocations: 4 kB / 3.092 GB, free: 25.48 MB / 0.7453 GB Notification: Performance of matching and sorting (n=8): time 0.01584/32.13, allocations: 11.79 MB / 3.103 GB, free: 13.57 MB / 0.7453 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/32.13, allocations: 85.05 kB / 3.103 GB, free: 13.47 MB / 0.7453 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5517/32.68, allocations: 79.68 MB / 3.181 GB, free: 198.2 MB / 0.7458 GB Notification: Performance of collectPreVariables (initialization): time 0.001302/32.68, allocations: 25.7 kB / 3.181 GB, free: 198.2 MB / 0.7458 GB Notification: Performance of collectInitialEqns (initialization): time 0.01904/32.7, allocations: 11.89 MB / 3.193 GB, free: 193.6 MB / 0.7458 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/32.7, allocations: 16.17 kB / 3.193 GB, free: 193.6 MB / 0.7458 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/32.7, allocations: 0 / 3.193 GB, free: 193.6 MB / 0.7458 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/32.7, allocations: 313.3 kB / 3.193 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009436/32.71, allocations: 0.7462 MB / 3.194 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/32.71, allocations: 0.7502 MB / 3.195 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/32.71, allocations: 0.7523 MB / 3.195 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/32.71, allocations: 2.812 kB / 3.195 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01687/32.72, allocations: 11.8 MB / 3.207 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/32.72, allocations: 3.281 kB / 3.207 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/32.72, allocations: 2.5 kB / 3.207 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/32.72, allocations: 0 / 3.207 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/32.73, allocations: 6.406 kB / 3.207 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/32.73, allocations: 3.938 kB / 3.207 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/32.74, allocations: 2.938 kB / 3.207 GB, free: 193.3 MB / 0.7458 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0026/32.74, allocations: 3.422 MB / 3.21 GB, free: 192.8 MB / 0.7458 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.0007425/32.74, allocations: 144.4 kB / 3.21 GB, free: 192.6 MB / 0.7458 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01081/32.75, allocations: 8.796 MB / 3.219 GB, free: 187.7 MB / 0.7458 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03022/32.78, allocations: 10.22 MB / 3.229 GB, free: 184.8 MB / 0.7458 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/32.78, allocations: 0 / 3.229 GB, free: 184.8 MB / 0.7458 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/32.78, allocations: 4.688 kB / 3.229 GB, free: 184.8 MB / 0.7458 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/32.78, allocations: 10.69 kB / 3.229 GB, free: 184.8 MB / 0.7458 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07821/32.86, allocations: 29.15 MB / 3.258 GB, free: 175.6 MB / 0.7458 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/32.86, allocations: 0 / 3.258 GB, free: 175.6 MB / 0.7458 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/32.86, allocations: 3.969 kB / 3.258 GB, free: 175.6 MB / 0.7458 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/32.86, allocations: 0 / 3.258 GB, free: 175.6 MB / 0.7458 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002128/32.86, allocations: 0.7399 MB / 3.258 GB, free: 175.6 MB / 0.7458 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/32.86, allocations: 3.906 kB / 3.258 GB, free: 175.6 MB / 0.7458 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/32.86, allocations: 3.906 kB / 3.258 GB, free: 175.6 MB / 0.7458 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01629/32.88, allocations: 12.42 MB / 3.27 GB, free: 169.9 MB / 0.7458 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01592/32.89, allocations: 7.656 MB / 3.278 GB, free: 164.9 MB / 0.7458 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008082/32.9, allocations: 9.094 kB / 3.278 GB, free: 164.8 MB / 0.7458 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01019/32.91, allocations: 3.219 kB / 3.278 GB, free: 164.8 MB / 0.7458 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/32.91, allocations: 5.031 kB / 3.278 GB, free: 164.8 MB / 0.7458 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003274/32.92, allocations: 3.426 MB / 3.281 GB, free: 164.4 MB / 0.7458 GB Notification: Performance of sort global known variables: time 0.1439/33.06, allocations: 63.36 MB / 3.343 GB, free: 122.4 MB / 0.7458 GB Notification: Performance of remove unused functions: time 0.008601/33.07, allocations: 1.987 MB / 3.345 GB, free: 120.4 MB / 0.7458 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.000722/33.07, allocations: 131.3 kB / 3.345 GB, free: 120.3 MB / 0.7458 GB Notification: Performance of simCode: created initialization part: time 0.002605/33.07, allocations: 1.545 MB / 3.347 GB, free: 118.8 MB / 0.7458 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/33.07, allocations: 3.5 kB / 3.347 GB, free: 118.8 MB / 0.7458 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/33.07, allocations: 0.8103 MB / 3.347 GB, free: 118 MB / 0.7458 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01724/33.09, allocations: 6.254 MB / 3.354 GB, free: 111.7 MB / 0.7458 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.945/38.04, allocations: 120 MB / 3.471 GB, free: 176.8 MB / 0.7458 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08318/38.12, allocations: 39.77 MB / 3.51 GB, free: 173.6 MB / 0.7458 GB Notification: Performance of SimCode: time 1.463e-06/38.12, allocations: 0 / 3.51 GB, free: 173.6 MB / 0.7458 GB Notification: Performance of Templates: time 1.024/39.14, allocations: 299.2 MB / 3.802 GB, free: 173.4 MB / 0.7458 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches