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.001229/0.001229, allocations: 86.14 kB / 16.31 MB, free: 6.453 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.001357/0.001357, allocations: 182.8 kB / 17.21 MB, free: 6.324 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.427/1.427, allocations: 223.3 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9766/0.9766, allocations: 120.5 MB / 412.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 15.98 kB / 0.4943 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.5309, allocations: 82.84 MB / 0.5752 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001065/0.532, allocations: 0.9453 MB / 0.5761 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001824/0.5322, allocations: 46.7 kB / 0.5761 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.5323, allocations: 0 / 0.5761 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.894e-05/0.5324, allocations: 0 / 0.5761 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.5325, allocations: 19.14 kB / 0.5761 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.5326, allocations: 16.44 kB / 0.5762 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.5332, allocations: 0.7265 MB / 0.5769 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.5333, allocations: 4.344 kB / 0.5769 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.5335, allocations: 304.4 kB / 0.5772 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.5339, allocations: 299.6 kB / 0.5775 GB, free: 39.85 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.534, allocations: 44.53 kB / 0.5775 GB, free: 39.85 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.5341, allocations: 45.31 kB / 0.5775 GB, free: 39.85 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.5343, allocations: 254.2 kB / 0.5778 GB, free: 39.69 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.5344, allocations: 99.36 kB / 0.5779 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.5347, allocations: 350.6 kB / 0.5782 GB, free: 39.46 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5347, allocations: 0 / 0.5782 GB, free: 39.46 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5347, allocations: 0 / 0.5782 GB, free: 39.46 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.5347, allocations: 1.125 kB / 0.5782 GB, free: 39.46 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.002374/0.5371, allocations: 1.166 MB / 0.5794 GB, free: 38.69 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5371, allocations: 8.25 kB / 0.5794 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.5372, allocations: 53.73 kB / 0.5794 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5376, allocations: 306.4 kB / 0.5797 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.505e-05/0.5377, allocations: 54.44 kB / 0.5798 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.5378, allocations: 118.5 kB / 0.5799 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.5389, allocations: 0.6136 MB / 0.5805 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.5389, allocations: 32.89 kB / 0.5805 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.859e-05/0.539, allocations: 19.69 kB / 0.5805 GB, free: 37.94 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.539, allocations: 19.89 kB / 0.5805 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.5397, allocations: 435.1 kB / 0.581 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.5407, allocations: 0.7816 MB / 0.5817 GB, free: 37.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.5421, allocations: 0.9256 MB / 0.5826 GB, free: 36.77 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.5428, allocations: 471.3 kB / 0.5831 GB, free: 36.56 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.5428, allocations: 12.97 kB / 0.5831 GB, free: 36.55 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5429, allocations: 44.19 kB / 0.5831 GB, free: 36.51 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 2.435e-06/0.5429, allocations: 4 kB / 0.5831 GB, free: 36.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.009033/0.5519, allocations: 2.867 MB / 0.5859 GB, free: 35.03 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.552, allocations: 69.02 kB / 0.586 GB, free: 34.96 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.5521, allocations: 119.9 kB / 0.5861 GB, free: 34.84 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.016e-05/0.5522, allocations: 57.3 kB / 0.5862 GB, free: 34.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.5522, allocations: 99.72 kB / 0.5863 GB, free: 34.69 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.5525, allocations: 493.7 kB / 0.5867 GB, free: 34.26 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.5525, allocations: 30.28 kB / 0.5868 GB, free: 34.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.5526, allocations: 383 kB / 0.5871 GB, free: 33.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006373/0.5533, allocations: 0.494 MB / 0.5876 GB, free: 33.4 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/0.554, allocations: 0.8239 MB / 0.5884 GB, free: 32.45 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/0.5548, allocations: 0.6353 MB / 0.589 GB, free: 31.82 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.5548, allocations: 0 / 0.589 GB, free: 31.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003076/0.5579, allocations: 1.985 MB / 0.591 GB, free: 29.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5579, allocations: 8 kB / 0.591 GB, free: 29.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.5579, allocations: 8 kB / 0.591 GB, free: 29.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/0.5599, allocations: 0.5789 MB / 0.5915 GB, free: 29.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.5608, allocations: 323.6 kB / 0.5919 GB, free: 28.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/0.5669, allocations: 4.689 MB / 0.5964 GB, free: 24.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.5675, allocations: 110.8 kB / 0.5965 GB, free: 23.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.5676, allocations: 56 kB / 0.5966 GB, free: 23.92 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 (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.0002997/0.5679, allocations: 241.4 kB / 0.5968 GB, free: 23.67 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.568, allocations: 43.48 kB / 0.5969 GB, free: 23.63 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.5683, allocations: 119.9 kB / 0.597 GB, free: 23.52 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.5683, allocations: 16.06 kB / 0.597 GB, free: 23.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-05/0.5684, allocations: 4 kB / 0.597 GB, free: 23.5 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5684, allocations: 7.969 kB / 0.597 GB, free: 23.49 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007963/0.5692, allocations: 0.7551 MB / 0.5977 GB, free: 22.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5692, allocations: 0 / 0.5977 GB, free: 22.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.5704, allocations: 267.8 kB / 0.598 GB, free: 22.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.5723, allocations: 0.5664 MB / 0.5986 GB, free: 21.85 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.613e-05/0.5725, allocations: 59.94 kB / 0.5986 GB, free: 21.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005811/0.5783, allocations: 4.655 MB / 0.6032 GB, free: 17 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.5783, allocations: 7.922 kB / 0.6032 GB, free: 16.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/0.5816, allocations: 2.326 MB / 0.6054 GB, free: 14.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.5817, allocations: 136.3 kB / 0.6056 GB, free: 14.49 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.5819, allocations: 47.95 kB / 0.6056 GB, free: 14.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.5822, allocations: 20 kB / 0.6056 GB, free: 14.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.5823, allocations: 92.8 kB / 0.6057 GB, free: 14.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.5824, allocations: 35.98 kB / 0.6058 GB, free: 14.3 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.175e-05/0.5824, allocations: 79.27 kB / 0.6058 GB, free: 14.22 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5824, allocations: 4 kB / 0.6058 GB, free: 14.22 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007035/0.5831, allocations: 284 kB / 0.6061 GB, free: 13.94 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 (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.0002016/0.5833, allocations: 169.3 kB / 0.6063 GB, free: 13.77 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.586, allocations: 1.678 MB / 0.6079 GB, free: 12.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.586, allocations: 0 / 0.6079 GB, free: 12.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.5877, allocations: 1.009 MB / 0.6089 GB, free: 11.05 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.588, allocations: 40.81 kB / 0.6089 GB, free: 11.01 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.5937, allocations: 7.038 MB / 0.6158 GB, free: 3.938 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.594, allocations: 0.9363 MB / 0.6167 GB, free: 2.969 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005391/0.5946, allocations: 301.4 kB / 0.617 GB, free: 2.672 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5947, allocations: 43.44 kB / 0.617 GB, free: 2.629 MB / 462.3 MB Notification: Performance of SimCode: time 9.92e-07/0.5947, allocations: 0 / 0.617 GB, free: 2.629 MB / 462.3 MB Notification: Performance of Templates: time 0.01428/0.609, allocations: 9.727 MB / 0.6265 GB, free: 8.93 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)