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.001585/0.001585, allocations: 179.1 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.262/1.262, allocations: 221.4 MB / 235.5 MB, free: 2.941 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.0009195/0.0009195, allocations: 97.83 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9556/0.9556, allocations: 120.5 MB / 457.9 MB, free: 7.062 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.346e-05, allocations: 4 kB / 0.5357 GB, free: 12.22 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.574/0.574, allocations: 82.84 MB / 0.6166 GB, free: 9.355 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.7309, allocations: 125.3 MB / 0.739 GB, free: 11.92 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.7312, allocations: 63.91 kB / 0.739 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02843/0.7596, allocations: 8.56 MB / 0.7474 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7597, allocations: 0 / 0.7474 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.7597, allocations: 16 kB / 0.7474 GB, free: 3.266 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.002261/0.762, allocations: 0.9831 MB / 0.7484 GB, free: 2.238 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.762, allocations: 8.031 kB / 0.7484 GB, free: 2.23 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.7622, allocations: 55.48 kB / 0.7484 GB, free: 2.176 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.7628, allocations: 311.3 kB / 0.7487 GB, free: 1.832 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.7629, allocations: 57 kB / 0.7488 GB, free: 1.777 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.7631, allocations: 115.7 kB / 0.7489 GB, free: 1.664 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.7642, allocations: 0.6192 MB / 0.7495 GB, free: 1.039 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.7642, allocations: 23.8 kB / 0.7495 GB, free: 1.016 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.7643, allocations: 16 kB / 0.7495 GB, free: 1 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.7643, allocations: 15.95 kB / 0.7495 GB, free: 0.9844 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.7651, allocations: 419.8 kB / 0.7499 GB, free: 0.5742 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5891/1.354, allocations: 0.8041 MB / 0.7507 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/1.356, allocations: 0.916 MB / 0.7516 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/1.357, allocations: 463.9 kB / 0.7521 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 7.567e-05/1.357, allocations: 12.62 kB / 0.7521 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.357, allocations: 45.42 kB / 0.7521 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=120): time 3.496e-06/1.357, allocations: 0 / 0.7521 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=120): time 0.003939/1.361, allocations: 1.505 MB / 0.7536 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.361, allocations: 67.12 kB / 0.7537 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/1.361, allocations: 121.6 kB / 0.7538 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.361, allocations: 56.78 kB / 0.7538 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/1.361, allocations: 101 kB / 0.7539 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/1.362, allocations: 485.4 kB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/1.362, allocations: 30.28 kB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.362, allocations: 373.5 kB / 0.7548 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008644/1.363, allocations: 0.4946 MB / 0.7553 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/1.364, allocations: 0.8144 MB / 0.756 GB, free: 128 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.365, allocations: 0.6389 MB / 0.7567 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/1.365, allocations: 6.5 kB / 0.7567 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004739/1.37, allocations: 2.03 MB / 0.7587 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/1.37, allocations: 8.688 kB / 0.7587 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/1.37, allocations: 12.64 kB / 0.7587 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/1.372, allocations: 0.6239 MB / 0.7593 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.373, allocations: 328.2 kB / 0.7596 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006427/1.38, allocations: 4.682 MB / 0.7642 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/1.381, allocations: 130.5 kB / 0.7643 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/1.381, allocations: 61.94 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.000236/1.381, allocations: 183 kB / 0.7645 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/1.381, allocations: 41.5 kB / 0.7646 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/1.381, allocations: 123.5 kB / 0.7647 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.381, allocations: 11.06 kB / 0.7647 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.832e-05/1.381, allocations: 15.06 kB / 0.7647 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.381, allocations: 8.109 kB / 0.7647 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/1.382, allocations: 0.7753 MB / 0.7655 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.382, allocations: 3.938 kB / 0.7655 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.384, allocations: 267.4 kB / 0.7657 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/1.386, allocations: 0.6035 MB / 0.7663 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.386, allocations: 58.75 kB / 0.7664 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/1.393, allocations: 4.662 MB / 0.7709 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.393, allocations: 4.062 kB / 0.7709 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/1.396, allocations: 2.379 MB / 0.7733 GB, free: 117.9 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/1.397, allocations: 132.3 kB / 0.7734 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.397, allocations: 55.91 kB / 0.7734 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/1.397, allocations: 39.97 kB / 0.7735 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/1.397, allocations: 80.88 kB / 0.7736 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/1.397, allocations: 31.98 kB / 0.7736 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.32e-05/1.397, allocations: 83.28 kB / 0.7737 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.2e-07/1.397, allocations: 0 / 0.7737 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007528/1.398, allocations: 288 kB / 0.7739 GB, free: 117.2 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.0002184/1.398, allocations: 173.3 kB / 0.7741 GB, free: 117 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003097/1.402, allocations: 1.649 MB / 0.7757 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.402, allocations: 0 / 0.7757 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/1.403, allocations: 0.9866 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.0002203/1.404, allocations: 31.05 kB / 0.7767 GB, free: 114.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005773/1.41, allocations: 6.422 MB / 0.783 GB, free: 107.9 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.41, allocations: 0.9442 MB / 0.7839 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005963/1.41, allocations: 301.4 kB / 0.7842 GB, free: 106.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.411, allocations: 43.44 kB / 0.7842 GB, free: 106.6 MB / 0.5421 GB Notification: Performance of SimCode: time 8.42e-07/1.411, allocations: 0 / 0.7842 GB, free: 106.6 MB / 0.5421 GB Notification: Performance of Templates: time 0.01492/1.426, allocations: 9.736 MB / 0.7937 GB, free: 96.87 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)