Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009921/0.0009922, allocations: 187.8 kB / 8.133 MB, free: 2.199 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.212/1.212, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009042/0.0009042, allocations: 98.58 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.7991/0.7991, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.614e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1268, allocations: 82.85 MB / 0.6091 GB, free: 3.555 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6052/0.7321, allocations: 124.6 MB / 0.7307 GB, free: 5.066 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.7324, allocations: 57.06 kB / 0.7308 GB, free: 5.047 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02559/0.758, allocations: 8.353 MB / 0.739 GB, free: 13.9 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.254e-05/0.7581, allocations: 12 kB / 0.739 GB, free: 13.89 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.002386/0.7605, allocations: 0.9706 MB / 0.7399 GB, free: 12.9 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7605, allocations: 10.66 kB / 0.7399 GB, free: 12.89 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.7608, allocations: 55.34 kB / 0.74 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.7614, allocations: 312.3 kB / 0.7403 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.7614, allocations: 16 kB / 0.7403 GB, free: 12.48 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.7616, allocations: 86.55 kB / 0.7404 GB, free: 12.4 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008092/0.7624, allocations: 414.4 kB / 0.7408 GB, free: 12.08 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.7634, allocations: 0.5771 MB / 0.7413 GB, free: 11.6 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.7635, allocations: 19.8 kB / 0.7413 GB, free: 11.58 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.7635, allocations: 0 / 0.7413 GB, free: 11.58 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.7635, allocations: 12 kB / 0.7414 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.7646, allocations: 0.7384 MB / 0.7421 GB, free: 10.91 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.7658, allocations: 0.8018 MB / 0.7429 GB, free: 10.29 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.7664, allocations: 446.1 kB / 0.7433 GB, free: 9.973 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.7665, allocations: 13 kB / 0.7433 GB, free: 9.957 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.7665, allocations: 45.19 kB / 0.7433 GB, free: 9.914 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=120): time 2.535e-06/0.7665, allocations: 0 / 0.7433 GB, free: 9.914 MB / 0.5109 GB Notification: Performance of matching and sorting (n=120): time 0.003429/0.77, allocations: 1.428 MB / 0.7447 GB, free: 8.691 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.77, allocations: 68.41 kB / 0.7448 GB, free: 8.613 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.7701, allocations: 115.6 kB / 0.7449 GB, free: 8.504 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.7702, allocations: 29.7 kB / 0.7449 GB, free: 8.469 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.7702, allocations: 86.66 kB / 0.745 GB, free: 8.379 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.7706, allocations: 472.4 kB / 0.7455 GB, free: 7.98 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.7707, allocations: 3.938 kB / 0.7455 GB, free: 7.977 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.7709, allocations: 379.3 kB / 0.7458 GB, free: 7.621 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/0.7717, allocations: 0.4897 MB / 0.7463 GB, free: 7.25 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009904/0.7727, allocations: 0.8066 MB / 0.7471 GB, free: 6.469 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.7737, allocations: 0.639 MB / 0.7477 GB, free: 5.961 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/0.7738, allocations: 3.938 kB / 0.7477 GB, free: 5.957 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004093/0.7779, allocations: 1.907 MB / 0.7496 GB, free: 4.34 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7779, allocations: 8 kB / 0.7496 GB, free: 4.332 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.7779, allocations: 12 kB / 0.7496 GB, free: 4.32 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/0.7808, allocations: 0.616 MB / 0.7502 GB, free: 3.75 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.7819, allocations: 325.2 kB / 0.7505 GB, free: 3.441 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/0.7887, allocations: 4.258 MB / 0.7547 GB, free: 15.73 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.7893, allocations: 94.8 kB / 0.7548 GB, free: 15.63 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.7894, allocations: 54.38 kB / 0.7548 GB, free: 15.59 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.000232/0.7897, allocations: 140.3 kB / 0.755 GB, free: 15.45 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7898, allocations: 43.62 kB / 0.755 GB, free: 15.41 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.79, allocations: 111.9 kB / 0.7551 GB, free: 15.39 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.79, allocations: 12 kB / 0.7551 GB, free: 15.38 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.79, allocations: 8 kB / 0.7551 GB, free: 15.37 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.79, allocations: 7.984 kB / 0.7551 GB, free: 15.36 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.791, allocations: 0.7243 MB / 0.7558 GB, free: 14.7 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.7911, allocations: 0 / 0.7558 GB, free: 14.7 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/0.7927, allocations: 261.6 kB / 0.7561 GB, free: 14.46 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.7954, allocations: 0.6013 MB / 0.7567 GB, free: 13.9 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/0.7956, allocations: 47.83 kB / 0.7567 GB, free: 13.86 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006598/0.8022, allocations: 4.246 MB / 0.7609 GB, free: 10.15 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8022, allocations: 0 / 0.7609 GB, free: 10.15 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004109/0.8063, allocations: 2.302 MB / 0.7631 GB, free: 8.207 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.8064, allocations: 132.4 kB / 0.7632 GB, free: 8.059 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.8066, allocations: 35.95 kB / 0.7633 GB, free: 8.023 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.807, allocations: 15.98 kB / 0.7633 GB, free: 8.008 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.8071, allocations: 56.41 kB / 0.7634 GB, free: 7.961 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.052e-05/0.8072, allocations: 36.92 kB / 0.7634 GB, free: 7.934 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.546e-05/0.8073, allocations: 83.2 kB / 0.7635 GB, free: 7.852 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0008202/0.8081, allocations: 216 kB / 0.7637 GB, free: 7.641 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.0002635/0.8083, allocations: 152.6 kB / 0.7638 GB, free: 7.488 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.003346/0.8117, allocations: 1.556 MB / 0.7653 GB, free: 6.195 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8117, allocations: 0 / 0.7653 GB, free: 6.195 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.8138, allocations: 0.9283 MB / 0.7662 GB, free: 5.414 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.8141, allocations: 15.83 kB / 0.7663 GB, free: 5.398 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007811/0.8219, allocations: 6.782 MB / 0.7729 GB, free: 14.69 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007156/0.8226, allocations: 0.9779 MB / 0.7738 GB, free: 13.7 MB / 0.5421 GB Notification: Performance of SimCode: time 8.82e-07/0.8227, allocations: 0 / 0.7738 GB, free: 13.7 MB / 0.5421 GB Notification: Performance of Templates: time 0.01841/0.8411, allocations: 11.43 MB / 0.785 GB, free: 2.305 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)