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.001873/0.001873, allocations: 176.2 kB / 8.348 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.622/1.622, allocations: 221.5 MB / 230.3 MB, free: 7.598 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.001322/0.001322, allocations: 94.41 kB / 281.2 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.51/1.51, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.876e-05, allocations: 0 / 0.5289 GB, free: 1.234 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8223, allocations: 82.84 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/1.052, allocations: 124.6 MB / 0.7315 GB, free: 208 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.053, allocations: 67.91 kB / 0.7316 GB, free: 140 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.931/1.984, allocations: 32.83 MB / 0.7636 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.984e-06/1.984, allocations: 0 / 0.7636 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 4.895e-05/1.984, allocations: 39.91 kB / 0.7637 GB, free: 127.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.01048/1.994, allocations: 3.075 MB / 0.7667 GB, free: 125.6 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/1.994, allocations: 8.031 kB / 0.7667 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/1.996, allocations: 194.2 kB / 0.7668 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.998, allocations: 0.7439 MB / 0.7676 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/1.998, allocations: 60 kB / 0.7676 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000657/1.998, allocations: 338.8 kB / 0.768 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002311/2.001, allocations: 1.553 MB / 0.7695 GB, free: 122.6 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/2.004, allocations: 2.157 MB / 0.7716 GB, free: 120.5 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/2.004, allocations: 75.31 kB / 0.7716 GB, free: 120.4 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/2.004, allocations: 7.953 kB / 0.7717 GB, free: 120.4 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/2.004, allocations: 44 kB / 0.7717 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/2.008, allocations: 2.433 MB / 0.7741 GB, free: 117.9 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/2.012, allocations: 3.337 MB / 0.7773 GB, free: 114.6 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/2.014, allocations: 1.668 MB / 0.779 GB, free: 112.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/2.014, allocations: 47.77 kB / 0.779 GB, free: 112.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/2.014, allocations: 90.27 kB / 0.7791 GB, free: 112.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=480): time 6.282e-06/2.014, allocations: 0 / 0.7791 GB, free: 112.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=480): time 0.01189/2.026, allocations: 5.638 MB / 0.7846 GB, free: 107.1 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/2.026, allocations: 99.17 kB / 0.7847 GB, free: 107 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/2.026, allocations: 188.9 kB / 0.7849 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003972/2.027, allocations: 25.7 kB / 0.7849 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/2.027, allocations: 114.2 kB / 0.785 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/2.028, allocations: 1.878 MB / 0.7868 GB, free: 104.8 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/2.028, allocations: 0 / 0.7868 GB, free: 104.8 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002627/2.028, allocations: 0.5632 MB / 0.7874 GB, free: 104.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/2.031, allocations: 1.851 MB / 0.7892 GB, free: 102.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/2.034, allocations: 3.098 MB / 0.7922 GB, free: 98.73 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/2.037, allocations: 2.395 MB / 0.7946 GB, free: 96.33 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/2.037, allocations: 11.95 kB / 0.7946 GB, free: 96.32 MB / 0.5421 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01497/2.052, allocations: 7.426 MB / 0.8018 GB, free: 88.89 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/2.052, allocations: 23.95 kB / 0.8018 GB, free: 88.86 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.735e-05/2.052, allocations: 36 kB / 0.8019 GB, free: 88.83 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009583/2.062, allocations: 2.464 MB / 0.8043 GB, free: 86.36 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00469/2.066, allocations: 1.268 MB / 0.8055 GB, free: 85.09 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02768/2.094, allocations: 14.52 MB / 0.8197 GB, free: 70.45 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/2.098, allocations: 399.2 kB / 0.8201 GB, free: 70.05 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/2.099, allocations: 224 kB / 0.8203 GB, free: 69.84 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.001845/2.101, allocations: 231.4 kB / 0.8205 GB, free: 69.6 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01603/2.117, allocations: 5.613 MB / 0.826 GB, free: 63.97 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007081/2.117, allocations: 150.2 kB / 0.8261 GB, free: 63.82 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/2.119, allocations: 397.7 kB / 0.8265 GB, free: 63.43 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/2.119, allocations: 44 kB / 0.8266 GB, free: 63.38 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.832e-05/2.119, allocations: 24 kB / 0.8266 GB, free: 63.36 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.229e-05/2.119, allocations: 27.91 kB / 0.8266 GB, free: 63.33 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/2.123, allocations: 2.398 MB / 0.829 GB, free: 61 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/2.123, allocations: 4 kB / 0.829 GB, free: 61 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005879/2.129, allocations: 1.034 MB / 0.83 GB, free: 59.96 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/2.139, allocations: 2.436 MB / 0.8324 GB, free: 57.52 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001382/2.141, allocations: 179.8 kB / 0.8325 GB, free: 57.35 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03134/2.172, allocations: 14.44 MB / 0.8466 GB, free: 42.78 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/2.172, allocations: 3.953 kB / 0.8466 GB, free: 42.78 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03748/2.21, allocations: 11.94 MB / 0.8583 GB, free: 30.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/2.21, allocations: 286.2 kB / 0.8586 GB, free: 30.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/2.212, allocations: 127.8 kB / 0.8587 GB, free: 30.37 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003417/2.216, allocations: 75.88 kB / 0.8588 GB, free: 30.3 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002547/2.218, allocations: 344.5 kB / 0.8591 GB, free: 29.96 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001399/2.22, allocations: 135.9 kB / 0.8592 GB, free: 29.83 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 7.579e-05/2.22, allocations: 75.28 kB / 0.8593 GB, free: 29.75 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/2.22, allocations: 0 / 0.8593 GB, free: 29.75 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.006197/2.226, allocations: 0.9102 MB / 0.8602 GB, free: 28.84 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.03395/2.26, allocations: 12.69 MB / 0.8726 GB, free: 16.09 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.01577/2.276, allocations: 5.949 MB / 0.8784 GB, free: 10.13 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/2.276, allocations: 0 / 0.8784 GB, free: 10.13 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.01122/2.287, allocations: 3.515 MB / 0.8818 GB, free: 6.609 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/2.289, allocations: 3.938 kB / 0.8818 GB, free: 6.605 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05056/2.34, allocations: 36.66 MB / 0.9176 GB, free: 1.797 MB / 0.5734 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/2.342, allocations: 1.79 MB / 0.9194 GB, free: 15.96 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.004521/2.347, allocations: 1.196 MB / 0.9205 GB, free: 14.76 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/2.348, allocations: 0.7492 MB / 0.9213 GB, free: 14.01 MB / 0.589 GB Notification: Performance of SimCode: time 1.964e-06/2.348, allocations: 0 / 0.9213 GB, free: 14.01 MB / 0.589 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7781/3.127, allocations: 82.1 MB / 1.001 GB, free: 187.2 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003575/3.127, allocations: 203.8 kB / 1.002 GB, free: 186.9 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.513/7.64, allocations: 1.562 kB / 1.002 GB, free: 186.9 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