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: translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.1..|der.x.200..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.1.|x.200.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.1..|der.x.200..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.1.|x.200.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200") [: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.0009672/0.0009673, allocations: 181.6 kB / 8.13 MB, free: 2.199 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.095/1.095, 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.0008657/0.0008657, allocations: 98.78 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6263/0.6263, allocations: 120.4 MB / 452 MB, free: 12.96 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.821e-06, allocations: 3.938 kB / 0.5289 GB, free: 51.78 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 82.83 MB / 0.6098 GB, free: 2.805 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.597, allocations: 124.4 MB / 0.7313 GB, free: 4.211 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001213/0.5972, allocations: 51.28 kB / 0.7314 GB, free: 4.195 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.04172/0.6389, allocations: 11.51 MB / 0.7426 GB, free: 10.56 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.639, allocations: 12 kB / 0.7426 GB, free: 10.55 MB / 0.5109 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.003191/0.6422, allocations: 1.344 MB / 0.7439 GB, free: 9.199 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6422, allocations: 10.66 kB / 0.744 GB, free: 9.191 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.6425, allocations: 83.19 kB / 0.744 GB, free: 9.109 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.6431, allocations: 382 kB / 0.7444 GB, free: 8.695 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.6432, allocations: 24 kB / 0.7444 GB, free: 8.672 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.6435, allocations: 153.8 kB / 0.7446 GB, free: 8.547 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008843/0.6443, allocations: 0.5603 MB / 0.7451 GB, free: 8.133 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.6458, allocations: 0.9251 MB / 0.746 GB, free: 7.344 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.6459, allocations: 0 / 0.746 GB, free: 7.344 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.646, allocations: 0 / 0.746 GB, free: 7.344 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.646, allocations: 20 kB / 0.746 GB, free: 7.324 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.6491, allocations: 1.811 MB / 0.7478 GB, free: 5.672 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.6516, allocations: 2.067 MB / 0.7498 GB, free: 4.121 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.6525, allocations: 0.6347 MB / 0.7504 GB, free: 3.656 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.6526, allocations: 22 kB / 0.7505 GB, free: 3.637 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.6526, allocations: 53.69 kB / 0.7505 GB, free: 3.59 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=200): time 3.035e-06/0.6526, allocations: 0 / 0.7505 GB, free: 3.59 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200): time 0.002172/0.6548, allocations: 1.569 MB / 0.752 GB, free: 2.32 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.6548, allocations: 73.41 kB / 0.7521 GB, free: 2.234 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.6549, allocations: 92.98 kB / 0.7522 GB, free: 2.137 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.655, allocations: 25.7 kB / 0.7522 GB, free: 2.105 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.655, allocations: 90.8 kB / 0.7523 GB, free: 2.016 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/0.6556, allocations: 0.9262 MB / 0.7532 GB, free: 1.223 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.6558, allocations: 3.938 kB / 0.7532 GB, free: 1.219 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.656, allocations: 441.1 kB / 0.7536 GB, free: 0.8281 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.6576, allocations: 1.168 MB / 0.7548 GB, free: 15.95 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.6592, allocations: 1.36 MB / 0.7561 GB, free: 14.92 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.6611, allocations: 1.451 MB / 0.7575 GB, free: 13.78 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.6611, allocations: 0 / 0.7575 GB, free: 13.78 MB / 0.5265 GB Notification: Performance of matching and sorting (n=401) (initialization): time 0.003794/0.6649, allocations: 3.013 MB / 0.7605 GB, free: 11.33 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.6649, allocations: 4 kB / 0.7605 GB, free: 11.32 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6649, allocations: 0 / 0.7605 GB, free: 11.32 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.665, allocations: 16 kB / 0.7605 GB, free: 11.31 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/0.6684, allocations: 0.991 MB / 0.7615 GB, free: 10.34 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.565e-05/0.6684, allocations: 17.25 kB / 0.7615 GB, free: 10.32 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/0.6693, allocations: 213.5 kB / 0.7617 GB, free: 10.11 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.6695, allocations: 89.88 kB / 0.7618 GB, free: 10.05 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.0003209/0.6698, allocations: 140.3 kB / 0.7619 GB, free: 9.906 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.6701, allocations: 75.25 kB / 0.762 GB, free: 9.832 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.6703, allocations: 143 kB / 0.7621 GB, free: 9.812 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.6703, allocations: 16.19 kB / 0.7621 GB, free: 9.797 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.6704, allocations: 3.938 kB / 0.7621 GB, free: 9.793 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.6704, allocations: 15.95 kB / 0.7621 GB, free: 9.777 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.6717, allocations: 0.8611 MB / 0.763 GB, free: 8.961 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6717, allocations: 3.938 kB / 0.763 GB, free: 8.957 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005405/0.6771, allocations: 0.9913 MB / 0.764 GB, free: 7.988 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.356e-05/0.6772, allocations: 8 kB / 0.764 GB, free: 7.98 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/0.6774, allocations: 124.8 kB / 0.7641 GB, free: 7.871 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.6775, allocations: 7.984 kB / 0.7641 GB, free: 7.863 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6775, allocations: 7.938 kB / 0.7641 GB, free: 7.855 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003039/0.6805, allocations: 2.42 MB / 0.7665 GB, free: 5.883 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.6807, allocations: 163.9 kB / 0.7666 GB, free: 5.703 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.6809, allocations: 91.89 kB / 0.7667 GB, free: 5.613 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/0.6817, allocations: 67.92 kB / 0.7668 GB, free: 5.547 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.6819, allocations: 104.1 kB / 0.7669 GB, free: 5.457 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.682, allocations: 60.97 kB / 0.7669 GB, free: 5.41 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.035e-05/0.6821, allocations: 82.84 kB / 0.767 GB, free: 5.332 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0007592/0.6828, allocations: 324 kB / 0.7673 GB, free: 5.016 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.0003175/0.6831, allocations: 227.3 kB / 0.7675 GB, free: 4.797 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.686, allocations: 2.317 MB / 0.7698 GB, free: 3 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.686, allocations: 0 / 0.7698 GB, free: 3 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.687, allocations: 0.8439 MB / 0.7706 GB, free: 2.336 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.6873, allocations: 6.047 kB / 0.7706 GB, free: 2.332 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.6917, allocations: 4.731 MB / 0.7752 GB, free: 13.68 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.6929, allocations: 1.341 MB / 0.7766 GB, free: 12.36 MB / 0.5421 GB Notification: Performance of SimCode: time 4.11e-07/0.6929, allocations: 0 / 0.7766 GB, free: 12.36 MB / 0.5421 GB Notification: Performance of Templates: time 0.02445/0.7174, allocations: 16.38 MB / 0.7925 GB, free: 11.99 MB / 0.5578 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches