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: translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.1..|der.x.2..|der.x.3..|der.x.400..|der.x.4..|der.x.5..|time|time|x.1.|x.2.|x.3.|x.400.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.1..|der.x.2..|der.x.3..|der.x.400..|der.x.4..|der.x.5..|time|time|x.1.|x.2.|x.3.|x.400.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 221.3 MB / 235.5 MB, free: 2.973 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.0008399/0.0008399, allocations: 88.69 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8568/0.8568, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.774e-05, allocations: 0 / 0.5367 GB, free: 11.23 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5188, allocations: 82.83 MB / 0.6176 GB, free: 9.305 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.6535, allocations: 125.2 MB / 0.7398 GB, free: 12.01 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001302/0.6537, allocations: 51.92 kB / 0.7398 GB, free: 11.96 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6333/1.287, allocations: 23.12 MB / 0.7624 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.402e-06/1.287, allocations: 0 / 0.7624 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 2.521e-05/1.287, allocations: 26.91 kB / 0.7624 GB, free: 127.3 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.005278/1.292, allocations: 2.502 MB / 0.7649 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.292, allocations: 11.47 kB / 0.7649 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/1.293, allocations: 158.6 kB / 0.765 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.294, allocations: 0.5811 MB / 0.7656 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/1.294, allocations: 116.6 kB / 0.7657 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/1.294, allocations: 345.7 kB / 0.7661 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/1.297, allocations: 1.915 MB / 0.7679 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.297, allocations: 3.875 kB / 0.7679 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/1.297, allocations: 63.47 kB / 0.768 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/1.297, allocations: 45.14 kB / 0.768 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/1.299, allocations: 1.151 MB / 0.7692 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005186/1.304, allocations: 3.506 MB / 0.7726 GB, free: 120.7 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/1.309, allocations: 4.22 MB / 0.7767 GB, free: 116.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.31, allocations: 1.318 MB / 0.778 GB, free: 115.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/1.311, allocations: 39.14 kB / 0.778 GB, free: 115.1 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/1.311, allocations: 77.7 kB / 0.7781 GB, free: 115 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=400): time 5.53e-06/1.311, allocations: 4 kB / 0.7781 GB, free: 115 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400): time 0.003972/1.315, allocations: 3.227 MB / 0.7813 GB, free: 111.8 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.315, allocations: 94.55 kB / 0.7813 GB, free: 111.6 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/1.315, allocations: 92.98 kB / 0.7814 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/1.315, allocations: 89.7 kB / 0.7815 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/1.315, allocations: 90.42 kB / 0.7816 GB, free: 111.4 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007561/1.316, allocations: 1.881 MB / 0.7834 GB, free: 109.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/1.316, allocations: 124 kB / 0.7836 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.316, allocations: 0.5632 MB / 0.7841 GB, free: 108.8 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/1.319, allocations: 2.308 MB / 0.7864 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/1.322, allocations: 2.726 MB / 0.789 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/1.325, allocations: 2.839 MB / 0.7918 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.325, allocations: 4 kB / 0.7918 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.006792/1.332, allocations: 6.138 MB / 0.7978 GB, free: 94.69 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.332, allocations: 8 kB / 0.7978 GB, free: 94.68 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.332, allocations: 0 / 0.7978 GB, free: 94.68 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/1.332, allocations: 28.03 kB / 0.7978 GB, free: 94.65 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00623/1.338, allocations: 2.045 MB / 0.7998 GB, free: 92.61 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.151e-05/1.338, allocations: 28 kB / 0.7999 GB, free: 92.58 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/1.34, allocations: 0.6005 MB / 0.8004 GB, free: 91.97 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/1.34, allocations: 176 kB / 0.8006 GB, free: 91.8 MB / 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.00059/1.341, allocations: 371.8 kB / 0.801 GB, free: 91.43 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/1.341, allocations: 150.5 kB / 0.8011 GB, free: 91.28 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/1.342, allocations: 322.3 kB / 0.8014 GB, free: 90.96 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/1.342, allocations: 36 kB / 0.8015 GB, free: 90.93 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.342, allocations: 3.953 kB / 0.8015 GB, free: 90.92 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/1.342, allocations: 23.92 kB / 0.8015 GB, free: 90.9 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/1.344, allocations: 1.747 MB / 0.8032 GB, free: 89.19 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.344, allocations: 0 / 0.8032 GB, free: 89.19 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009414/1.353, allocations: 2.045 MB / 0.8052 GB, free: 87.14 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.471e-05/1.353, allocations: 16 kB / 0.8052 GB, free: 87.12 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004456/1.354, allocations: 251.7 kB / 0.8054 GB, free: 86.88 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/1.354, allocations: 12 kB / 0.8054 GB, free: 86.87 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.354, allocations: 3.984 kB / 0.8055 GB, free: 86.86 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/1.359, allocations: 4.925 MB / 0.8103 GB, free: 81.87 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.359, allocations: 250.7 kB / 0.8105 GB, free: 81.61 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/1.36, allocations: 219.8 kB / 0.8107 GB, free: 81.39 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.361, allocations: 263.7 kB / 0.811 GB, free: 81.13 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/1.362, allocations: 238.8 kB / 0.8112 GB, free: 80.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/1.362, allocations: 119.9 kB / 0.8113 GB, free: 80.78 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.611e-05/1.362, allocations: 79.28 kB / 0.8114 GB, free: 80.7 MB / 0.5421 GB Notification: Performance of sort global known variables: time 6.21e-07/1.362, allocations: 0 / 0.8114 GB, free: 80.7 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001308/1.363, allocations: 0.8319 MB / 0.8122 GB, free: 79.87 MB / 0.5421 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.0005057/1.364, allocations: 437 kB / 0.8126 GB, free: 79.43 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.005446/1.369, allocations: 4.599 MB / 0.8171 GB, free: 74.82 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.369, allocations: 0 / 0.8171 GB, free: 74.82 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/1.371, allocations: 1.692 MB / 0.8188 GB, free: 73.13 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/1.372, allocations: 60.81 kB / 0.8188 GB, free: 73.07 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/1.377, allocations: 10.08 MB / 0.8287 GB, free: 62.88 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/1.378, allocations: 1.695 MB / 0.8303 GB, free: 61.14 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002984/1.381, allocations: 1.538 MB / 0.8318 GB, free: 59.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007283/1.382, allocations: 187.4 kB / 0.832 GB, free: 59.42 MB / 0.5421 GB Notification: Performance of SimCode: time 1.082e-06/1.382, allocations: 0 / 0.832 GB, free: 59.42 MB / 0.5421 GB Notification: Performance of Templates: time 0.02843/1.41, allocations: 22.24 MB / 0.8537 GB, free: 37.24 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_400.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches