Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.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.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.v.80..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|der.xm.80..|time|time|v.1.|v.2.|v.3.|v.4.|v.5.|v.80.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xm.80.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.|xs.80.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.v.80..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|der.xm.80..|time|time|v.1.|v.2.|v.3.|v.4.|v.5.|v.80.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xm.80.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.|xs.80.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80") [: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.001116/0.001116, allocations: 185.3 kB / 8.135 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.17/1.17, 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.0009678/0.000968, allocations: 93.38 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7342/0.7342, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.783e-06/6.873e-06, allocations: 3.938 kB / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 82.84 MB / 0.6091 GB, free: 3.586 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5153/0.6397, allocations: 124.6 MB / 0.7308 GB, free: 5.391 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.6399, allocations: 58.14 kB / 0.7308 GB, free: 5.367 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.05094/0.6909, allocations: 16.59 MB / 0.747 GB, free: 6.75 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.848e-05/0.691, allocations: 24 kB / 0.747 GB, free: 6.727 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003811/0.6948, allocations: 1.65 MB / 0.7486 GB, free: 5.086 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 7.895e-05/0.6949, allocations: 12.03 kB / 0.7487 GB, free: 5.074 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.6951, allocations: 95.16 kB / 0.7487 GB, free: 4.98 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.6959, allocations: 463.2 kB / 0.7492 GB, free: 4.488 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.6959, allocations: 28 kB / 0.7492 GB, free: 4.461 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.6962, allocations: 172.5 kB / 0.7494 GB, free: 4.312 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/0.6976, allocations: 0.812 MB / 0.7502 GB, free: 3.66 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.6993, allocations: 1.134 MB / 0.7513 GB, free: 2.73 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.196e-05/0.6994, allocations: 35.33 kB / 0.7513 GB, free: 2.699 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6995, allocations: 4 kB / 0.7513 GB, free: 2.695 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.6995, allocations: 24 kB / 0.7513 GB, free: 2.672 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.7013, allocations: 1.344 MB / 0.7526 GB, free: 1.512 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.7036, allocations: 1.561 MB / 0.7542 GB, free: 320 kB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.7047, allocations: 0.8728 MB / 0.755 GB, free: 15.69 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.7048, allocations: 29.98 kB / 0.7551 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.7048, allocations: 54.94 kB / 0.7551 GB, free: 15.61 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=240): time 3.055e-06/0.7048, allocations: 0 / 0.7551 GB, free: 15.61 MB / 0.5265 GB Notification: Performance of matching and sorting (n=240): time 0.00642/0.7113, allocations: 2.843 MB / 0.7579 GB, free: 13.18 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.7113, allocations: 77.41 kB / 0.758 GB, free: 13.1 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.7114, allocations: 145.2 kB / 0.7581 GB, free: 12.97 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.7115, allocations: 25.7 kB / 0.7581 GB, free: 12.94 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.7116, allocations: 96.09 kB / 0.7582 GB, free: 12.84 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.000601/0.7122, allocations: 0.9336 MB / 0.7591 GB, free: 12.03 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.7123, allocations: 7.938 kB / 0.7591 GB, free: 12.02 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7125, allocations: 441.8 kB / 0.7596 GB, free: 11.63 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.7139, allocations: 0.9762 MB / 0.7605 GB, free: 10.89 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.7156, allocations: 1.604 MB / 0.7621 GB, free: 9.34 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.7172, allocations: 1.271 MB / 0.7633 GB, free: 8.336 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.7173, allocations: 8 kB / 0.7633 GB, free: 8.328 MB / 0.5265 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.007581/0.7248, allocations: 3.792 MB / 0.767 GB, free: 5.113 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7249, allocations: 4 kB / 0.767 GB, free: 5.109 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.7249, allocations: 20 kB / 0.767 GB, free: 5.09 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.7303, allocations: 1.226 MB / 0.7682 GB, free: 3.953 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.7324, allocations: 0.6337 MB / 0.7689 GB, free: 3.34 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.745, allocations: 7.465 MB / 0.7762 GB, free: 13.11 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.7462, allocations: 185.7 kB / 0.7763 GB, free: 12.93 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/0.7465, allocations: 115.1 kB / 0.7764 GB, free: 12.84 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 320 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 79} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005402/0.7471, allocations: 163.5 kB / 0.7766 GB, free: 12.68 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.7473, allocations: 78.19 kB / 0.7767 GB, free: 12.61 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.7477, allocations: 208.9 kB / 0.7769 GB, free: 12.57 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.7478, allocations: 24 kB / 0.7769 GB, free: 12.55 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.796e-05/0.7478, allocations: 12 kB / 0.7769 GB, free: 12.54 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.7479, allocations: 11.95 kB / 0.7769 GB, free: 12.53 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.75, allocations: 1.325 MB / 0.7782 GB, free: 11.38 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.75, allocations: 7.922 kB / 0.7782 GB, free: 11.37 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/0.7532, allocations: 0.5141 MB / 0.7787 GB, free: 10.88 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005358/0.7586, allocations: 1.208 MB / 0.7799 GB, free: 9.766 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/0.7589, allocations: 107.1 kB / 0.78 GB, free: 9.672 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/0.7714, allocations: 7.419 MB / 0.7872 GB, free: 3.484 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7714, allocations: 7.938 kB / 0.7873 GB, free: 3.477 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009233/0.7806, allocations: 5.066 MB / 0.7922 GB, free: 15.14 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.7808, allocations: 183.6 kB / 0.7924 GB, free: 14.94 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.7811, allocations: 75.86 kB / 0.7924 GB, free: 14.87 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.7818, allocations: 23.97 kB / 0.7925 GB, free: 14.84 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.7821, allocations: 125.4 kB / 0.7926 GB, free: 14.74 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/0.7823, allocations: 67.47 kB / 0.7927 GB, free: 14.69 MB / 0.5578 GB Notification: Performance of sort global known variables: time 4.096e-05/0.7823, allocations: 79.28 kB / 0.7927 GB, free: 14.61 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001535/0.7839, allocations: 432 kB / 0.7931 GB, free: 14.19 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 160 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],xm[41],xm[42],xm[43],xm[44],xm[45],xm[46],xm[47],xm[48],xm[49],xm[50],xm[51],xm[52],xm[53],xm[54],xm[55],xm[56],xm[57],xm[58],xm[59],xm[60],xm[61],xm[62],xm[63],xm[64],xm[65],xm[66],xm[67],xm[68],xm[69],xm[70],xm[71],xm[72],xm[73],xm[74],xm[75],xm[76],xm[77],xm[78],xm[79],xm[80],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40],v[41],v[42],v[43],v[44],v[45],v[46],v[47],v[48],v[49],v[50],v[51],v[52],v[53],v[54],v[55],v[56],v[57],v[58],v[59],v[60],v[61],v[62],v[63],v[64],v[65],v[66],v[67],v[68],v[69],v[70],v[71],v[72],v[73],v[74],v[75],v[76],v[77],v[78],v[79],v[80]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 79} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003427/0.7842, allocations: 192.7 kB / 0.7933 GB, free: 14 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.006023/0.7902, allocations: 3.05 MB / 0.7963 GB, free: 11.5 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7903, allocations: 0.5 kB / 0.7963 GB, free: 11.5 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.00389/0.7942, allocations: 1.758 MB / 0.798 GB, free: 10.04 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.7945, allocations: 11.88 kB / 0.798 GB, free: 10.03 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.8104, allocations: 15.97 MB / 0.8136 GB, free: 10.25 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009822/0.8114, allocations: 1.263 MB / 0.8149 GB, free: 8.977 MB / 0.5734 GB Notification: Performance of SimCode: time 5.71e-07/0.8114, allocations: 0 / 0.8149 GB, free: 8.977 MB / 0.5734 GB Notification: Performance of Templates: time 0.03566/0.8471, allocations: 23.55 MB / 0.8379 GB, free: 1.434 MB / 0.589 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe 2>&1)