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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 110.2 kB / 16.51 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 186.6 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8555/0.8555, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 0.4902 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4811, allocations: 80.68 MB / 0.569 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002153/0.4833, allocations: 1.295 MB / 0.5703 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.4835, allocations: 43.27 kB / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.4836, allocations: 0 / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/0.4837, allocations: 9.359 kB / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.4838, allocations: 4.156 kB / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.4839, allocations: 17.47 kB / 0.5704 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.4845, allocations: 0.8455 MB / 0.5712 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.4846, allocations: 9.547 kB / 0.5712 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.4848, allocations: 290.9 kB / 0.5715 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.4851, allocations: 293.5 kB / 0.5718 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.4852, allocations: 45.38 kB / 0.5718 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.4854, allocations: 49.59 kB / 0.5719 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.4856, allocations: 254.6 kB / 0.5721 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.4858, allocations: 282.5 kB / 0.5724 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.4861, allocations: 451.5 kB / 0.5728 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4861, allocations: 0 / 0.5728 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.71e-07/0.4861, allocations: 4 kB / 0.5728 GB, free: 41.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4862, allocations: 1.188 kB / 0.5728 GB, free: 41.09 MB / 462.3 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.00247/0.4886, allocations: 1.221 MB / 0.574 GB, free: 40.28 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4887, allocations: 9.875 kB / 0.574 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.4888, allocations: 49.78 kB / 0.5741 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.4892, allocations: 309.4 kB / 0.5743 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.4892, allocations: 55.41 kB / 0.5744 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.4894, allocations: 117.4 kB / 0.5745 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008714/0.4902, allocations: 0.6256 MB / 0.5751 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.4903, allocations: 13.16 kB / 0.5751 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.4904, allocations: 27.25 kB / 0.5752 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.4904, allocations: 15.86 kB / 0.5752 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.491, allocations: 428.9 kB / 0.5756 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.4919, allocations: 0.7833 MB / 0.5764 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.4932, allocations: 0.9414 MB / 0.5773 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.4939, allocations: 480.2 kB / 0.5777 GB, free: 38.15 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.367e-05/0.4939, allocations: 20.28 kB / 0.5777 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.494, allocations: 48.56 kB / 0.5778 GB, free: 38.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 2.144e-06/0.494, allocations: 0 / 0.5778 GB, free: 38.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.00965/0.5036, allocations: 2.905 MB / 0.5806 GB, free: 36.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.5037, allocations: 67.47 kB / 0.5807 GB, free: 36.52 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.5037, allocations: 121.1 kB / 0.5808 GB, free: 36.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.5038, allocations: 60.73 kB / 0.5809 GB, free: 36.35 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.5039, allocations: 97.03 kB / 0.581 GB, free: 36.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.5041, allocations: 492.8 kB / 0.5814 GB, free: 35.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.5044, allocations: 283.6 kB / 0.5817 GB, free: 35.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.5044, allocations: 311.1 kB / 0.582 GB, free: 35.36 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.5051, allocations: 0.4975 MB / 0.5825 GB, free: 35.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/0.5059, allocations: 0.8326 MB / 0.5833 GB, free: 34.54 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.5074, allocations: 1.433 MB / 0.5847 GB, free: 33.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.5074, allocations: 4 kB / 0.5847 GB, free: 33.37 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003096/0.5105, allocations: 1.992 MB / 0.5866 GB, free: 31.37 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5106, allocations: 10.5 kB / 0.5867 GB, free: 31.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5106, allocations: 8 kB / 0.5867 GB, free: 31.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.5128, allocations: 0.5783 MB / 0.5872 GB, free: 30.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.5136, allocations: 323.6 kB / 0.5875 GB, free: 30.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/0.5195, allocations: 4.666 MB / 0.5921 GB, free: 25.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.5201, allocations: 114.8 kB / 0.5922 GB, free: 25.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.5201, allocations: 56 kB / 0.5923 GB, free: 25.48 MB / 462.3 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.0002592/0.5204, allocations: 241.4 kB / 0.5925 GB, free: 25.23 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.5205, allocations: 39.53 kB / 0.5925 GB, free: 25.19 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.5207, allocations: 115.9 kB / 0.5926 GB, free: 25.08 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.5207, allocations: 16.06 kB / 0.5927 GB, free: 25.06 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/0.5207, allocations: 4 kB / 0.5927 GB, free: 25.06 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5207, allocations: 7.922 kB / 0.5927 GB, free: 25.05 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.5215, allocations: 0.759 MB / 0.5934 GB, free: 24.24 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5215, allocations: 3.938 kB / 0.5934 GB, free: 24.24 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.5228, allocations: 267.8 kB / 0.5937 GB, free: 23.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.5249, allocations: 0.5587 MB / 0.5942 GB, free: 23.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.5251, allocations: 55.95 kB / 0.5943 GB, free: 23.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005836/0.5309, allocations: 4.643 MB / 0.5988 GB, free: 18.58 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5309, allocations: 0 / 0.5988 GB, free: 18.58 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.5344, allocations: 2.33 MB / 0.6011 GB, free: 16.23 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.5345, allocations: 132.3 kB / 0.6012 GB, free: 16.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5346, allocations: 59.95 kB / 0.6013 GB, free: 16.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.5349, allocations: 20 kB / 0.6013 GB, free: 16.01 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.5351, allocations: 88.86 kB / 0.6014 GB, free: 15.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.5352, allocations: 31.98 kB / 0.6014 GB, free: 15.89 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.393e-05/0.5352, allocations: 87.2 kB / 0.6015 GB, free: 15.8 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5352, allocations: 0 / 0.6015 GB, free: 15.8 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007095/0.5359, allocations: 288 kB / 0.6017 GB, free: 15.52 MB / 462.3 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.0001804/0.5361, allocations: 171.3 kB / 0.6019 GB, free: 15.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002689/0.5388, allocations: 1.681 MB / 0.6036 GB, free: 13.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5388, allocations: 0.6875 kB / 0.6036 GB, free: 13.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.5406, allocations: 1.013 MB / 0.6045 GB, free: 12.62 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.5409, allocations: 43.98 kB / 0.6046 GB, free: 12.58 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.5463, allocations: 5.997 MB / 0.6104 GB, free: 6.551 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.5466, allocations: 0.9402 MB / 0.6114 GB, free: 5.586 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005214/0.5471, allocations: 297.4 kB / 0.6116 GB, free: 5.293 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.5473, allocations: 39.44 kB / 0.6117 GB, free: 5.254 MB / 462.3 MB Notification: Performance of SimCode: time 1.372e-06/0.5473, allocations: 4 kB / 0.6117 GB, free: 5.25 MB / 462.3 MB Notification: Performance of Templates: time 0.01357/0.5608, allocations: 10.19 MB / 0.6216 GB, free: 11.09 MB / 478.3 MB 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)