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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009299/0.0009302, allocations: 176.1 kB / 8.348 MB, free: 0.7266 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.264/1.264, allocations: 221.5 MB / 230.3 MB, free: 7.512 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.000886/0.000886, allocations: 93.84 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8433/0.8433, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.275e-05/1.277e-05, allocations: 0 / 0.5288 GB, free: 1.309 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5025, allocations: 82.84 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.643, allocations: 124.6 MB / 0.7314 GB, free: 284 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001646/0.6432, allocations: 63.89 kB / 0.7314 GB, free: 224 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.02688/0.6701, allocations: 8.507 MB / 0.7398 GB, free: 7.691 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6701, allocations: 0 / 0.7398 GB, free: 7.691 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.6702, allocations: 12 kB / 0.7398 GB, free: 7.68 MB / 0.5419 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.002117/0.6723, allocations: 0.9874 MB / 0.7407 GB, free: 6.648 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.6723, allocations: 12.03 kB / 0.7407 GB, free: 6.637 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.6725, allocations: 51.48 kB / 0.7408 GB, free: 6.586 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.6729, allocations: 315.3 kB / 0.7411 GB, free: 6.238 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.673, allocations: 16 kB / 0.7411 GB, free: 6.223 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.6731, allocations: 83.7 kB / 0.7412 GB, free: 6.141 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006506/0.6738, allocations: 398.4 kB / 0.7416 GB, free: 5.75 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.6747, allocations: 0.5621 MB / 0.7421 GB, free: 5.184 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.6747, allocations: 19.81 kB / 0.7421 GB, free: 5.164 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.6748, allocations: 3.953 kB / 0.7421 GB, free: 5.16 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.6748, allocations: 12 kB / 0.7422 GB, free: 5.148 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.6758, allocations: 0.7001 MB / 0.7428 GB, free: 4.41 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.677, allocations: 0.8582 MB / 0.7437 GB, free: 3.543 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.6775, allocations: 428.6 kB / 0.7441 GB, free: 3.121 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.6776, allocations: 13.31 kB / 0.7441 GB, free: 3.109 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.6777, allocations: 47.88 kB / 0.7441 GB, free: 3.055 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=120): time 2.174e-06/0.6777, allocations: 0 / 0.7441 GB, free: 3.055 MB / 0.5419 GB Notification: Performance of matching and sorting (n=120): time 0.003092/0.6808, allocations: 1.437 MB / 0.7455 GB, free: 1.605 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.6808, allocations: 60.72 kB / 0.7456 GB, free: 1.535 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.6809, allocations: 124.9 kB / 0.7457 GB, free: 1.406 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/0.681, allocations: 25.7 kB / 0.7457 GB, free: 1.375 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.6811, allocations: 90.66 kB / 0.7458 GB, free: 1.281 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.6814, allocations: 488.8 kB / 0.7463 GB, free: 0.7969 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.6815, allocations: 0 / 0.7463 GB, free: 0.7969 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6816, allocations: 374.8 kB / 0.7467 GB, free: 432 kB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5284/1.21, allocations: 464.8 kB / 0.7471 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/1.212, allocations: 0.778 MB / 0.7479 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/1.213, allocations: 0.6061 MB / 0.7484 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.213, allocations: 2.562 kB / 0.7485 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004325/1.217, allocations: 1.879 MB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/1.217, allocations: 10.25 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.217, allocations: 13.03 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/1.22, allocations: 0.616 MB / 0.7509 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.221, allocations: 324.2 kB / 0.7512 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007227/1.228, allocations: 4.403 MB / 0.7555 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/1.229, allocations: 98.8 kB / 0.7556 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/1.229, allocations: 55.94 kB / 0.7557 GB, free: 130.4 MB / 0.5421 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.0002259/1.229, allocations: 138.2 kB / 0.7558 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/1.229, allocations: 39.03 kB / 0.7558 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/1.23, allocations: 107.9 kB / 0.7559 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.23, allocations: 11 kB / 0.7559 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/1.23, allocations: 7 kB / 0.756 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.23, allocations: 7.219 kB / 0.756 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008464/1.231, allocations: 0.6957 MB / 0.7566 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.231, allocations: 0 / 0.7566 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/1.232, allocations: 270.9 kB / 0.7569 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/1.234, allocations: 0.5925 MB / 0.7575 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.234, allocations: 46.31 kB / 0.7575 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005744/1.24, allocations: 4.386 MB / 0.7618 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.24, allocations: 2.938 kB / 0.7618 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/1.244, allocations: 2.289 MB / 0.764 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/1.244, allocations: 128.4 kB / 0.7642 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.244, allocations: 35.16 kB / 0.7642 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.244, allocations: 19.17 kB / 0.7642 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.244, allocations: 97.98 kB / 0.7643 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/1.245, allocations: 35.75 kB / 0.7643 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.361e-05/1.245, allocations: 75.28 kB / 0.7644 GB, free: 126 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.245, allocations: 0 / 0.7644 GB, free: 126 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008275/1.245, allocations: 236 kB / 0.7646 GB, free: 125.8 MB / 0.5421 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.0002132/1.246, allocations: 152.7 kB / 0.7648 GB, free: 125.6 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002798/1.248, allocations: 1.562 MB / 0.7663 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.248, allocations: 3 kB / 0.7663 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/1.25, allocations: 0.9553 MB / 0.7673 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/1.251, allocations: 7.938 kB / 0.7673 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/1.256, allocations: 6.354 MB / 0.7735 GB, free: 117.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.256, allocations: 0.9522 MB / 0.7744 GB, free: 116.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006054/1.257, allocations: 297.4 kB / 0.7747 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/1.257, allocations: 43.44 kB / 0.7747 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of SimCode: time 7.02e-07/1.257, allocations: 0 / 0.7747 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of Templates: time 0.01527/1.272, allocations: 9.548 MB / 0.784 GB, free: 106.6 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)