Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.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.HarmonicOscillator_N_200,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_200",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.001205/0.001205, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.001128/0.001127, allocations: 98.17 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.382/1.382, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.302e-05, allocations: 4 kB / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.803, allocations: 82.83 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/1.004, allocations: 124.6 MB / 0.7314 GB, free: 220 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.004, allocations: 59.97 kB / 0.7315 GB, free: 160 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.9709/1.975, allocations: 30.92 MB / 0.7617 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.354e-06/1.975, allocations: 0 / 0.7617 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 5.002e-05/1.975, allocations: 42 kB / 0.7617 GB, free: 128.8 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.005908/1.981, allocations: 2.276 MB / 0.764 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/1.981, allocations: 7.594 kB / 0.764 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/1.982, allocations: 180.5 kB / 0.7641 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/1.983, allocations: 0.6935 MB / 0.7648 GB, free: 127 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/1.983, allocations: 51.81 kB / 0.7649 GB, free: 127 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005891/1.984, allocations: 390.5 kB / 0.7652 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002039/1.986, allocations: 1.543 MB / 0.7667 GB, free: 125.6 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/1.989, allocations: 1.889 MB / 0.7686 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/1.989, allocations: 95.22 kB / 0.7687 GB, free: 123.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/1.989, allocations: 7.953 kB / 0.7687 GB, free: 123.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/1.989, allocations: 36 kB / 0.7687 GB, free: 123.6 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/1.991, allocations: 1.678 MB / 0.7704 GB, free: 121.9 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/1.993, allocations: 1.893 MB / 0.7722 GB, free: 120 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/1.995, allocations: 1.287 MB / 0.7735 GB, free: 118.7 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/1.995, allocations: 42.98 kB / 0.7735 GB, free: 118.7 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/1.995, allocations: 77.7 kB / 0.7736 GB, free: 118.6 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=400): time 6.633e-06/1.995, allocations: 0 / 0.7736 GB, free: 118.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400): time 0.003919/1.999, allocations: 2.966 MB / 0.7765 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.999, allocations: 90.55 kB / 0.7766 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/1.999, allocations: 216.8 kB / 0.7768 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002471/2, allocations: 33.7 kB / 0.7768 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/2, allocations: 117.5 kB / 0.7769 GB, free: 115.1 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008742/2, allocations: 1.721 MB / 0.7786 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/2.001, allocations: 0 / 0.7786 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002285/2.001, allocations: 0.5632 MB / 0.7791 GB, free: 112.8 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/2.003, allocations: 1.718 MB / 0.7808 GB, free: 111 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/2.006, allocations: 3.194 MB / 0.7839 GB, free: 107.2 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/2.009, allocations: 2.285 MB / 0.7862 GB, free: 104.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.336e-05/2.009, allocations: 12 kB / 0.7862 GB, free: 104.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.00653/2.015, allocations: 5.154 MB / 0.7912 GB, free: 99.74 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/2.015, allocations: 24 kB / 0.7912 GB, free: 99.72 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.888e-05/2.015, allocations: 44 kB / 0.7913 GB, free: 99.68 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.241e-05/2.015, allocations: 84 kB / 0.7914 GB, free: 99.59 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/2.021, allocations: 1.682 MB / 0.793 GB, free: 97.91 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.119e-05/2.021, allocations: 103.7 kB / 0.7931 GB, free: 97.81 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/2.024, allocations: 427 kB / 0.7935 GB, free: 97.39 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/2.024, allocations: 240 kB / 0.7937 GB, free: 97.15 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 800 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007463/2.025, allocations: 263 kB / 0.794 GB, free: 96.89 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004003/2.029, allocations: 2.934 MB / 0.7969 GB, free: 93.91 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/2.029, allocations: 126.5 kB / 0.797 GB, free: 93.79 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008159/2.03, allocations: 306.6 kB / 0.7973 GB, free: 93.48 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/2.03, allocations: 36 kB / 0.7973 GB, free: 93.45 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/2.03, allocations: 4 kB / 0.7973 GB, free: 93.44 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/2.03, allocations: 19.92 kB / 0.7973 GB, free: 93.42 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/2.032, allocations: 1.641 MB / 0.7989 GB, free: 91.85 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/2.032, allocations: 0 / 0.7989 GB, free: 91.85 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007633/2.04, allocations: 1.393 MB / 0.8003 GB, free: 90.45 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.266e-05/2.04, allocations: 12 kB / 0.8003 GB, free: 90.44 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006044/2.04, allocations: 227.7 kB / 0.8005 GB, free: 90.22 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/2.04, allocations: 15.98 kB / 0.8005 GB, free: 90.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/2.04, allocations: 3.984 kB / 0.8005 GB, free: 90.2 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004962/2.045, allocations: 4.5 MB / 0.8049 GB, free: 85.63 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/2.046, allocations: 250.7 kB / 0.8052 GB, free: 85.36 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004182/2.046, allocations: 155.8 kB / 0.8053 GB, free: 85.21 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/2.048, allocations: 103.9 kB / 0.8054 GB, free: 85.11 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/2.048, allocations: 238.7 kB / 0.8057 GB, free: 84.88 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/2.048, allocations: 119.9 kB / 0.8058 GB, free: 84.76 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.242e-05/2.048, allocations: 83.22 kB / 0.8058 GB, free: 84.68 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.41e-07/2.048, allocations: 0 / 0.8058 GB, free: 84.68 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001975/2.05, allocations: 0.6016 MB / 0.8064 GB, free: 84.07 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 400 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100],x[101],x[102],x[103],x[104],x[105],x[106],x[107],x[108],x[109],x[110],x[111],x[112],x[113],x[114],x[115],x[116],x[117],x[118],x[119],x[120],x[121],x[122],x[123],x[124],x[125],x[126],x[127],x[128],x[129],x[130],x[131],x[132],x[133],x[134],x[135],x[136],x[137],x[138],x[139],x[140],x[141],x[142],x[143],x[144],x[145],x[146],x[147],x[148],x[149],x[150],x[151],x[152],x[153],x[154],x[155],x[156],x[157],x[158],x[159],x[160],x[161],x[162],x[163],x[164],x[165],x[166],x[167],x[168],x[169],x[170],x[171],x[172],x[173],x[174],x[175],x[176],x[177],x[178],x[179],x[180],x[181],x[182],x[183],x[184],x[185],x[186],x[187],x[188],x[189],x[190],x[191],x[192],x[193],x[194],x[195],x[196],x[197],x[198],x[199],x[200],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],v[161],v[162],v[163],v[164],v[165],v[166],v[167],v[168],v[169],v[170],v[171],v[172],v[173],v[174],v[175],v[176],v[177],v[178],v[179],v[180],v[181],v[182],v[183],v[184],v[185],v[186],v[187],v[188],v[189],v[190],v[191],v[192],v[193],v[194],v[195],v[196],v[197],v[198],v[199],v[200]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (400): * Single equations (assignments): 400 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005432/2.056, allocations: 5.312 MB / 0.8116 GB, free: 78.68 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.005404/2.061, allocations: 4.006 MB / 0.8155 GB, free: 74.67 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.061, allocations: 4.312 kB / 0.8155 GB, free: 74.67 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/2.063, allocations: 1.702 MB / 0.8172 GB, free: 72.97 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/2.063, allocations: 2.641 kB / 0.8172 GB, free: 72.97 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/2.096, allocations: 34.96 MB / 0.8513 GB, free: 37.85 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/2.097, allocations: 1.7 MB / 0.853 GB, free: 36.11 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.003905/2.101, allocations: 1.574 MB / 0.8545 GB, free: 34.53 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/2.102, allocations: 0.7883 MB / 0.8553 GB, free: 33.74 MB / 0.5421 GB Notification: Performance of SimCode: time 1.082e-06/2.102, allocations: 4 kB / 0.8553 GB, free: 33.73 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.083/2.185, allocations: 45.84 MB / 0.9001 GB, free: 3.953 MB / 0.5578 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/2.186, allocations: 195.2 kB / 0.9003 GB, free: 3.758 MB / 0.5578 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.571/6.756, allocations: 4 kB / 0.9003 GB, free: 3.754 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_200_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_200.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200_res.mat does not exist to compare? outputFormat=mat