Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001232/0.001232, allocations: 108.5 kB / 16.62 MB, free: 6.961 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.001276/0.001276, allocations: 194 kB / 17.55 MB, free: 6.062 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.226/1.226, allocations: 222.9 MB / 241.2 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.867/0.867, allocations: 119.3 MB / 410.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.91 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4391, allocations: 80.69 MB / 0.5692 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001997/0.4411, allocations: 1.287 MB / 0.5705 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.4413, allocations: 45.75 kB / 0.5705 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.4413, allocations: 1.406 kB / 0.5705 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.535e-05/0.4414, allocations: 7.984 kB / 0.5706 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.4415, allocations: 9.469 kB / 0.5706 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.4416, allocations: 20.3 kB / 0.5706 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005584/0.4422, allocations: 0.8418 MB / 0.5714 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.4423, allocations: 9.203 kB / 0.5714 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.4425, allocations: 291.1 kB / 0.5717 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.4428, allocations: 297.2 kB / 0.572 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.344e-05/0.4429, allocations: 49.14 kB / 0.572 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.443, allocations: 46.06 kB / 0.5721 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.4431, allocations: 258.4 kB / 0.5723 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.4434, allocations: 278.9 kB / 0.5726 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.4437, allocations: 451.5 kB / 0.573 GB, free: 41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4437, allocations: 3.984 kB / 0.573 GB, free: 41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4437, allocations: 0 / 0.573 GB, free: 41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4437, allocations: 3.938 kB / 0.573 GB, free: 40.99 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.002405/0.4461, allocations: 1.222 MB / 0.5742 GB, free: 40.18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.4462, allocations: 14.05 kB / 0.5742 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.4463, allocations: 53.97 kB / 0.5743 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.4466, allocations: 307.7 kB / 0.5746 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.4467, allocations: 59.94 kB / 0.5746 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.4468, allocations: 114.2 kB / 0.5747 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.4477, allocations: 0.6209 MB / 0.5753 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.4477, allocations: 17.11 kB / 0.5754 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.4478, allocations: 25.31 kB / 0.5754 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.4478, allocations: 10.75 kB / 0.5754 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.4484, allocations: 437 kB / 0.5758 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008669/0.4493, allocations: 0.7913 MB / 0.5766 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.4506, allocations: 0.9337 MB / 0.5775 GB, free: 38.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.4512, allocations: 475.2 kB / 0.5779 GB, free: 38.05 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.277e-05/0.4512, allocations: 16.31 kB / 0.578 GB, free: 38.04 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.4513, allocations: 44.59 kB / 0.578 GB, free: 37.99 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 2.194e-06/0.4513, allocations: 0 / 0.578 GB, free: 37.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.009417/0.4607, allocations: 2.905 MB / 0.5808 GB, free: 36.5 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.4608, allocations: 76.2 kB / 0.5809 GB, free: 36.42 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4609, allocations: 120.9 kB / 0.581 GB, free: 36.3 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/0.461, allocations: 56.05 kB / 0.5811 GB, free: 36.25 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.4611, allocations: 105 kB / 0.5812 GB, free: 36.15 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.4614, allocations: 493.7 kB / 0.5817 GB, free: 35.71 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.4617, allocations: 280 kB / 0.5819 GB, free: 35.57 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.4618, allocations: 310 kB / 0.5822 GB, free: 35.26 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007491/0.4625, allocations: 0.4986 MB / 0.5827 GB, free: 35.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009695/0.4635, allocations: 0.8289 MB / 0.5835 GB, free: 34.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.4652, allocations: 1.43 MB / 0.5849 GB, free: 33.31 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4653, allocations: 4 kB / 0.5849 GB, free: 33.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003178/0.4684, allocations: 1.996 MB / 0.5869 GB, free: 31.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4685, allocations: 8 kB / 0.5869 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4685, allocations: 8 kB / 0.5869 GB, free: 31.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/0.4707, allocations: 0.5744 MB / 0.5874 GB, free: 30.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.4715, allocations: 327.6 kB / 0.5877 GB, free: 30.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/0.4776, allocations: 5.053 MB / 0.5927 GB, free: 25.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.4782, allocations: 118.8 kB / 0.5928 GB, free: 25.06 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.4782, allocations: 60.06 kB / 0.5929 GB, free: 25 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.0002489/0.4785, allocations: 237.4 kB / 0.5931 GB, free: 24.76 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.4786, allocations: 39.53 kB / 0.5931 GB, free: 24.72 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.4788, allocations: 115.9 kB / 0.5932 GB, free: 24.61 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4788, allocations: 12 kB / 0.5932 GB, free: 24.6 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-05/0.4788, allocations: 11.94 kB / 0.5932 GB, free: 24.59 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4788, allocations: 7.969 kB / 0.5933 GB, free: 24.58 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.4796, allocations: 0.7551 MB / 0.594 GB, free: 23.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4796, allocations: 4 kB / 0.594 GB, free: 23.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.4809, allocations: 267.8 kB / 0.5943 GB, free: 23.51 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/0.4829, allocations: 0.5587 MB / 0.5948 GB, free: 22.95 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/0.4831, allocations: 63.88 kB / 0.5949 GB, free: 22.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005845/0.4889, allocations: 5.019 MB / 0.5998 GB, free: 17.72 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4889, allocations: 0 / 0.5998 GB, free: 17.72 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/0.4923, allocations: 2.318 MB / 0.602 GB, free: 15.39 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.4924, allocations: 140.3 kB / 0.6022 GB, free: 15.23 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4925, allocations: 47.95 kB / 0.6022 GB, free: 15.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.4928, allocations: 24 kB / 0.6022 GB, free: 15.16 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.493, allocations: 96.86 kB / 0.6023 GB, free: 15.06 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.493, allocations: 31.98 kB / 0.6024 GB, free: 15.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.092e-05/0.493, allocations: 79.28 kB / 0.6024 GB, free: 14.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4931, allocations: 0 / 0.6024 GB, free: 14.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006978/0.4938, allocations: 284 kB / 0.6027 GB, free: 14.68 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.0001692/0.4939, allocations: 169.5 kB / 0.6029 GB, free: 14.5 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00339/0.4973, allocations: 2.31 MB / 0.6051 GB, free: 12.17 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4973, allocations: 0 / 0.6051 GB, free: 12.17 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.4991, allocations: 1.017 MB / 0.6061 GB, free: 11.14 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.4994, allocations: 44 kB / 0.6061 GB, free: 11.1 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.5047, allocations: 6.003 MB / 0.612 GB, free: 5.066 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.505, allocations: 0.9403 MB / 0.6129 GB, free: 4.102 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.5055, allocations: 297.4 kB / 0.6132 GB, free: 3.809 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.5056, allocations: 39.44 kB / 0.6133 GB, free: 3.77 MB / 462.3 MB Notification: Performance of SimCode: time 7.01e-07/0.5056, allocations: 0 / 0.6133 GB, free: 3.77 MB / 462.3 MB Notification: Performance of Templates: time 0.01297/0.5186, allocations: 10.09 MB / 0.6231 GB, free: 9.707 MB / 478.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)