Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.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_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_160",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_160",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.001616/0.001616, 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.782/1.782, 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.001202/0.001203, allocations: 98.27 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.657/1.657, allocations: 120.5 MB / 457.9 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.388e-05/4.4e-05, allocations: 4 kB / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8452/0.8453, allocations: 82.83 MB / 0.6167 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/1.05, allocations: 125.3 MB / 0.7391 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.05, allocations: 63.91 kB / 0.7391 GB, free: 11.85 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.9799/2.03, allocations: 33.03 MB / 0.7714 GB, free: 121.3 MB / 0.5421 GB Notification: Performance of FrontEnd: time 3.737e-06/2.03, allocations: 0 / 0.7714 GB, free: 121.3 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0001468/2.031, allocations: 40 kB / 0.7714 GB, free: 121.2 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01153/2.042, allocations: 3.073 MB / 0.7744 GB, free: 118.1 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/2.042, allocations: 8.031 kB / 0.7744 GB, free: 118.1 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001667/2.044, allocations: 286.1 kB / 0.7747 GB, free: 117.8 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/2.046, allocations: 194.2 kB / 0.7749 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/2.049, allocations: 0.7414 MB / 0.7756 GB, free: 116.8 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/2.049, allocations: 219.8 kB / 0.7758 GB, free: 116.6 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/2.051, allocations: 454.8 kB / 0.7763 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007992/2.059, allocations: 2.383 MB / 0.7786 GB, free: 113.8 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000436/2.059, allocations: 79.31 kB / 0.7787 GB, free: 113.7 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00083/2.06, allocations: 79.8 kB / 0.7787 GB, free: 113.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/2.06, allocations: 51.95 kB / 0.7788 GB, free: 113.6 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/2.065, allocations: 1.647 MB / 0.7804 GB, free: 111.9 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005564/2.071, allocations: 2.822 MB / 0.7831 GB, free: 109.1 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006311/2.077, allocations: 3.746 MB / 0.7868 GB, free: 105.4 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/2.08, allocations: 1.8 MB / 0.7886 GB, free: 103.6 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004198/2.081, allocations: 47.77 kB / 0.7886 GB, free: 103.5 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/2.081, allocations: 78.33 kB / 0.7887 GB, free: 103.4 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=480): time 8.666e-06/2.081, allocations: 0 / 0.7887 GB, free: 103.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=480): time 0.01778/2.099, allocations: 5.942 MB / 0.7945 GB, free: 97.46 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/2.099, allocations: 99.17 kB / 0.7946 GB, free: 97.35 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/2.099, allocations: 196.8 kB / 0.7948 GB, free: 97.15 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001264/2.101, allocations: 153.7 kB / 0.7949 GB, free: 96.99 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/2.101, allocations: 150.2 kB / 0.7951 GB, free: 96.84 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.002428/2.103, allocations: 1.931 MB / 0.7969 GB, free: 94.92 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009328/2.104, allocations: 124 kB / 0.7971 GB, free: 94.8 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0005219/2.105, allocations: 0.5593 MB / 0.7976 GB, free: 94.23 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004541/2.109, allocations: 1.972 MB / 0.7995 GB, free: 92.25 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005596/2.115, allocations: 3.255 MB / 0.8027 GB, free: 88.5 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005853/2.121, allocations: 2.542 MB / 0.8052 GB, free: 85.95 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.974e-05/2.121, allocations: 8 kB / 0.8052 GB, free: 85.94 MB / 0.5421 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02299/2.144, allocations: 8.051 MB / 0.8131 GB, free: 77.88 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/2.144, allocations: 23.98 kB / 0.8131 GB, free: 77.86 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/2.144, allocations: 36 kB / 0.8131 GB, free: 77.82 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/2.155, allocations: 2.511 MB / 0.8156 GB, free: 75.31 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006196/2.161, allocations: 1.268 MB / 0.8168 GB, free: 74.04 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04057/2.202, allocations: 15.43 MB / 0.8319 GB, free: 58.46 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005323/2.207, allocations: 0.5148 MB / 0.8324 GB, free: 57.94 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00212/2.21, allocations: 231.9 kB / 0.8326 GB, free: 57.71 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (641): * Single equations (assignments): 640 * 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%) 159} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004004/2.214, allocations: 427.4 kB / 0.833 GB, free: 57.29 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/2.216, allocations: 150.2 kB / 0.8332 GB, free: 57.14 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/2.218, allocations: 457.4 kB / 0.8336 GB, free: 56.69 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.509e-05/2.218, allocations: 47.94 kB / 0.8336 GB, free: 56.64 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001386/2.218, allocations: 28 kB / 0.8337 GB, free: 56.61 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001664/2.218, allocations: 27 kB / 0.8337 GB, free: 56.59 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/2.225, allocations: 2.69 MB / 0.8363 GB, free: 53.96 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/2.225, allocations: 0 / 0.8363 GB, free: 53.96 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006212/2.231, allocations: 1.03 MB / 0.8373 GB, free: 52.93 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01202/2.243, allocations: 2.475 MB / 0.8397 GB, free: 50.45 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002047/2.246, allocations: 227.8 kB / 0.84 GB, free: 50.22 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04063/2.286, allocations: 15.38 MB / 0.855 GB, free: 34.71 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/2.286, allocations: 4 kB / 0.855 GB, free: 34.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04276/2.329, allocations: 12.31 MB / 0.867 GB, free: 22.35 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005945/2.33, allocations: 286.2 kB / 0.8673 GB, free: 22.05 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002536/2.332, allocations: 199.8 kB / 0.8675 GB, free: 21.85 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004005/2.336, allocations: 155.9 kB / 0.8676 GB, free: 21.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002888/2.339, allocations: 340.5 kB / 0.8679 GB, free: 21.37 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001962/2.341, allocations: 131.9 kB / 0.8681 GB, free: 21.24 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001229/2.342, allocations: 83.22 kB / 0.8681 GB, free: 21.16 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.7e-07/2.342, allocations: 0 / 0.8681 GB, free: 21.16 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.008786/2.35, allocations: 1.113 MB / 0.8692 GB, free: 20.04 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 320 (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],xm[81],xm[82],xm[83],xm[84],xm[85],xm[86],xm[87],xm[88],xm[89],xm[90],xm[91],xm[92],xm[93],xm[94],xm[95],xm[96],xm[97],xm[98],xm[99],xm[100],xm[101],xm[102],xm[103],xm[104],xm[105],xm[106],xm[107],xm[108],xm[109],xm[110],xm[111],xm[112],xm[113],xm[114],xm[115],xm[116],xm[117],xm[118],xm[119],xm[120],xm[121],xm[122],xm[123],xm[124],xm[125],xm[126],xm[127],xm[128],xm[129],xm[130],xm[131],xm[132],xm[133],xm[134],xm[135],xm[136],xm[137],xm[138],xm[139],xm[140],xm[141],xm[142],xm[143],xm[144],xm[145],xm[146],xm[147],xm[148],xm[149],xm[150],xm[151],xm[152],xm[153],xm[154],xm[155],xm[156],xm[157],xm[158],xm[159],xm[160],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],v[81],v[82],v[83],v[84],v[85],v[86],v[87],v[88],v[89],v[90],v[91],v[92],v[93],v[94],v[95],v[96],v[97],v[98],v[99],v[100],v[101],v[102],v[103],v[104],v[105],v[106],v[107],v[108],v[109],v[110],v[111],v[112],v[113],v[114],v[115],v[116],v[117],v[118],v[119],v[120],v[121],v[122],v[123],v[124],v[125],v[126],v[127],v[128],v[129],v[130],v[131],v[132],v[133],v[134],v[135],v[136],v[137],v[138],v[139],v[140],v[141],v[142],v[143],v[144],v[145],v[146],v[147],v[148],v[149],v[150],v[151],v[152],v[153],v[154],v[155],v[156],v[157],v[158],v[159],v[160]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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%) 159} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0433/2.394, allocations: 13.14 MB / 0.8821 GB, free: 6.84 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.01858/2.412, allocations: 6.327 MB / 0.8882 GB, free: 0.5039 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/2.412, allocations: 0 / 0.8882 GB, free: 0.5039 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.01379/2.426, allocations: 3.688 MB / 0.8918 GB, free: 12.79 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/2.428, allocations: 80.77 kB / 0.8919 GB, free: 12.71 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05717/2.486, allocations: 37.08 MB / 0.9281 GB, free: 7.488 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/2.488, allocations: 1.789 MB / 0.9299 GB, free: 5.656 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.003404/2.491, allocations: 1.193 MB / 0.931 GB, free: 4.457 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/2.492, allocations: 0.757 MB / 0.9318 GB, free: 3.699 MB / 0.589 GB Notification: Performance of SimCode: time 1.503e-06/2.492, allocations: 0 / 0.9318 GB, free: 3.699 MB / 0.589 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5667/3.059, allocations: 83.17 MB / 1.013 GB, free: 190.1 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/3.059, allocations: 237.7 kB / 1.013 GB, free: 189.8 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.768/7.827, allocations: 0 / 1.013 GB, free: 189.8 MB / 0.6515 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_160_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_160.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160_res.mat does not exist to compare? outputFormat=mat