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.001408/0.001408, allocations: 96.94 kB / 16.3 MB, free: 6.461 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.00168/0.00168, allocations: 173.3 kB / 17.19 MB, free: 6.348 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.462/1.462, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9554/0.9554, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 8 kB / 0.4942 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1958, allocations: 82.85 MB / 0.5751 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001493/0.1973, allocations: 0.9339 MB / 0.576 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.1976, allocations: 39.89 kB / 0.576 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.1976, allocations: 4 kB / 0.576 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.1977, allocations: 7.938 kB / 0.576 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.323e-05/0.1978, allocations: 7.969 kB / 0.576 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.198, allocations: 15.98 kB / 0.5761 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.1986, allocations: 0.5617 MB / 0.5766 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.094e-05/0.1986, allocations: 4 kB / 0.5766 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004904/0.1991, allocations: 287.8 kB / 0.5769 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005672/0.1997, allocations: 267.5 kB / 0.5771 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.1999, allocations: 44 kB / 0.5772 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.2, allocations: 48 kB / 0.5772 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.2002, allocations: 235.5 kB / 0.5775 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.2005, allocations: 97.52 kB / 0.5775 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.2009, allocations: 351.4 kB / 0.5779 GB, free: 5.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2009, allocations: 7.938 kB / 0.5779 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2009, allocations: 0 / 0.5779 GB, free: 5.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.2009, allocations: 0 / 0.5779 GB, free: 5.238 MB / 446.1 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.002882/0.2038, allocations: 1.159 MB / 0.579 GB, free: 4.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2038, allocations: 8.031 kB / 0.579 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.204, allocations: 55.48 kB / 0.5791 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.2047, allocations: 310.5 kB / 0.5794 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.2047, allocations: 53 kB / 0.5794 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.205, allocations: 115.7 kB / 0.5795 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.2061, allocations: 0.6191 MB / 0.5801 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.513e-05/0.2061, allocations: 15.81 kB / 0.5802 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.2062, allocations: 20 kB / 0.5802 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.2062, allocations: 12 kB / 0.5802 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.207, allocations: 439.5 kB / 0.5806 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2082, allocations: 0.7903 MB / 0.5814 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.2097, allocations: 0.9238 MB / 0.5823 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.471e-05/0.2098, allocations: 17 kB / 0.5823 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.2098, allocations: 43.56 kB / 0.5823 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 2.525e-06/0.2098, allocations: 0 / 0.5823 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.533/0.7429, allocations: 2.863 MB / 0.5851 GB, free: 16.05 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.7429, allocations: 71.06 kB / 0.5852 GB, free: 15.98 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.7431, allocations: 124.3 kB / 0.5853 GB, free: 15.89 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/0.7431, allocations: 57.7 kB / 0.5854 GB, free: 15.86 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.7432, allocations: 99.56 kB / 0.5855 GB, free: 15.77 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.7436, allocations: 488.7 kB / 0.5859 GB, free: 15.48 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.7436, allocations: 31.16 kB / 0.586 GB, free: 15.48 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7437, allocations: 377 kB / 0.5863 GB, free: 15.16 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008621/0.7446, allocations: 0.4967 MB / 0.5868 GB, free: 15.16 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.7458, allocations: 0.8228 MB / 0.5876 GB, free: 14.82 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.7469, allocations: 0.6319 MB / 0.5882 GB, free: 14.75 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.7469, allocations: 3.156 kB / 0.5882 GB, free: 14.75 MB / 446.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004131/0.751, allocations: 1.979 MB / 0.5902 GB, free: 14.14 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.7511, allocations: 9.734 kB / 0.5902 GB, free: 14.14 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.7511, allocations: 9.469 kB / 0.5902 GB, free: 14.14 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/0.7537, allocations: 0.5809 MB / 0.5908 GB, free: 14.05 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.7548, allocations: 324.6 kB / 0.5911 GB, free: 14.03 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.7625, allocations: 4.855 MB / 0.5958 GB, free: 11.73 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/0.7632, allocations: 113.6 kB / 0.5959 GB, free: 11.64 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/0.7633, allocations: 61.22 kB / 0.596 GB, free: 11.63 MB / 446.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.0003082/0.7636, allocations: 245.7 kB / 0.5962 GB, free: 11.44 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.7637, allocations: 40.81 kB / 0.5962 GB, free: 11.42 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.7639, allocations: 115.4 kB / 0.5964 GB, free: 11.31 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.7639, allocations: 12.88 kB / 0.5964 GB, free: 11.31 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.912e-05/0.764, allocations: 6.875 kB / 0.5964 GB, free: 11.31 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.764, allocations: 5.906 kB / 0.5964 GB, free: 11.31 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.765, allocations: 0.7545 MB / 0.5971 GB, free: 10.97 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.765, allocations: 3.953 kB / 0.5971 GB, free: 10.96 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.7665, allocations: 268.1 kB / 0.5974 GB, free: 10.95 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/0.7688, allocations: 0.5661 MB / 0.5979 GB, free: 10.86 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.7689, allocations: 57.56 kB / 0.598 GB, free: 10.84 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007211/0.7761, allocations: 4.831 MB / 0.6027 GB, free: 8 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7762, allocations: 1.344 kB / 0.6027 GB, free: 8 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/0.7803, allocations: 2.325 MB / 0.605 GB, free: 6.996 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.7804, allocations: 133 kB / 0.6051 GB, free: 6.863 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.7806, allocations: 48.55 kB / 0.6051 GB, free: 6.84 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.7809, allocations: 20.12 kB / 0.6052 GB, free: 6.824 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.7811, allocations: 85.22 kB / 0.6052 GB, free: 6.781 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.71e-05/0.7812, allocations: 39.83 kB / 0.6053 GB, free: 6.766 MB / 446.3 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.7812, allocations: 82.39 kB / 0.6054 GB, free: 6.688 MB / 446.3 MB Notification: Performance of sort global known variables: time 3.086e-06/0.7812, allocations: 0 / 0.6054 GB, free: 6.688 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.001021/0.7822, allocations: 294.3 kB / 0.6056 GB, free: 6.633 MB / 446.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.0002246/0.7825, allocations: 168.6 kB / 0.6058 GB, free: 6.504 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.003296/0.7858, allocations: 1.67 MB / 0.6074 GB, free: 5.742 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7858, allocations: 1.812 kB / 0.6074 GB, free: 5.742 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.7878, allocations: 1.019 MB / 0.6084 GB, free: 5.238 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.788, allocations: 25.77 kB / 0.6085 GB, free: 5.219 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006861/0.7949, allocations: 7.023 MB / 0.6153 GB, free: 15.78 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.7954, allocations: 0.9542 MB / 0.6162 GB, free: 14.97 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006108/0.796, allocations: 299.6 kB / 0.6165 GB, free: 14.83 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.7962, allocations: 43 kB / 0.6166 GB, free: 14.82 MB / 462.3 MB Notification: Performance of SimCode: time 5.31e-07/0.7962, allocations: 0 / 0.6166 GB, free: 14.82 MB / 462.3 MB Notification: Performance of Templates: time 0.01468/0.8109, allocations: 9.71 MB / 0.6261 GB, free: 5.527 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: