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.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 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.001259/0.00126, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.286/1.286, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.001104/0.001104, allocations: 91.42 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7705/0.7705, allocations: 120.5 MB / 463.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 8 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 82.84 MB / 0.6242 GB, free: 9.227 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6588/0.805, allocations: 125.4 MB / 0.7467 GB, free: 8.719 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.8052, allocations: 54.34 kB / 0.7467 GB, free: 8.691 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.02674/0.832, allocations: 8.525 MB / 0.7551 GB, free: 0.9062 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.404e-06/0.832, allocations: 0 / 0.7551 GB, free: 0.9062 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.8321, allocations: 12 kB / 0.7551 GB, free: 0.8945 MB / 0.5107 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.002358/0.8344, allocations: 0.9932 MB / 0.756 GB, free: 15.88 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8345, allocations: 8.031 kB / 0.756 GB, free: 15.87 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.8347, allocations: 51.48 kB / 0.7561 GB, free: 15.82 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.8353, allocations: 315.2 kB / 0.7564 GB, free: 15.47 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.8354, allocations: 59.98 kB / 0.7564 GB, free: 15.44 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.8356, allocations: 113.8 kB / 0.7566 GB, free: 15.36 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.8367, allocations: 0.6272 MB / 0.7572 GB, free: 14.87 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.8367, allocations: 23.8 kB / 0.7572 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.8368, allocations: 19.62 kB / 0.7572 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.8368, allocations: 15.95 kB / 0.7572 GB, free: 14.82 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.8375, allocations: 435.2 kB / 0.7576 GB, free: 14.48 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.8387, allocations: 0.8116 MB / 0.7584 GB, free: 13.78 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.84, allocations: 0.9286 MB / 0.7593 GB, free: 13.09 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 5.524e-05/0.8401, allocations: 16.94 kB / 0.7594 GB, free: 13.07 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.8401, allocations: 43.31 kB / 0.7594 GB, free: 13.03 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=120): time 2.665e-06/0.8401, allocations: 0 / 0.7594 GB, free: 13.03 MB / 0.5263 GB Notification: Performance of matching and sorting (n=120): time 0.01209/0.8522, allocations: 3.279 MB / 0.7626 GB, free: 10.08 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.8523, allocations: 72.27 kB / 0.7627 GB, free: 10 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.8525, allocations: 120 kB / 0.7628 GB, free: 9.887 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.8526, allocations: 52.83 kB / 0.7628 GB, free: 9.852 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.8527, allocations: 102.2 kB / 0.7629 GB, free: 9.758 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/0.8531, allocations: 489.3 kB / 0.7634 GB, free: 9.344 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.8532, allocations: 31.12 kB / 0.7634 GB, free: 9.336 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8534, allocations: 377.8 kB / 0.7638 GB, free: 8.984 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.8543, allocations: 0.502 MB / 0.7643 GB, free: 8.602 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.8553, allocations: 0.8297 MB / 0.7651 GB, free: 7.797 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.8563, allocations: 0.6509 MB / 0.7657 GB, free: 7.332 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.8563, allocations: 0 / 0.7657 GB, free: 7.332 MB / 0.5263 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003976/0.8603, allocations: 2.055 MB / 0.7677 GB, free: 5.676 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.8603, allocations: 14.77 kB / 0.7677 GB, free: 5.664 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.8603, allocations: 12 kB / 0.7678 GB, free: 5.652 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002755/0.8631, allocations: 0.6317 MB / 0.7684 GB, free: 5.066 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8641, allocations: 325.8 kB / 0.7687 GB, free: 4.758 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007528/0.8717, allocations: 4.88 MB / 0.7734 GB, free: 0.6094 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/0.8724, allocations: 126.3 kB / 0.7736 GB, free: 0.5078 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.8725, allocations: 59.56 kB / 0.7736 GB, free: 476 kB / 0.5263 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 (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.0003604/0.8729, allocations: 245.4 kB / 0.7739 GB, free: 264 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.873, allocations: 43.48 kB / 0.7739 GB, free: 220 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.8733, allocations: 118.4 kB / 0.774 GB, free: 212 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.8733, allocations: 12.19 kB / 0.774 GB, free: 200 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-05/0.8733, allocations: 8 kB / 0.774 GB, free: 192 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.8733, allocations: 11.95 kB / 0.774 GB, free: 180 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.8745, allocations: 0.7863 MB / 0.7748 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.8745, allocations: 0 / 0.7748 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.8759, allocations: 271.2 kB / 0.7751 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/0.8786, allocations: 0.6197 MB / 0.7757 GB, free: 14.7 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.8787, allocations: 51.53 kB / 0.7757 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007387/0.8861, allocations: 4.872 MB / 0.7805 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8861, allocations: 0 / 0.7805 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/0.8905, allocations: 2.399 MB / 0.7828 GB, free: 8.543 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.8906, allocations: 128.4 kB / 0.7829 GB, free: 8.398 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.8907, allocations: 51.45 kB / 0.783 GB, free: 8.363 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.8911, allocations: 39.53 kB / 0.783 GB, free: 8.34 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.8912, allocations: 92.23 kB / 0.7831 GB, free: 8.262 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/0.8913, allocations: 35.56 kB / 0.7832 GB, free: 8.234 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.8914, allocations: 79.27 kB / 0.7832 GB, free: 8.156 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8914, allocations: 0 / 0.7832 GB, free: 8.156 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007664/0.8921, allocations: 285.9 kB / 0.7835 GB, free: 7.926 MB / 0.5419 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 (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.0002286/0.8924, allocations: 172.6 kB / 0.7837 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.003125/0.8955, allocations: 1.688 MB / 0.7853 GB, free: 6.352 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8955, allocations: 1.938 kB / 0.7853 GB, free: 6.352 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.8975, allocations: 1.01 MB / 0.7863 GB, free: 5.492 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.8977, allocations: 27.61 kB / 0.7863 GB, free: 5.48 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/0.905, allocations: 7.037 MB / 0.7932 GB, free: 14.56 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.9055, allocations: 0.9519 MB / 0.7941 GB, free: 13.58 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.0007047/0.9062, allocations: 301.4 kB / 0.7944 GB, free: 13.29 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.9064, allocations: 43.44 kB / 0.7945 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of SimCode: time 1.102e-06/0.9064, allocations: 0 / 0.7945 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of Templates: time 0.01501/0.9214, allocations: 9.725 MB / 0.804 GB, free: 3.559 MB / 0.5575 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)