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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 178.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 235.5 MB, free: 2.961 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.0008602/0.0008602, allocations: 94.28 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8866/0.8866, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.108e-05, allocations: 0 / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4628, allocations: 82.83 MB / 0.6166 GB, free: 9.355 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.5929, allocations: 125.3 MB / 0.739 GB, free: 11.93 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.5931, allocations: 59.91 kB / 0.739 GB, free: 11.87 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.025/0.6181, allocations: 8.564 MB / 0.7474 GB, free: 3.285 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6181, allocations: 0 / 0.7474 GB, free: 3.285 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.6182, allocations: 12 kB / 0.7474 GB, free: 3.273 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.00208/0.6203, allocations: 0.9831 MB / 0.7484 GB, free: 2.246 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6203, allocations: 12.03 kB / 0.7484 GB, free: 2.234 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.6205, allocations: 55.48 kB / 0.7484 GB, free: 2.18 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.621, allocations: 311.3 kB / 0.7487 GB, free: 1.836 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.621, allocations: 53 kB / 0.7488 GB, free: 1.785 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.6212, allocations: 115.7 kB / 0.7489 GB, free: 1.672 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.6222, allocations: 0.6192 MB / 0.7495 GB, free: 1.047 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.6223, allocations: 19.81 kB / 0.7495 GB, free: 1.027 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.6223, allocations: 16 kB / 0.7495 GB, free: 1.012 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.6224, allocations: 15.95 kB / 0.7495 GB, free: 0.9961 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.623, allocations: 431.7 kB / 0.7499 GB, free: 0.5742 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4886/1.112, allocations: 0.8004 MB / 0.7507 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/1.113, allocations: 0.9124 MB / 0.7516 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006634/1.114, allocations: 464.7 kB / 0.7521 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/1.114, allocations: 16.66 kB / 0.7521 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.114, allocations: 44 kB / 0.7521 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=120): time 3.486e-06/1.114, allocations: 0.9375 kB / 0.7521 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=120): time 0.003439/1.117, allocations: 1.502 MB / 0.7536 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/1.118, allocations: 66.83 kB / 0.7537 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/1.118, allocations: 116.4 kB / 0.7538 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/1.118, allocations: 59.83 kB / 0.7538 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/1.118, allocations: 100.9 kB / 0.7539 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/1.118, allocations: 486.8 kB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/1.118, allocations: 35.25 kB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.049e-05/1.118, allocations: 373.5 kB / 0.7548 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/1.119, allocations: 0.4912 MB / 0.7553 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/1.12, allocations: 0.8227 MB / 0.7561 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/1.121, allocations: 0.6343 MB / 0.7567 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.121, allocations: 7.031 kB / 0.7567 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004024/1.125, allocations: 2.031 MB / 0.7587 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.125, allocations: 10.25 kB / 0.7587 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.125, allocations: 11.59 kB / 0.7587 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/1.127, allocations: 0.626 MB / 0.7593 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/1.128, allocations: 325.3 kB / 0.7596 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/1.134, allocations: 4.685 MB / 0.7642 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/1.135, allocations: 129.2 kB / 0.7643 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/1.135, allocations: 54.12 kB / 0.7644 GB, free: 124.9 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.0001713/1.135, allocations: 187.9 kB / 0.7645 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/1.135, allocations: 38.78 kB / 0.7646 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/1.135, allocations: 119.7 kB / 0.7647 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.135, allocations: 11.41 kB / 0.7647 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/1.135, allocations: 12.69 kB / 0.7647 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/1.135, allocations: 7.219 kB / 0.7647 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007135/1.136, allocations: 0.777 MB / 0.7655 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.136, allocations: 0 / 0.7655 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.137, allocations: 267.1 kB / 0.7657 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/1.139, allocations: 0.6129 MB / 0.7663 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.44e-05/1.139, allocations: 60.8 kB / 0.7664 GB, free: 124 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005777/1.145, allocations: 4.661 MB / 0.7709 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.145, allocations: 8 kB / 0.7709 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/1.149, allocations: 2.377 MB / 0.7733 GB, free: 117.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/1.149, allocations: 132.3 kB / 0.7734 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/1.149, allocations: 55.91 kB / 0.7734 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/1.149, allocations: 35.97 kB / 0.7735 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/1.149, allocations: 84.88 kB / 0.7736 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/1.149, allocations: 35.98 kB / 0.7736 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 1.976e-05/1.149, allocations: 79.28 kB / 0.7737 GB, free: 117.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.31e-07/1.149, allocations: 0 / 0.7737 GB, free: 117.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006281/1.15, allocations: 292 kB / 0.774 GB, free: 117.1 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.0001849/1.15, allocations: 169.3 kB / 0.7741 GB, free: 116.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002544/1.153, allocations: 1.645 MB / 0.7757 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.153, allocations: 0 / 0.7757 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.155, allocations: 0.9942 MB / 0.7767 GB, free: 114.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/1.155, allocations: 24.81 kB / 0.7767 GB, free: 114.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/1.16, allocations: 6.419 MB / 0.783 GB, free: 107.8 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/1.16, allocations: 0.9481 MB / 0.7839 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004901/1.161, allocations: 297.4 kB / 0.7842 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/1.161, allocations: 43.44 kB / 0.7842 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of SimCode: time 5.51e-07/1.161, allocations: 0 / 0.7842 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of Templates: time 0.01166/1.172, allocations: 9.733 MB / 0.7937 GB, free: 96.82 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)