Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_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.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_200",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.000991/0.0009911, allocations: 182.3 kB / 8.131 MB, free: 2.219 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.028/1.028, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0008541/0.0008542, allocations: 104.5 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.595/0.595, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2996/0.8946, allocations: 89.71 MB / 0.529 GB, free: 51.7 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.9969, allocations: 82.84 MB / 0.6099 GB, free: 2.734 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/1.416, allocations: 124.4 MB / 0.7314 GB, free: 4.613 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001086/1.416, allocations: 43.91 kB / 0.7315 GB, free: 4.598 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.0423/1.458, allocations: 12.87 MB / 0.744 GB, free: 9.625 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/1.458, allocations: 12 kB / 0.7441 GB, free: 9.613 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/1.458, allocations: 77.88 kB / 0.7441 GB, free: 9.539 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/1.459, allocations: 386 kB / 0.7445 GB, free: 9.121 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/1.459, allocations: 31.94 kB / 0.7445 GB, free: 9.09 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/1.459, allocations: 144.2 kB / 0.7447 GB, free: 8.973 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007632/1.46, allocations: 0.5666 MB / 0.7452 GB, free: 8.555 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/1.461, allocations: 0.9264 MB / 0.7461 GB, free: 7.766 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.461, allocations: 0 / 0.7461 GB, free: 7.766 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/1.461, allocations: 3.984 kB / 0.7461 GB, free: 7.762 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/1.461, allocations: 20 kB / 0.7462 GB, free: 7.742 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/1.464, allocations: 1.809 MB / 0.7479 GB, free: 6.09 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/1.466, allocations: 2.067 MB / 0.7499 GB, free: 4.539 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007446/1.467, allocations: 0.6308 MB / 0.7506 GB, free: 4.078 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/1.467, allocations: 25.94 kB / 0.7506 GB, free: 4.055 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/1.467, allocations: 57.12 kB / 0.7506 GB, free: 4.004 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=200): time 3.216e-06/1.467, allocations: 0 / 0.7506 GB, free: 4.004 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200): time 0.002047/1.469, allocations: 1.567 MB / 0.7522 GB, free: 2.738 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/1.469, allocations: 73.41 kB / 0.7522 GB, free: 2.652 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.486e-05/1.47, allocations: 89 kB / 0.7523 GB, free: 2.559 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/1.47, allocations: 25.7 kB / 0.7523 GB, free: 2.527 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/1.47, allocations: 90.73 kB / 0.7524 GB, free: 2.438 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005053/1.47, allocations: 0.9257 MB / 0.7533 GB, free: 1.645 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.795e-05/1.47, allocations: 0 / 0.7533 GB, free: 1.645 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.47, allocations: 451.6 kB / 0.7538 GB, free: 1.242 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/1.472, allocations: 1.164 MB / 0.7549 GB, free: 380 kB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/1.473, allocations: 1.362 MB / 0.7562 GB, free: 15.34 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/1.475, allocations: 1.449 MB / 0.7576 GB, free: 14.2 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.475, allocations: 0 / 0.7576 GB, free: 14.2 MB / 0.5265 GB Notification: Performance of matching and sorting (n=401) (initialization): time 0.003448/1.478, allocations: 3.006 MB / 0.7606 GB, free: 11.75 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.478, allocations: 4 kB / 0.7606 GB, free: 11.75 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.478, allocations: 4.031 kB / 0.7606 GB, free: 11.75 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/1.478, allocations: 20 kB / 0.7606 GB, free: 11.73 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/1.482, allocations: 0.9939 MB / 0.7616 GB, free: 10.76 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/1.482, allocations: 17.33 kB / 0.7616 GB, free: 10.74 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/1.482, allocations: 209.5 kB / 0.7618 GB, free: 10.54 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.483, allocations: 89.25 kB / 0.7619 GB, free: 10.47 MB / 0.5265 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 (401): * Single equations (assignments): 401 * 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.0002394/1.483, allocations: 140.4 kB / 0.762 GB, free: 10.33 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/1.483, allocations: 83.16 kB / 0.7621 GB, free: 10.25 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/1.483, allocations: 137.8 kB / 0.7622 GB, free: 10.23 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/1.483, allocations: 20 kB / 0.7622 GB, free: 10.21 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.483, allocations: 4 kB / 0.7622 GB, free: 10.21 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.483, allocations: 7.969 kB / 0.7623 GB, free: 10.2 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.484, allocations: 0.858 MB / 0.7631 GB, free: 9.387 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/1.484, allocations: 0 / 0.7631 GB, free: 9.387 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005234/1.49, allocations: 0.9951 MB / 0.7641 GB, free: 8.414 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.49, allocations: 11.94 kB / 0.7641 GB, free: 8.402 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.49, allocations: 127.9 kB / 0.7642 GB, free: 8.289 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.49, allocations: 8 kB / 0.7642 GB, free: 8.281 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.49, allocations: 0 / 0.7642 GB, free: 8.281 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002625/1.492, allocations: 2.42 MB / 0.7666 GB, free: 6.309 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003649/1.496, allocations: 3.634 MB / 0.7701 GB, free: 3.293 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 9.421e-05/1.496, allocations: 167.8 kB / 0.7703 GB, free: 3.109 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/1.496, allocations: 95.8 kB / 0.7704 GB, free: 3.016 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/1.497, allocations: 67.92 kB / 0.7704 GB, free: 2.949 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.497, allocations: 105.2 kB / 0.7705 GB, free: 2.863 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.497, allocations: 64.39 kB / 0.7706 GB, free: 2.812 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.892e-05/1.498, allocations: 83.28 kB / 0.7707 GB, free: 2.73 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001146/1.499, allocations: 324 kB / 0.771 GB, free: 2.414 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 200 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 200 * 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.0002848/1.499, allocations: 227.1 kB / 0.7712 GB, free: 2.199 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002471/1.501, allocations: 2.312 MB / 0.7735 GB, free: 416 kB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.501, allocations: 0 / 0.7735 GB, free: 416 kB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0008931/1.502, allocations: 0.8431 MB / 0.7743 GB, free: 15.74 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/1.503, allocations: 6.016 kB / 0.7743 GB, free: 15.74 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/1.507, allocations: 5.062 MB / 0.7792 GB, free: 10.75 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.508, allocations: 1.789 MB / 0.781 GB, free: 8.977 MB / 0.5421 GB Notification: Performance of SimCode: time 1.462e-06/1.508, allocations: 0 / 0.781 GB, free: 8.977 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_200_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_200.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200_res.mat does not exist to compare? outputFormat=mat