Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.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.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_400",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.0009709/0.000971, allocations: 183.7 kB / 8.138 MB, free: 2.188 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.079/1.079, allocations: 221.4 MB / 229.9 MB, free: 3.004 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.000853/0.0008532, allocations: 103.5 kB / 280.8 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6248/0.6248, allocations: 120.4 MB / 452 MB, free: 13.07 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3107/0.9355, allocations: 89.71 MB / 0.529 GB, free: 50.35 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/1.037, allocations: 82.84 MB / 0.6099 GB, free: 1.387 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/1.47, allocations: 124.4 MB / 0.7314 GB, free: 3.57 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001098/1.47, allocations: 50.78 kB / 0.7315 GB, free: 3.555 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.08729/1.557, allocations: 25.32 MB / 0.7562 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.558, allocations: 12 kB / 0.7562 GB, free: 13.37 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007445/1.558, allocations: 150.5 kB / 0.7564 GB, free: 13.22 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.56, allocations: 0.5893 MB / 0.7569 GB, free: 12.6 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/1.56, allocations: 48 kB / 0.757 GB, free: 12.55 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007106/1.56, allocations: 296 kB / 0.7573 GB, free: 12.31 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001913/1.562, allocations: 1.122 MB / 0.7584 GB, free: 11.48 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/1.566, allocations: 1.815 MB / 0.7601 GB, free: 9.938 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/1.566, allocations: 0 / 0.7601 GB, free: 9.938 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/1.566, allocations: 0 / 0.7601 GB, free: 9.938 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/1.566, allocations: 40 kB / 0.7602 GB, free: 9.898 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006012/1.572, allocations: 3.408 MB / 0.7635 GB, free: 6.84 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005318/1.577, allocations: 4.123 MB / 0.7675 GB, free: 3.754 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.579, allocations: 1.26 MB / 0.7688 GB, free: 2.828 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/1.579, allocations: 43.14 kB / 0.7688 GB, free: 2.785 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/1.579, allocations: 74.95 kB / 0.7689 GB, free: 2.727 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=400): time 5.38e-06/1.579, allocations: 0 / 0.7689 GB, free: 2.727 MB / 0.5265 GB Notification: Performance of matching and sorting (n=400): time 0.004274/1.583, allocations: 3.083 MB / 0.7719 GB, free: 248 kB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.583, allocations: 90.55 kB / 0.772 GB, free: 144 kB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.584, allocations: 96.86 kB / 0.7721 GB, free: 44 kB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/1.584, allocations: 29.7 kB / 0.7721 GB, free: 8 kB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/1.584, allocations: 90.42 kB / 0.7722 GB, free: 15.91 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.585, allocations: 1.849 MB / 0.774 GB, free: 14.33 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/1.585, allocations: 0 / 0.774 GB, free: 14.33 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002747/1.585, allocations: 0.5591 MB / 0.7745 GB, free: 13.86 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.588, allocations: 2.33 MB / 0.7768 GB, free: 12.11 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/1.592, allocations: 2.716 MB / 0.7795 GB, free: 10.07 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/1.595, allocations: 2.902 MB / 0.7823 GB, free: 7.781 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.595, allocations: 7.938 kB / 0.7823 GB, free: 7.773 MB / 0.5421 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.007401/1.603, allocations: 5.975 MB / 0.7881 GB, free: 2.926 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.603, allocations: 8 kB / 0.7881 GB, free: 2.918 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.603, allocations: 0 / 0.7881 GB, free: 2.918 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.796e-05/1.603, allocations: 24 kB / 0.7882 GB, free: 2.895 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006581/1.609, allocations: 1.981 MB / 0.7901 GB, free: 0.9609 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.821e-05/1.609, allocations: 24 kB / 0.7901 GB, free: 0.9375 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.611, allocations: 427.9 kB / 0.7905 GB, free: 0.5156 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/1.611, allocations: 174.1 kB / 0.7907 GB, free: 404 kB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 801 * 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.0005939/1.612, allocations: 183.7 kB / 0.7909 GB, free: 212 kB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/1.613, allocations: 158.4 kB / 0.791 GB, free: 52 kB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/1.613, allocations: 270.7 kB / 0.7913 GB, free: 24 kB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/1.613, allocations: 36.05 kB / 0.7913 GB, free: 15.98 MB / 0.5578 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.613, allocations: 3.938 kB / 0.7913 GB, free: 15.98 MB / 0.5578 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/1.613, allocations: 19.94 kB / 0.7913 GB, free: 15.96 MB / 0.5578 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.615, allocations: 1.585 MB / 0.7929 GB, free: 14.51 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.615, allocations: 4 kB / 0.7929 GB, free: 14.51 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01064/1.626, allocations: 1.989 MB / 0.7948 GB, free: 12.57 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.742e-05/1.626, allocations: 15.98 kB / 0.7948 GB, free: 12.55 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005766/1.627, allocations: 246.5 kB / 0.7951 GB, free: 12.33 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.53e-05/1.627, allocations: 12 kB / 0.7951 GB, free: 12.32 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.627, allocations: 3.984 kB / 0.7951 GB, free: 12.32 MB / 0.5578 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00598/1.633, allocations: 4.695 MB / 0.7997 GB, free: 8.508 MB / 0.5578 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007665/1.64, allocations: 6.749 MB / 0.8063 GB, free: 2.98 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/1.641, allocations: 246.7 kB / 0.8065 GB, free: 2.719 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/1.641, allocations: 187.7 kB / 0.8067 GB, free: 2.535 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.643, allocations: 139.9 kB / 0.8068 GB, free: 2.398 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/1.643, allocations: 213.8 kB / 0.807 GB, free: 2.215 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.643, allocations: 118.5 kB / 0.8071 GB, free: 2.125 MB / 0.5578 GB Notification: Performance of sort global known variables: time 6.528e-05/1.643, allocations: 83.27 kB / 0.8072 GB, free: 2.043 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.002068/1.645, allocations: 0.6367 MB / 0.8078 GB, free: 1.406 MB / 0.5578 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],x[201],x[202],x[203],x[204],x[205],x[206],x[207],x[208],x[209],x[210],x[211],x[212],x[213],x[214],x[215],x[216],x[217],x[218],x[219],x[220],x[221],x[222],x[223],x[224],x[225],x[226],x[227],x[228],x[229],x[230],x[231],x[232],x[233],x[234],x[235],x[236],x[237],x[238],x[239],x[240],x[241],x[242],x[243],x[244],x[245],x[246],x[247],x[248],x[249],x[250],x[251],x[252],x[253],x[254],x[255],x[256],x[257],x[258],x[259],x[260],x[261],x[262],x[263],x[264],x[265],x[266],x[267],x[268],x[269],x[270],x[271],x[272],x[273],x[274],x[275],x[276],x[277],x[278],x[279],x[280],x[281],x[282],x[283],x[284],x[285],x[286],x[287],x[288],x[289],x[290],x[291],x[292],x[293],x[294],x[295],x[296],x[297],x[298],x[299],x[300],x[301],x[302],x[303],x[304],x[305],x[306],x[307],x[308],x[309],x[310],x[311],x[312],x[313],x[314],x[315],x[316],x[317],x[318],x[319],x[320],x[321],x[322],x[323],x[324],x[325],x[326],x[327],x[328],x[329],x[330],x[331],x[332],x[333],x[334],x[335],x[336],x[337],x[338],x[339],x[340],x[341],x[342],x[343],x[344],x[345],x[346],x[347],x[348],x[349],x[350],x[351],x[352],x[353],x[354],x[355],x[356],x[357],x[358],x[359],x[360],x[361],x[362],x[363],x[364],x[365],x[366],x[367],x[368],x[369],x[370],x[371],x[372],x[373],x[374],x[375],x[376],x[377],x[378],x[379],x[380],x[381],x[382],x[383],x[384],x[385],x[386],x[387],x[388],x[389],x[390],x[391],x[392],x[393],x[394],x[395],x[396],x[397],x[398],x[399],x[400]) * 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.0005188/1.646, allocations: 337.4 kB / 0.8082 GB, free: 1.086 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.005991/1.652, allocations: 4.607 MB / 0.8127 GB, free: 13.5 MB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.652, allocations: 3.938 kB / 0.8127 GB, free: 13.5 MB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.654, allocations: 1.689 MB / 0.8143 GB, free: 12.17 MB / 0.5734 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/1.654, allocations: 0.8125 kB / 0.8143 GB, free: 12.17 MB / 0.5734 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008746/1.663, allocations: 10.25 MB / 0.8243 GB, free: 2.086 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002939/1.666, allocations: 2.917 MB / 0.8272 GB, free: 15.25 MB / 0.589 GB Notification: Performance of SimCode: time 6.81e-07/1.666, allocations: 0 / 0.8272 GB, free: 15.25 MB / 0.589 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_400_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_400.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400_res.mat does not exist to compare? outputFormat=mat