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.001617/0.001617, allocations: 111.6 kB / 17.06 MB, free: 6 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.001931/0.001931, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9812/0.9812, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 61.58 kB / 0.571 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1698, allocations: 80.69 MB / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002438/0.1723, allocations: 1.223 MB / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002272/0.1725, allocations: 43.84 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.1726, allocations: 0 / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.292e-05/0.1727, allocations: 11.94 kB / 0.651 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.717e-05/0.1727, allocations: 8 kB / 0.651 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.1729, allocations: 23.94 kB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008018/0.1737, allocations: 0.8427 MB / 0.6519 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.1738, allocations: 4 kB / 0.6519 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.1741, allocations: 299.7 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.1745, allocations: 277.5 kB / 0.6524 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.712e-05/0.1746, allocations: 44 kB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.1747, allocations: 44 kB / 0.6525 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.1749, allocations: 257.8 kB / 0.6528 GB, free: 9.891 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.1753, allocations: 278.9 kB / 0.653 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1756, allocations: 458.5 kB / 0.6535 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1757, allocations: 7.922 kB / 0.6535 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1757, allocations: 0 / 0.6535 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.1757, allocations: 0 / 0.6535 GB, free: 9.16 MB / 0.4983 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.002981/0.1787, allocations: 1.226 MB / 0.6547 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1787, allocations: 11.89 kB / 0.6547 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.1789, allocations: 48.47 kB / 0.6547 GB, free: 7.82 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.1793, allocations: 319.7 kB / 0.655 GB, free: 7.469 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.1793, allocations: 57.38 kB / 0.6551 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.1795, allocations: 116.1 kB / 0.6552 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.1805, allocations: 0.6197 MB / 0.6558 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.1806, allocations: 24 kB / 0.6558 GB, free: 6.652 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.1807, allocations: 23.94 kB / 0.6559 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.1807, allocations: 12 kB / 0.6559 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.1814, allocations: 439.5 kB / 0.6563 GB, free: 6.188 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1824, allocations: 0.7864 MB / 0.6571 GB, free: 5.352 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.1838, allocations: 0.9346 MB / 0.658 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.1845, allocations: 471.6 kB / 0.6584 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.009e-05/0.1846, allocations: 16.94 kB / 0.6584 GB, free: 3.926 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1846, allocations: 43.56 kB / 0.6585 GB, free: 3.875 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=120): time 4.208e-06/0.1847, allocations: 0 / 0.6585 GB, free: 3.875 MB / 0.4983 GB Notification: Performance of matching and sorting (n=120): time 0.01099/0.1956, allocations: 2.908 MB / 0.6613 GB, free: 0.9375 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1957, allocations: 76.27 kB / 0.6614 GB, free: 0.8516 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1959, allocations: 117.8 kB / 0.6615 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 9.701e-05/0.196, allocations: 57.7 kB / 0.6616 GB, free: 0.6641 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.196, allocations: 98.66 kB / 0.6616 GB, free: 0.5625 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.1964, allocations: 492.9 kB / 0.6621 GB, free: 76 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.1968, allocations: 279.6 kB / 0.6624 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1969, allocations: 314 kB / 0.6627 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.1976, allocations: 0.4996 MB / 0.6632 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009892/0.1986, allocations: 0.8356 MB / 0.664 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.2006, allocations: 1.424 MB / 0.6654 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.2006, allocations: 4 kB / 0.6654 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00399/0.2046, allocations: 1.996 MB / 0.6673 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.2047, allocations: 11.28 kB / 0.6673 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.2047, allocations: 8 kB / 0.6673 GB, free: 10.44 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.2072, allocations: 0.5744 MB / 0.6679 GB, free: 9.863 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.2083, allocations: 327.6 kB / 0.6682 GB, free: 9.543 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00817/0.2165, allocations: 5.053 MB / 0.6732 GB, free: 4.344 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.2173, allocations: 114.8 kB / 0.6733 GB, free: 4.23 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-05/0.2174, allocations: 60 kB / 0.6733 GB, free: 4.172 MB / 0.5139 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 () * 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.0003215/0.2177, allocations: 238.3 kB / 0.6735 GB, free: 3.93 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.2178, allocations: 39.53 kB / 0.6736 GB, free: 3.891 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.2181, allocations: 119.9 kB / 0.6737 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2181, allocations: 12 kB / 0.6737 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/0.2182, allocations: 8 kB / 0.6737 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.2182, allocations: 7.969 kB / 0.6737 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.2191, allocations: 0.7513 MB / 0.6745 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2191, allocations: 0 / 0.6745 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.2206, allocations: 267.7 kB / 0.6747 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/0.2229, allocations: 0.5665 MB / 0.6753 GB, free: 2.117 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.2231, allocations: 63.88 kB / 0.6753 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007969/0.231, allocations: 5.015 MB / 0.6802 GB, free: 12.89 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2311, allocations: 0 / 0.6802 GB, free: 12.89 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00431/0.2354, allocations: 2.33 MB / 0.6825 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.2355, allocations: 132.3 kB / 0.6826 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.2357, allocations: 51.95 kB / 0.6827 GB, free: 10.34 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.2361, allocations: 20 kB / 0.6827 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.2363, allocations: 88.86 kB / 0.6828 GB, free: 10.24 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.2364, allocations: 31.98 kB / 0.6828 GB, free: 10.21 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.2364, allocations: 87.28 kB / 0.6829 GB, free: 10.12 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2364, allocations: 0 / 0.6829 GB, free: 10.12 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0009202/0.2374, allocations: 284 kB / 0.6832 GB, free: 9.844 MB / 0.5295 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 () * 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.0003058/0.2377, allocations: 169.3 kB / 0.6833 GB, free: 9.668 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00355/0.2412, allocations: 1.692 MB / 0.685 GB, free: 7.961 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2413, allocations: 0 / 0.685 GB, free: 7.961 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.00221/0.2435, allocations: 1.018 MB / 0.686 GB, free: 6.934 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2438, allocations: 44 kB / 0.686 GB, free: 6.891 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00732/0.2512, allocations: 5.823 MB / 0.6917 GB, free: 1.035 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.2517, allocations: 0.9364 MB / 0.6926 GB, free: 72 kB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0006916/0.2524, allocations: 297.5 kB / 0.6929 GB, free: 15.77 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2526, allocations: 43.44 kB / 0.6929 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of SimCode: time 7.81e-07/0.2526, allocations: 0 / 0.6929 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of Templates: time 0.01736/0.27, allocations: 10.38 MB / 0.7031 GB, free: 5.383 MB / 0.5452 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)