Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [: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.001034/0.001034, allocations: 181.3 kB / 8.137 MB, free: 2.211 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.119/1.119, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0009225/0.0009225, allocations: 106.4 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.6773/0.6773, allocations: 120.5 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.361e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 82.84 MB / 0.6091 GB, free: 3.555 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5711/0.7006, allocations: 125.9 MB / 0.7321 GB, free: 4.156 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001354/0.7008, allocations: 51.06 kB / 0.7321 GB, free: 4.137 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.8637/1.564, allocations: 192.4 MB / 0.92 GB, free: 9.438 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.00104/1.566, allocations: 252 kB / 0.9203 GB, free: 9.191 MB / 0.6828 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.01846/1.584, allocations: 12.53 MB / 0.9325 GB, free: 13.52 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.584, allocations: 8.031 kB / 0.9325 GB, free: 13.52 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/1.587, allocations: 2.207 MB / 0.9347 GB, free: 11.28 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.134/2.722, allocations: 23.04 MB / 0.9572 GB, free: 305.8 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/2.722, allocations: 0 / 0.9572 GB, free: 305.8 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/2.722, allocations: 2 kB / 0.9572 GB, free: 305.8 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005812/2.723, allocations: 397.8 kB / 0.9576 GB, free: 305.8 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/2.723, allocations: 0.5938 MB / 0.9581 GB, free: 305.8 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/2.723, allocations: 0 / 0.9581 GB, free: 305.8 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/2.724, allocations: 1.594 kB / 0.9581 GB, free: 305.8 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/2.724, allocations: 1.641 kB / 0.9581 GB, free: 305.8 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/2.738, allocations: 6.779 MB / 0.9648 GB, free: 305.3 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/2.738, allocations: 223.7 kB / 0.965 GB, free: 305.3 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/2.739, allocations: 213.4 kB / 0.9652 GB, free: 305.3 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/2.739, allocations: 3.906 kB / 0.9652 GB, free: 305.3 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005919/2.739, allocations: 0.6367 MB / 0.9658 GB, free: 305.2 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/2.739, allocations: 3.594 kB / 0.9658 GB, free: 305.2 MB / 0.6984 GB Notification: Performance of matching and sorting (n=8): time 0.00361/2.743, allocations: 3.01 MB / 0.9688 GB, free: 303.9 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/2.743, allocations: 81.08 kB / 0.9688 GB, free: 303.9 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02845/2.771, allocations: 19.98 MB / 0.9883 GB, free: 299 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.0003736/2.772, allocations: 28.39 kB / 0.9884 GB, free: 299 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.002699/2.775, allocations: 3.031 MB / 0.9913 GB, free: 297.8 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/2.775, allocations: 23.84 kB / 0.9914 GB, free: 297.8 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/2.775, allocations: 0 / 0.9914 GB, free: 297.8 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/2.775, allocations: 306 kB / 0.9916 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/2.775, allocations: 207.1 kB / 0.9918 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/2.776, allocations: 198.3 kB / 0.992 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/2.776, allocations: 207 kB / 0.9922 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.776, allocations: 6.172 kB / 0.9922 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003696/2.78, allocations: 3.006 MB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/2.78, allocations: 3.312 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/2.78, allocations: 13.58 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/2.78, allocations: 0 / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/2.78, allocations: 3.125 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/2.78, allocations: 7.656 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/2.782, allocations: 3.281 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005419/2.783, allocations: 0.8558 MB / 0.996 GB, free: 296 MB / 0.6984 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.0002477/2.783, allocations: 143.5 kB / 0.9962 GB, free: 295.9 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/2.784, allocations: 2.205 MB / 0.9983 GB, free: 294.6 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/2.789, allocations: 2.559 MB / 1.001 GB, free: 293.9 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/2.789, allocations: 6.781 kB / 1.001 GB, free: 293.9 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/2.789, allocations: 0 / 1.001 GB, free: 293.9 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/2.789, allocations: 8.422 kB / 1.001 GB, free: 293.9 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/2.799, allocations: 7.395 MB / 1.008 GB, free: 291.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/2.799, allocations: 0 / 1.008 GB, free: 291.1 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/2.799, allocations: 4 kB / 1.008 GB, free: 291.1 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/2.799, allocations: 0 / 1.008 GB, free: 291.1 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004346/2.8, allocations: 195.7 kB / 1.008 GB, free: 290.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/2.8, allocations: 0 / 1.008 GB, free: 290.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/2.8, allocations: 3.969 kB / 1.008 GB, free: 290.9 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003088/2.803, allocations: 3.183 MB / 1.011 GB, free: 287.7 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/2.805, allocations: 1.979 MB / 1.013 GB, free: 285.7 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/2.807, allocations: 10.25 kB / 1.013 GB, free: 285.7 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/2.808, allocations: 4 kB / 1.013 GB, free: 285.7 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/2.808, allocations: 7.516 kB / 1.013 GB, free: 285.7 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004419/2.808, allocations: 0.8633 MB / 1.014 GB, free: 284.8 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.02169/2.83, allocations: 15.83 MB / 1.03 GB, free: 271.5 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.002281/2.832, allocations: 0.5212 MB / 1.03 GB, free: 271 MB / 0.6984 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.0002791/2.833, allocations: 132.6 kB / 1.03 GB, free: 270.9 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0007593/2.833, allocations: 446.3 kB / 1.031 GB, free: 270.4 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/2.833, allocations: 0 / 1.031 GB, free: 270.4 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0004261/2.834, allocations: 270.6 kB / 1.031 GB, free: 270.2 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/2.837, allocations: 1.57 MB / 1.032 GB, free: 268.6 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1971/3.034, allocations: 28.6 MB / 1.06 GB, free: 242.8 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008824/3.043, allocations: 10.27 MB / 1.07 GB, free: 234.7 MB / 0.6984 GB Notification: Performance of SimCode: time 8.72e-07/3.043, allocations: 8 kB / 1.07 GB, free: 234.7 MB / 0.6984 GB Notification: Performance of Templates: time 0.1782/3.221, allocations: 74.75 MB / 1.143 GB, free: 161.3 MB / 0.6984 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches