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"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 181.3 kB / 8.135 MB, free: 2.211 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.077/1.077, allocations: 221.4 MB / 229.9 MB, free: 3.086 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.0008362/0.0008363, allocations: 98.31 kB / 280.8 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5955/0.5955, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3046/0.9002, allocations: 88.95 MB / 0.5283 GB, free: 52.35 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/1.003, allocations: 82.84 MB / 0.6092 GB, free: 3.496 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/1.449, allocations: 124.6 MB / 0.7308 GB, free: 4.836 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001486/1.449, allocations: 58.34 kB / 0.7309 GB, free: 4.816 MB / 0.4953 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.1071/1.556, allocations: 36.15 MB / 0.7662 GB, free: 4.223 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.556, allocations: 12 kB / 0.7662 GB, free: 4.211 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006673/1.557, allocations: 194.1 kB / 0.7664 GB, free: 4.02 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/1.558, allocations: 0.7438 MB / 0.7671 GB, free: 3.238 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/1.558, allocations: 60 kB / 0.7672 GB, free: 3.18 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000669/1.559, allocations: 340.3 kB / 0.7675 GB, free: 2.883 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002738/1.562, allocations: 1.622 MB / 0.7691 GB, free: 1.582 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/1.566, allocations: 2.295 MB / 0.7713 GB, free: 15.87 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/1.566, allocations: 77.7 kB / 0.7714 GB, free: 15.8 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/1.566, allocations: 3.984 kB / 0.7714 GB, free: 15.8 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/1.566, allocations: 44 kB / 0.7714 GB, free: 15.76 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/1.57, allocations: 2.555 MB / 0.7739 GB, free: 13.61 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/1.574, allocations: 3.066 MB / 0.7769 GB, free: 11.29 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/1.576, allocations: 1.736 MB / 0.7786 GB, free: 10.04 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/1.576, allocations: 47.77 kB / 0.7787 GB, free: 9.992 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.577, allocations: 92.11 kB / 0.7788 GB, free: 9.922 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=480): time 5.18e-06/1.577, allocations: 0 / 0.7788 GB, free: 9.922 MB / 0.5421 GB Notification: Performance of matching and sorting (n=480): time 0.01259/1.589, allocations: 5.66 MB / 0.7843 GB, free: 5.109 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/1.589, allocations: 103.2 kB / 0.7844 GB, free: 4.996 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/1.589, allocations: 190.4 kB / 0.7846 GB, free: 4.844 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0004781/1.59, allocations: 25.7 kB / 0.7846 GB, free: 4.812 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/1.59, allocations: 110.2 kB / 0.7847 GB, free: 4.699 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.592, allocations: 1.879 MB / 0.7865 GB, free: 3.066 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/1.592, allocations: 0.9375 kB / 0.7865 GB, free: 3.066 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0003593/1.592, allocations: 0.5612 MB / 0.7871 GB, free: 2.594 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003327/1.596, allocations: 1.958 MB / 0.789 GB, free: 1.109 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004236/1.6, allocations: 3.208 MB / 0.7921 GB, free: 14.01 MB / 0.5578 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/1.604, allocations: 2.532 MB / 0.7946 GB, free: 12 MB / 0.5578 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.604e-05/1.604, allocations: 12 kB / 0.7946 GB, free: 11.99 MB / 0.5578 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02089/1.625, allocations: 7.573 MB / 0.802 GB, free: 5.598 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.625, allocations: 4 kB / 0.802 GB, free: 5.594 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/1.625, allocations: 36 kB / 0.802 GB, free: 5.559 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/1.639, allocations: 2.46 MB / 0.8044 GB, free: 3.285 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/1.645, allocations: 1.274 MB / 0.8057 GB, free: 2.051 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03024/1.675, allocations: 13.92 MB / 0.8193 GB, free: 6.801 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/1.679, allocations: 375.2 kB / 0.8196 GB, free: 6.43 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006231/1.679, allocations: 229.7 kB / 0.8199 GB, free: 6.254 MB / 0.5734 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.0009608/1.68, allocations: 219.2 kB / 0.8201 GB, free: 6.039 MB / 0.5734 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/1.681, allocations: 150.2 kB / 0.8202 GB, free: 5.891 MB / 0.5734 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/1.682, allocations: 401.5 kB / 0.8206 GB, free: 5.84 MB / 0.5734 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-05/1.682, allocations: 48 kB / 0.8206 GB, free: 5.789 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001136/1.682, allocations: 27.91 kB / 0.8207 GB, free: 5.762 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.082e-05/1.682, allocations: 27.91 kB / 0.8207 GB, free: 5.734 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/1.687, allocations: 2.528 MB / 0.8232 GB, free: 3.594 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.687, allocations: 3.938 kB / 0.8232 GB, free: 3.59 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007516/1.694, allocations: 1.032 MB / 0.8242 GB, free: 2.598 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/1.708, allocations: 2.428 MB / 0.8265 GB, free: 376 kB / 0.5734 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00127/1.709, allocations: 198.6 kB / 0.8267 GB, free: 196 kB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02873/1.738, allocations: 13.86 MB / 0.8403 GB, free: 5.004 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.738, allocations: 0 / 0.8403 GB, free: 5.004 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02995/1.768, allocations: 12.04 MB / 0.852 GB, free: 10.43 MB / 0.6046 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03568/1.804, allocations: 14.73 MB / 0.8664 GB, free: 13.69 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/1.804, allocations: 286.2 kB / 0.8667 GB, free: 13.39 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.805, allocations: 147.8 kB / 0.8668 GB, free: 13.25 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.807, allocations: 55.94 kB / 0.8669 GB, free: 13.19 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005758/1.808, allocations: 238.4 kB / 0.8671 GB, free: 12.99 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003372/1.808, allocations: 134.9 kB / 0.8672 GB, free: 12.89 MB / 0.6203 GB Notification: Performance of sort global known variables: time 4.32e-05/1.808, allocations: 83.22 kB / 0.8673 GB, free: 12.8 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.004147/1.812, allocations: 0.8476 MB / 0.8681 GB, free: 11.96 MB / 0.6203 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.000656/1.813, allocations: 283.8 kB / 0.8684 GB, free: 11.68 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.01442/1.827, allocations: 6.008 MB / 0.8743 GB, free: 6.781 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/1.827, allocations: 0 / 0.8743 GB, free: 6.781 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.01085/1.838, allocations: 3.433 MB / 0.8776 GB, free: 3.945 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008654/1.839, allocations: 7.844 kB / 0.8776 GB, free: 3.938 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04765/1.887, allocations: 43.41 MB / 0.92 GB, free: 8.887 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05753/1.944, allocations: 14.54 MB / 0.9342 GB, free: 10.38 MB / 0.6828 GB Notification: Performance of SimCode: time 1.123e-06/1.944, allocations: 4 kB / 0.9342 GB, free: 10.38 MB / 0.6828 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