Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.538/1.538, allocations: 221.3 MB / 235.5 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001137, allocations: 90.28 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.384/1.384, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.347e-05, allocations: 7.984 kB / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.834, allocations: 82.83 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/1.017, allocations: 125.3 MB / 0.7391 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.017, allocations: 63.91 kB / 0.7391 GB, free: 11.85 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.925/1.942, allocations: 16.71 MB / 0.7554 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.255e-06/1.942, allocations: 0 / 0.7554 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 6.592e-05/1.942, allocations: 20.59 kB / 0.7555 GB, free: 129.1 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005534/1.948, allocations: 1.687 MB / 0.7571 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/1.948, allocations: 9.594 kB / 0.7571 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005188/1.948, allocations: 152.3 kB / 0.7573 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/1.949, allocations: 97.73 kB / 0.7574 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.95, allocations: 465 kB / 0.7578 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/1.95, allocations: 107.9 kB / 0.7579 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005113/1.951, allocations: 235.5 kB / 0.7581 GB, free: 128 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/1.954, allocations: 1.204 MB / 0.7593 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/1.954, allocations: 36.81 kB / 0.7593 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/1.954, allocations: 39.58 kB / 0.7594 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.732e-05/1.954, allocations: 27.64 kB / 0.7594 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/1.956, allocations: 0.8277 MB / 0.7602 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/1.958, allocations: 1.478 MB / 0.7617 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/1.96, allocations: 1.823 MB / 0.7634 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/1.961, allocations: 0.9061 MB / 0.7643 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/1.961, allocations: 24.59 kB / 0.7643 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.962, allocations: 56.38 kB / 0.7644 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=240): time 6.943e-06/1.962, allocations: 0 / 0.7644 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=240): time 0.006354/1.968, allocations: 2.989 MB / 0.7673 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.968, allocations: 73.41 kB / 0.7674 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/1.968, allocations: 146.5 kB / 0.7675 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001998/1.968, allocations: 85.7 kB / 0.7676 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/1.968, allocations: 121.2 kB / 0.7677 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/1.969, allocations: 0.9633 MB / 0.7687 GB, free: 123.3 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.969, allocations: 60 kB / 0.7687 GB, free: 123.3 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.969, allocations: 443.5 kB / 0.7691 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/1.971, allocations: 0.9909 MB / 0.7701 GB, free: 122 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/1.973, allocations: 1.63 MB / 0.7717 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.974, allocations: 1.264 MB / 0.7729 GB, free: 119 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-05/1.974, allocations: 4 kB / 0.7729 GB, free: 119 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.007582/1.982, allocations: 4.041 MB / 0.7769 GB, free: 115 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/1.982, allocations: 12 kB / 0.7769 GB, free: 115 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.982, allocations: 16 kB / 0.7769 GB, free: 115 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/1.987, allocations: 1.258 MB / 0.7781 GB, free: 113.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/1.989, allocations: 0.6382 MB / 0.7788 GB, free: 113.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/2.002, allocations: 8.273 MB / 0.7868 GB, free: 104.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/2.003, allocations: 257.6 kB / 0.7871 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/2.004, allocations: 116 kB / 0.7872 GB, free: 104.3 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 320 * 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%) 79} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004817/2.004, allocations: 268.2 kB / 0.7875 GB, free: 104 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/2.005, allocations: 83.06 kB / 0.7875 GB, free: 103.9 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/2.005, allocations: 224.3 kB / 0.7878 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/2.005, allocations: 24 kB / 0.7878 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.184e-05/2.005, allocations: 12 kB / 0.7878 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/2.005, allocations: 11.95 kB / 0.7878 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/2.007, allocations: 1.416 MB / 0.7892 GB, free: 102.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/2.007, allocations: 0 / 0.7892 GB, free: 102.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/2.01, allocations: 0.5182 MB / 0.7897 GB, free: 101.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004624/2.014, allocations: 1.246 MB / 0.7909 GB, free: 100.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/2.015, allocations: 111.9 kB / 0.791 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/2.027, allocations: 8.241 MB / 0.7991 GB, free: 91.99 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.027, allocations: 0 / 0.7991 GB, free: 91.99 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008885/2.036, allocations: 5.198 MB / 0.8041 GB, free: 86.76 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/2.036, allocations: 175.7 kB / 0.8043 GB, free: 86.57 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/2.037, allocations: 107.9 kB / 0.8044 GB, free: 86.46 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/2.038, allocations: 71.94 kB / 0.8045 GB, free: 86.39 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/2.038, allocations: 178.5 kB / 0.8046 GB, free: 86.22 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/2.038, allocations: 67.97 kB / 0.8047 GB, free: 86.16 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.995e-05/2.038, allocations: 79.28 kB / 0.8048 GB, free: 86.08 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.41e-07/2.038, allocations: 0 / 0.8048 GB, free: 86.08 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001409/2.039, allocations: 0.5586 MB / 0.8053 GB, free: 85.52 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 160 (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],xm[41],xm[42],xm[43],xm[44],xm[45],xm[46],xm[47],xm[48],xm[49],xm[50],xm[51],xm[52],xm[53],xm[54],xm[55],xm[56],xm[57],xm[58],xm[59],xm[60],xm[61],xm[62],xm[63],xm[64],xm[65],xm[66],xm[67],xm[68],xm[69],xm[70],xm[71],xm[72],xm[73],xm[74],xm[75],xm[76],xm[77],xm[78],xm[79],xm[80],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],v[41],v[42],v[43],v[44],v[45],v[46],v[47],v[48],v[49],v[50],v[51],v[52],v[53],v[54],v[55],v[56],v[57],v[58],v[59],v[60],v[61],v[62],v[63],v[64],v[65],v[66],v[67],v[68],v[69],v[70],v[71],v[72],v[73],v[74],v[75],v[76],v[77],v[78],v[79],v[80]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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%) 79} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009086/2.049, allocations: 5.885 MB / 0.8111 GB, free: 79.6 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.006041/2.055, allocations: 3.209 MB / 0.8142 GB, free: 76.38 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.055, allocations: 0 / 0.8142 GB, free: 76.38 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.003723/2.058, allocations: 1.895 MB / 0.8161 GB, free: 74.48 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/2.059, allocations: 48.8 kB / 0.8161 GB, free: 74.43 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/2.073, allocations: 15.65 MB / 0.8314 GB, free: 58.71 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/2.074, allocations: 1.232 MB / 0.8326 GB, free: 57.45 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001178/2.075, allocations: 0.5963 MB / 0.8332 GB, free: 56.85 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/2.075, allocations: 365 kB / 0.8335 GB, free: 56.49 MB / 0.5421 GB Notification: Performance of SimCode: time 8.11e-07/2.075, allocations: 0 / 0.8335 GB, free: 56.49 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/2.131, allocations: 36.39 MB / 0.8691 GB, free: 20.36 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/2.131, allocations: 227.2 kB / 0.8693 GB, free: 20.12 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.422/5.553, allocations: 0 / 0.8693 GB, free: 20.12 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe 2>&1)