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.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.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.001274/0.001273, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.266/1.266, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 116.3 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7496/0.7496, allocations: 119.3 MB / 460.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 51.2 kB / 0.5391 GB, free: 43.13 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1443, allocations: 80.69 MB / 0.6179 GB, free: 12.69 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002732/0.1471, allocations: 1.294 MB / 0.6192 GB, free: 11.39 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.1473, allocations: 43.94 kB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.1474, allocations: 3.938 kB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.996e-05/0.1475, allocations: 0 / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.1476, allocations: 15.97 kB / 0.6192 GB, free: 11.32 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.1477, allocations: 19.97 kB / 0.6193 GB, free: 11.3 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000684/0.1484, allocations: 0.8387 MB / 0.6201 GB, free: 10.46 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.434e-05/0.1485, allocations: 7.938 kB / 0.6201 GB, free: 10.46 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.1489, allocations: 295.8 kB / 0.6204 GB, free: 10.17 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.1495, allocations: 295.1 kB / 0.6206 GB, free: 9.883 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.1496, allocations: 44 kB / 0.6207 GB, free: 9.84 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1498, allocations: 48 kB / 0.6207 GB, free: 9.793 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.15, allocations: 255.4 kB / 0.621 GB, free: 9.543 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.1504, allocations: 278.9 kB / 0.6212 GB, free: 9.27 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1508, allocations: 446.8 kB / 0.6217 GB, free: 8.832 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1508, allocations: 0 / 0.6217 GB, free: 8.832 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1508, allocations: 0 / 0.6217 GB, free: 8.832 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1508, allocations: 0 / 0.6217 GB, free: 8.832 MB / 442.8 MB 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.002857/0.1537, allocations: 1.23 MB / 0.6229 GB, free: 7.547 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1537, allocations: 12.03 kB / 0.6229 GB, free: 7.535 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.1539, allocations: 52.47 kB / 0.6229 GB, free: 7.484 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.1544, allocations: 307.8 kB / 0.6232 GB, free: 7.145 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.1544, allocations: 53.38 kB / 0.6233 GB, free: 7.09 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.1546, allocations: 120 kB / 0.6234 GB, free: 6.973 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.1555, allocations: 0.6196 MB / 0.624 GB, free: 6.348 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/0.1555, allocations: 20.08 kB / 0.624 GB, free: 6.328 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.1556, allocations: 23.94 kB / 0.624 GB, free: 6.305 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.1556, allocations: 12 kB / 0.6241 GB, free: 6.293 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.1563, allocations: 435.6 kB / 0.6245 GB, free: 5.867 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.1573, allocations: 0.7903 MB / 0.6252 GB, free: 5.023 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.1587, allocations: 0.9334 MB / 0.6261 GB, free: 4.078 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.1593, allocations: 479.5 kB / 0.6266 GB, free: 3.609 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/0.1594, allocations: 20.88 kB / 0.6266 GB, free: 3.586 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1594, allocations: 43.56 kB / 0.6267 GB, free: 3.535 MB / 442.8 MB Notification: Performance of pre-optimization done (n=120): time 3.487e-06/0.1594, allocations: 0 / 0.6267 GB, free: 3.535 MB / 442.8 MB Notification: Performance of matching and sorting (n=120): time 0.01067/0.1701, allocations: 2.903 MB / 0.6295 GB, free: 0.6016 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.1702, allocations: 68.34 kB / 0.6296 GB, free: 0.5195 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1703, allocations: 121.8 kB / 0.6297 GB, free: 400 kB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.1704, allocations: 61.7 kB / 0.6297 GB, free: 332 kB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.1705, allocations: 98.66 kB / 0.6298 GB, free: 228 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.1708, allocations: 0.489 MB / 0.6303 GB, free: 15.73 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.1712, allocations: 275.6 kB / 0.6306 GB, free: 15.45 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.1713, allocations: 314 kB / 0.6309 GB, free: 15.14 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/0.172, allocations: 0.4957 MB / 0.6314 GB, free: 14.64 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.1729, allocations: 0.8317 MB / 0.6322 GB, free: 13.69 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.1746, allocations: 1.431 MB / 0.6336 GB, free: 12.13 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.1746, allocations: 4 kB / 0.6336 GB, free: 12.13 MB / 458.8 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00369/0.1783, allocations: 1.996 MB / 0.6355 GB, free: 10.12 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.1784, allocations: 8 kB / 0.6355 GB, free: 10.11 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.1784, allocations: 8 kB / 0.6355 GB, free: 10.11 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/0.1808, allocations: 0.5821 MB / 0.6361 GB, free: 9.52 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.1818, allocations: 323.6 kB / 0.6364 GB, free: 9.203 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007081/0.1889, allocations: 4.65 MB / 0.641 GB, free: 4.41 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006096/0.1896, allocations: 118.7 kB / 0.6411 GB, free: 4.293 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/0.1897, allocations: 56 kB / 0.6411 GB, free: 4.238 MB / 458.8 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000265/0.1899, allocations: 245.4 kB / 0.6414 GB, free: 3.988 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.19, allocations: 39.53 kB / 0.6414 GB, free: 3.949 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.1904, allocations: 115.9 kB / 0.6415 GB, free: 3.836 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1904, allocations: 12 kB / 0.6415 GB, free: 3.824 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/0.1904, allocations: 8 kB / 0.6415 GB, free: 3.816 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.1904, allocations: 11.91 kB / 0.6415 GB, free: 3.805 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008649/0.1913, allocations: 0.7513 MB / 0.6423 GB, free: 3.004 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1913, allocations: 0 / 0.6423 GB, free: 3.004 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.1927, allocations: 263.8 kB / 0.6425 GB, free: 2.746 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/0.1949, allocations: 0.5704 MB / 0.6431 GB, free: 2.172 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.1951, allocations: 55.94 kB / 0.6431 GB, free: 2.117 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006901/0.202, allocations: 4.655 MB / 0.6477 GB, free: 13.32 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.202, allocations: 0 / 0.6477 GB, free: 13.32 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03024/0.2323, allocations: 17.11 MB / 0.6644 GB, free: 11.91 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.2324, allocations: 132.3 kB / 0.6645 GB, free: 11.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.2325, allocations: 51.95 kB / 0.6646 GB, free: 11.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.2329, allocations: 16 kB / 0.6646 GB, free: 11.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.2331, allocations: 88.86 kB / 0.6647 GB, free: 11.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/0.2332, allocations: 39.92 kB / 0.6647 GB, free: 11.57 MB / 490.8 MB Notification: Performance of sorting global known variables: time 4.159e-05/0.2333, allocations: 79.34 kB / 0.6648 GB, free: 11.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.343e-06/0.2333, allocations: 0 / 0.6648 GB, free: 11.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.001017/0.2343, allocations: 431.9 kB / 0.6652 GB, free: 11.07 MB / 490.8 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.2345, allocations: 161.4 kB / 0.6653 GB, free: 10.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.2378, allocations: 1.684 MB / 0.667 GB, free: 9.207 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.2378, allocations: 0 / 0.667 GB, free: 9.207 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.24, allocations: 1.018 MB / 0.668 GB, free: 8.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2403, allocations: 53.03 kB / 0.668 GB, free: 8.129 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009511/0.2499, allocations: 7.179 MB / 0.675 GB, free: 0.8867 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.2505, allocations: 0.9844 MB / 0.676 GB, free: 15.87 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0007004/0.2512, allocations: 329.4 kB / 0.6763 GB, free: 15.55 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.2513, allocations: 51.44 kB / 0.6764 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of SimCode: time 6.11e-07/0.2514, allocations: 0 / 0.6764 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.4631/0.7144, allocations: 16.23 MB / 0.6922 GB, free: 70.61 MB / 0.495 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)