Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") [: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.0009608/0.0009609, allocations: 183.3 kB / 8.132 MB, free: 2.23 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.101/1.101, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0008708/0.0008708, allocations: 97.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.6417/0.6417, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.471e-06/5.48e-06, allocations: 3.938 kB / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 82.85 MB / 0.6091 GB, free: 3.555 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5492, allocations: 124.6 MB / 0.7307 GB, free: 5.098 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001496/0.5494, allocations: 58.86 kB / 0.7308 GB, free: 5.074 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02469/0.5741, allocations: 8.345 MB / 0.7389 GB, free: 13.94 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.5742, allocations: 8 kB / 0.739 GB, free: 13.93 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00203/0.5762, allocations: 0.9758 MB / 0.7399 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.5763, allocations: 14.66 kB / 0.7399 GB, free: 12.92 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.5764, allocations: 47.53 kB / 0.74 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.5769, allocations: 311.2 kB / 0.7403 GB, free: 12.53 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5769, allocations: 16 kB / 0.7403 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5771, allocations: 90.86 kB / 0.7404 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007256/0.5778, allocations: 410.2 kB / 0.7408 GB, free: 12.12 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00085/0.5786, allocations: 0.5901 MB / 0.7413 GB, free: 11.62 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.5787, allocations: 18.44 kB / 0.7414 GB, free: 11.61 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.5788, allocations: 0 / 0.7414 GB, free: 11.61 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.5788, allocations: 12 kB / 0.7414 GB, free: 11.6 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.5798, allocations: 0.732 MB / 0.7421 GB, free: 10.94 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.5809, allocations: 0.7998 MB / 0.7429 GB, free: 10.32 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.5815, allocations: 445.1 kB / 0.7433 GB, free: 10.01 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.5815, allocations: 17 kB / 0.7433 GB, free: 9.988 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.5816, allocations: 42.56 kB / 0.7433 GB, free: 9.945 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=120): time 2.415e-06/0.5816, allocations: 0 / 0.7433 GB, free: 9.945 MB / 0.5109 GB Notification: Performance of matching and sorting (n=120): time 0.003189/0.5848, allocations: 1.435 MB / 0.7447 GB, free: 8.719 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5848, allocations: 64.41 kB / 0.7448 GB, free: 8.645 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.5849, allocations: 115.3 kB / 0.7449 GB, free: 8.535 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.585, allocations: 25.7 kB / 0.7449 GB, free: 8.504 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.585, allocations: 87.59 kB / 0.745 GB, free: 8.414 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.5854, allocations: 485.3 kB / 0.7455 GB, free: 8.004 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.5854, allocations: 3.938 kB / 0.7455 GB, free: 8 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5856, allocations: 378.2 kB / 0.7458 GB, free: 7.645 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.5862, allocations: 497.5 kB / 0.7463 GB, free: 7.277 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.5871, allocations: 0.8065 MB / 0.7471 GB, free: 6.496 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.5879, allocations: 0.633 MB / 0.7477 GB, free: 5.992 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.5879, allocations: 4 kB / 0.7477 GB, free: 5.988 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003746/0.5917, allocations: 1.912 MB / 0.7496 GB, free: 4.367 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5917, allocations: 9.078 kB / 0.7496 GB, free: 4.359 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/0.5917, allocations: 15.94 kB / 0.7496 GB, free: 4.344 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/0.5945, allocations: 0.6159 MB / 0.7502 GB, free: 3.773 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.5957, allocations: 326.6 kB / 0.7505 GB, free: 3.465 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006615/0.6023, allocations: 4.254 MB / 0.7547 GB, free: 15.75 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.603, allocations: 94.84 kB / 0.7548 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.6031, allocations: 58 kB / 0.7548 GB, free: 15.61 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.6033, allocations: 140 kB / 0.755 GB, free: 15.47 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.6034, allocations: 43.44 kB / 0.755 GB, free: 15.43 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.6036, allocations: 106 kB / 0.7551 GB, free: 15.41 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.6036, allocations: 8 kB / 0.7551 GB, free: 15.41 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.6036, allocations: 8 kB / 0.7551 GB, free: 15.4 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6036, allocations: 7.969 kB / 0.7551 GB, free: 15.39 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009407/0.6046, allocations: 0.7192 MB / 0.7558 GB, free: 14.74 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6046, allocations: 4 kB / 0.7558 GB, free: 14.74 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.6062, allocations: 262.2 kB / 0.7561 GB, free: 14.49 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/0.6089, allocations: 0.5979 MB / 0.7567 GB, free: 13.94 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.609, allocations: 50.75 kB / 0.7567 GB, free: 13.89 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006207/0.6152, allocations: 4.247 MB / 0.7609 GB, free: 10.19 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.6153, allocations: 4 kB / 0.7609 GB, free: 10.18 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004094/0.6194, allocations: 2.303 MB / 0.7631 GB, free: 8.234 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.6195, allocations: 128.4 kB / 0.7632 GB, free: 8.09 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.6196, allocations: 35.95 kB / 0.7633 GB, free: 8.055 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.62, allocations: 11.98 kB / 0.7633 GB, free: 8.043 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.6202, allocations: 64.27 kB / 0.7634 GB, free: 7.988 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/0.6203, allocations: 37.61 kB / 0.7634 GB, free: 7.961 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.585e-05/0.6203, allocations: 79.28 kB / 0.7635 GB, free: 7.883 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0007689/0.6211, allocations: 216 kB / 0.7637 GB, free: 7.672 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.6213, allocations: 149.6 kB / 0.7638 GB, free: 7.523 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002938/0.6242, allocations: 1.57 MB / 0.7653 GB, free: 6.219 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6242, allocations: 0 / 0.7653 GB, free: 6.219 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/0.6263, allocations: 0.9256 MB / 0.7663 GB, free: 5.438 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.6265, allocations: 10.69 kB / 0.7663 GB, free: 5.43 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007259/0.6338, allocations: 6.779 MB / 0.7729 GB, free: 14.73 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.6344, allocations: 0.9779 MB / 0.7738 GB, free: 13.73 MB / 0.5421 GB Notification: Performance of SimCode: time 8.62e-07/0.6344, allocations: 4 kB / 0.7738 GB, free: 13.73 MB / 0.5421 GB Notification: Performance of Templates: time 0.01618/0.6506, allocations: 11.42 MB / 0.785 GB, free: 2.34 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)