Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.001124/0.001125, allocations: 184.3 kB / 8.134 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.221/1.221, allocations: 221.4 MB / 229.9 MB, free: 3.039 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.0009844/0.0009843, allocations: 101.5 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7052/0.7052, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.16e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1242, allocations: 82.84 MB / 0.6091 GB, free: 3.586 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5897/0.7139, allocations: 128.4 MB / 0.7345 GB, free: 1.613 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001188/0.7141, allocations: 48.3 kB / 0.7346 GB, free: 1.594 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.8736/1.588, allocations: 193.5 MB / 0.9236 GB, free: 5.898 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.002358/1.59, allocations: 252 kB / 0.9238 GB, free: 5.652 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02574/1.616, allocations: 12.55 MB / 0.9361 GB, free: 9.977 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.616, allocations: 12.03 kB / 0.9361 GB, free: 9.965 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007/1.623, allocations: 2.205 MB / 0.9382 GB, free: 7.73 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3001/1.923, allocations: 22.62 MB / 0.9603 GB, free: 304.3 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/1.923, allocations: 3.219 kB / 0.9603 GB, free: 304.3 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/1.923, allocations: 3.875 kB / 0.9603 GB, free: 304.3 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.899e-05/1.923, allocations: 12.31 kB / 0.9603 GB, free: 304.3 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.312e-05/1.923, allocations: 47.25 kB / 0.9604 GB, free: 304.3 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.923, allocations: 1.594 kB / 0.9604 GB, free: 304.3 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/1.923, allocations: 0 / 0.9604 GB, free: 304.3 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/1.923, allocations: 3.812 kB / 0.9604 GB, free: 304.3 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/1.938, allocations: 6.794 MB / 0.967 GB, free: 303.8 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/1.938, allocations: 44.8 kB / 0.9671 GB, free: 303.8 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/1.938, allocations: 17.52 kB / 0.9671 GB, free: 303.8 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/1.938, allocations: 3.5 kB / 0.9671 GB, free: 303.8 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.713e-05/1.938, allocations: 58.53 kB / 0.9671 GB, free: 303.7 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=5): time 2.424e-06/1.938, allocations: 3.469 kB / 0.9671 GB, free: 303.7 MB / 0.6984 GB Notification: Performance of matching and sorting (n=5): time 0.003859/1.942, allocations: 2.261 MB / 0.9693 GB, free: 302.5 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/1.942, allocations: 51.41 kB / 0.9694 GB, free: 302.4 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03865/1.98, allocations: 20.38 MB / 0.9893 GB, free: 297.2 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/1.981, allocations: 25.7 kB / 0.9893 GB, free: 297.2 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.004634/1.985, allocations: 3.038 MB / 0.9923 GB, free: 296 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/1.985, allocations: 11.41 kB / 0.9923 GB, free: 296 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/1.985, allocations: 0 / 0.9923 GB, free: 296 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/1.985, allocations: 313.4 kB / 0.9926 GB, free: 295.7 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/1.985, allocations: 14.8 kB / 0.9926 GB, free: 295.7 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/1.985, allocations: 27.66 kB / 0.9926 GB, free: 295.7 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.347e-05/1.985, allocations: 14.8 kB / 0.9927 GB, free: 295.7 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.985, allocations: 0.5469 kB / 0.9927 GB, free: 295.7 MB / 0.6984 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004125/1.99, allocations: 2.274 MB / 0.9949 GB, free: 294.4 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.99, allocations: 6.5 kB / 0.9949 GB, free: 294.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.99, allocations: 3.625 kB / 0.9949 GB, free: 294.4 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.99, allocations: 3.703 kB / 0.9949 GB, free: 294.4 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/1.99, allocations: 16.84 kB / 0.9949 GB, free: 294.4 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/1.99, allocations: 0 / 0.9949 GB, free: 294.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00447/1.994, allocations: 10.83 kB / 0.9949 GB, free: 294.3 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/1.994, allocations: 3.281 kB / 0.9949 GB, free: 294.3 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.216e-05/1.994, allocations: 108.1 kB / 0.995 GB, free: 294.2 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004248/1.999, allocations: 2.207 MB / 0.9972 GB, free: 293 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009858/2.009, allocations: 2.631 MB / 0.9997 GB, free: 292.2 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/2.009, allocations: 0 / 0.9997 GB, free: 292.2 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/2.009, allocations: 0 / 0.9997 GB, free: 292.2 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/2.009, allocations: 0 / 0.9997 GB, free: 292.2 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/2.03, allocations: 7.409 MB / 1.007 GB, free: 289.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/2.03, allocations: 0 / 1.007 GB, free: 289.8 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/2.03, allocations: 7.25 kB / 1.007 GB, free: 289.8 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/2.03, allocations: 0 / 1.007 GB, free: 289.8 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/2.03, allocations: 7.062 kB / 1.007 GB, free: 289.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/2.03, allocations: 0 / 1.007 GB, free: 289.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.03, allocations: 0 / 1.007 GB, free: 289.8 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004879/2.035, allocations: 2.439 MB / 1.009 GB, free: 288.3 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003399/2.038, allocations: 1.985 MB / 1.011 GB, free: 287 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.04, allocations: 2.812 kB / 1.011 GB, free: 287 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/2.042, allocations: 4.656 kB / 1.011 GB, free: 287 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/2.042, allocations: 3.703 kB / 1.011 GB, free: 287 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/2.042, allocations: 2.906 kB / 1.011 GB, free: 287 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.02957/2.072, allocations: 16.05 MB / 1.027 GB, free: 274.5 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.003286/2.075, allocations: 0.5029 MB / 1.027 GB, free: 274 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006653/2.076, allocations: 314.2 kB / 1.028 GB, free: 273.8 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0001384/2.076, allocations: 35.09 kB / 1.028 GB, free: 273.8 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/2.076, allocations: 0 / 1.028 GB, free: 273.8 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/2.076, allocations: 20 kB / 1.028 GB, free: 273.8 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005546/2.082, allocations: 1.59 MB / 1.029 GB, free: 272.2 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2551/2.337, allocations: 28.58 MB / 1.057 GB, free: 246.4 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02292/2.36, allocations: 12.44 MB / 1.069 GB, free: 235.8 MB / 0.6984 GB Notification: Performance of SimCode: time 1.252e-06/2.36, allocations: 0 / 1.069 GB, free: 235.8 MB / 0.6984 GB Notification: Performance of Templates: time 0.1711/2.531, allocations: 52.49 MB / 1.121 GB, free: 184.8 MB / 0.6984 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches