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.001004/0.001004, allocations: 185.3 kB / 8.134 MB, free: 2.215 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.103/1.103, allocations: 221.4 MB / 229.9 MB, free: 3.035 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.000897/0.000897, allocations: 92.3 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7419/0.7419, allocations: 120.5 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.04e-06/5.07e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 82.84 MB / 0.6091 GB, free: 3.602 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6199, allocations: 124.6 MB / 0.7307 GB, free: 5.316 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001619/0.6201, allocations: 59.81 kB / 0.7308 GB, free: 5.293 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02488/0.645, allocations: 8.349 MB / 0.739 GB, free: 14.16 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.71e-05/0.6451, allocations: 12 kB / 0.739 GB, free: 14.15 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.002431/0.6475, allocations: 0.972 MB / 0.7399 GB, free: 13.16 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6476, allocations: 10.66 kB / 0.7399 GB, free: 13.15 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.6478, allocations: 47.53 kB / 0.74 GB, free: 13.11 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.6484, allocations: 314.2 kB / 0.7403 GB, free: 12.76 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.6484, allocations: 16 kB / 0.7403 GB, free: 12.75 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.6486, allocations: 89.8 kB / 0.7404 GB, free: 12.67 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007813/0.6494, allocations: 410.6 kB / 0.7408 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/0.6504, allocations: 0.5838 MB / 0.7413 GB, free: 11.86 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.6504, allocations: 15.81 kB / 0.7413 GB, free: 11.85 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.6505, allocations: 4 kB / 0.7413 GB, free: 11.84 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.6505, allocations: 12 kB / 0.7414 GB, free: 11.83 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.6516, allocations: 0.7366 MB / 0.7421 GB, free: 11.17 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.6529, allocations: 0.7988 MB / 0.7429 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/0.6535, allocations: 446.5 kB / 0.7433 GB, free: 10.24 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.6536, allocations: 13 kB / 0.7433 GB, free: 10.22 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.6536, allocations: 42.88 kB / 0.7433 GB, free: 10.18 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=120): time 2.415e-06/0.6536, allocations: 4 kB / 0.7433 GB, free: 10.18 MB / 0.5109 GB Notification: Performance of matching and sorting (n=120): time 0.003398/0.657, allocations: 1.432 MB / 0.7447 GB, free: 8.949 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.6571, allocations: 64.41 kB / 0.7448 GB, free: 8.875 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.6572, allocations: 114.1 kB / 0.7449 GB, free: 8.77 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/0.6572, allocations: 25.7 kB / 0.7449 GB, free: 8.738 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.6573, allocations: 90.66 kB / 0.745 GB, free: 8.645 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.6576, allocations: 476.4 kB / 0.7455 GB, free: 8.242 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.6577, allocations: 3.938 kB / 0.7455 GB, free: 8.238 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6579, allocations: 386.9 kB / 0.7458 GB, free: 7.875 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/0.6586, allocations: 497.2 kB / 0.7463 GB, free: 7.508 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.6595, allocations: 0.8084 MB / 0.7471 GB, free: 6.727 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.6603, allocations: 0.6369 MB / 0.7477 GB, free: 6.219 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6604, allocations: 0 / 0.7477 GB, free: 6.219 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003946/0.6643, allocations: 1.905 MB / 0.7496 GB, free: 4.602 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6643, allocations: 8.031 kB / 0.7496 GB, free: 4.594 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.6644, allocations: 12 kB / 0.7496 GB, free: 4.582 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002797/0.6672, allocations: 0.6194 MB / 0.7502 GB, free: 4.008 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.6684, allocations: 325.2 kB / 0.7505 GB, free: 3.703 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/0.6751, allocations: 4.261 MB / 0.7547 GB, free: 15.98 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.6758, allocations: 94.8 kB / 0.7548 GB, free: 15.89 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.6759, allocations: 56.31 kB / 0.7548 GB, free: 15.85 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.0002507/0.6762, allocations: 135.7 kB / 0.755 GB, free: 15.71 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.6763, allocations: 47.38 kB / 0.755 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.6765, allocations: 106.7 kB / 0.7551 GB, free: 15.65 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6765, allocations: 12 kB / 0.7551 GB, free: 15.64 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/0.6765, allocations: 8 kB / 0.7551 GB, free: 15.63 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.6766, allocations: 7.969 kB / 0.7551 GB, free: 15.62 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6776, allocations: 0.7171 MB / 0.7558 GB, free: 14.97 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6776, allocations: 3.938 kB / 0.7558 GB, free: 14.97 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.6792, allocations: 265.6 kB / 0.7561 GB, free: 14.72 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002717/0.6819, allocations: 0.5976 MB / 0.7567 GB, free: 14.17 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.6821, allocations: 51.12 kB / 0.7567 GB, free: 14.12 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/0.6885, allocations: 4.235 MB / 0.7609 GB, free: 10.43 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.6885, allocations: 3.984 kB / 0.7609 GB, free: 10.42 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004123/0.6927, allocations: 2.306 MB / 0.7631 GB, free: 8.473 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.6927, allocations: 128.4 kB / 0.7632 GB, free: 8.328 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.6929, allocations: 39.89 kB / 0.7633 GB, free: 8.289 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.6934, allocations: 19.98 kB / 0.7633 GB, free: 8.27 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.6935, allocations: 60.52 kB / 0.7634 GB, free: 8.219 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.6936, allocations: 31.67 kB / 0.7634 GB, free: 8.195 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.749e-05/0.6937, allocations: 83.09 kB / 0.7635 GB, free: 8.117 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0007908/0.6945, allocations: 220 kB / 0.7637 GB, free: 7.902 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.0002082/0.6947, allocations: 147.9 kB / 0.7638 GB, free: 7.754 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.003028/0.6977, allocations: 1.567 MB / 0.7653 GB, free: 6.453 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6977, allocations: 4.125 kB / 0.7654 GB, free: 6.449 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.6997, allocations: 0.9201 MB / 0.7662 GB, free: 5.672 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.6999, allocations: 15.83 kB / 0.7663 GB, free: 5.656 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/0.7071, allocations: 6.777 MB / 0.7729 GB, free: 14.95 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.7077, allocations: 0.9803 MB / 0.7738 GB, free: 13.96 MB / 0.5421 GB Notification: Performance of SimCode: time 2.4e-07/0.7077, allocations: 0 / 0.7738 GB, free: 13.96 MB / 0.5421 GB Notification: Performance of Templates: time 0.01717/0.7249, allocations: 11.42 MB / 0.785 GB, free: 2.574 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)