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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 107.8 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 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: 222.9 MB / 241.7 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9118/0.9118, allocations: 119.3 MB / 411.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 60.14 kB / 0.4922 GB, free: 12.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4949, allocations: 80.68 MB / 0.571 GB, free: 44.11 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200): time 0.002007/0.497, allocations: 1.253 MB / 0.5722 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001375/0.4971, allocations: 20.59 kB / 0.5723 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.4971, allocations: 1.969 kB / 0.5723 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.395e-05/0.4972, allocations: 3.938 kB / 0.5723 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.4973, allocations: 7.969 kB / 0.5723 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.4974, allocations: 5.5 kB / 0.5723 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006581/0.4981, allocations: 0.9355 MB / 0.5732 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.4981, allocations: 8.156 kB / 0.5732 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.4984, allocations: 332.8 kB / 0.5735 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.4988, allocations: 396.3 kB / 0.5739 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.499, allocations: 50.16 kB / 0.5739 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.4991, allocations: 50.66 kB / 0.574 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.4993, allocations: 330.7 kB / 0.5743 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.4996, allocations: 371.3 kB / 0.5747 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.5, allocations: 472 kB / 0.5751 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5, allocations: 0 / 0.5751 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.61e-07/0.5, allocations: 0 / 0.5751 GB, free: 41.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.5, allocations: 4 kB / 0.5751 GB, free: 41.58 MB / 462.3 MB 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.003009/0.503, allocations: 1.476 MB / 0.5766 GB, free: 40.62 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.5031, allocations: 9.188 kB / 0.5766 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.5033, allocations: 84.91 kB / 0.5766 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.5037, allocations: 385.6 kB / 0.577 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.5038, allocations: 57.75 kB / 0.5771 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.5041, allocations: 169.7 kB / 0.5772 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.5056, allocations: 1.016 MB / 0.5782 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.5056, allocations: 4.188 kB / 0.5782 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.5057, allocations: 35.62 kB / 0.5783 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.5058, allocations: 18.69 kB / 0.5783 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009022/0.5067, allocations: 0.5851 MB / 0.5788 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.5095, allocations: 1.875 MB / 0.5807 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.5126, allocations: 2.182 MB / 0.5828 GB, free: 37.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/0.5136, allocations: 0.6876 MB / 0.5835 GB, free: 36.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.63e-05/0.5137, allocations: 22 kB / 0.5835 GB, free: 36.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.5137, allocations: 52.56 kB / 0.5836 GB, free: 36.87 MB / 462.3 MB Notification: Performance of pre-optimization done (n=200): time 3.577e-06/0.5137, allocations: 0 / 0.5836 GB, free: 36.87 MB / 462.3 MB Notification: Performance of matching and sorting (n=200): time 0.002817/0.5165, allocations: 2.28 MB / 0.5858 GB, free: 34.58 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.5166, allocations: 77.41 kB / 0.5859 GB, free: 34.49 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.5167, allocations: 97.84 kB / 0.5859 GB, free: 34.38 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/0.5168, allocations: 65.64 kB / 0.586 GB, free: 34.31 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.5168, allocations: 87.2 kB / 0.5861 GB, free: 34.22 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.5172, allocations: 0.9361 MB / 0.587 GB, free: 33.27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.5177, allocations: 495.4 kB / 0.5875 GB, free: 32.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.5177, allocations: 306 kB / 0.5878 GB, free: 32.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.5191, allocations: 1.197 MB / 0.5889 GB, free: 31.28 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.5206, allocations: 1.412 MB / 0.5903 GB, free: 29.86 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.5235, allocations: 2.45 MB / 0.5927 GB, free: 27.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.5235, allocations: 0 / 0.5927 GB, free: 27.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.003462/0.527, allocations: 3.162 MB / 0.5958 GB, free: 24.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.527, allocations: 8.781 kB / 0.5958 GB, free: 24.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.5271, allocations: 0 / 0.5958 GB, free: 24.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.5271, allocations: 19.97 kB / 0.5958 GB, free: 24.17 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.5301, allocations: 1.022 MB / 0.5968 GB, free: 23.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/0.5301, allocations: 12 kB / 0.5968 GB, free: 23.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007884/0.5309, allocations: 313.4 kB / 0.5971 GB, free: 22.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.531, allocations: 88 kB / 0.5972 GB, free: 22.74 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000376/0.5314, allocations: 317.1 kB / 0.5975 GB, free: 22.42 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.5316, allocations: 75.25 kB / 0.5976 GB, free: 22.34 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.5319, allocations: 166.9 kB / 0.5978 GB, free: 22.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.5319, allocations: 16 kB / 0.5978 GB, free: 22.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.5319, allocations: 11.94 kB / 0.5978 GB, free: 22.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5319, allocations: 11.95 kB / 0.5978 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.5331, allocations: 0.9467 MB / 0.5987 GB, free: 21.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5331, allocations: 0 / 0.5987 GB, free: 21.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004698/0.5378, allocations: 1.027 MB / 0.5997 GB, free: 20.11 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.5378, allocations: 8 kB / 0.5997 GB, free: 20.11 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.538, allocations: 119.9 kB / 0.5998 GB, free: 19.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.538, allocations: 8 kB / 0.5998 GB, free: 19.98 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.538, allocations: 3.938 kB / 0.5999 GB, free: 19.98 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.5408, allocations: 2.586 MB / 0.6024 GB, free: 17.36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.5409, allocations: 159.9 kB / 0.6025 GB, free: 17.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.5411, allocations: 107.9 kB / 0.6026 GB, free: 17.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.5418, allocations: 131.9 kB / 0.6028 GB, free: 16.95 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.542, allocations: 117.8 kB / 0.6029 GB, free: 16.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5421, allocations: 67.95 kB / 0.6029 GB, free: 16.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.601e-05/0.5421, allocations: 79.47 kB / 0.603 GB, free: 16.69 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5421, allocations: 0 / 0.603 GB, free: 16.69 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007801/0.5429, allocations: 420 kB / 0.6034 GB, free: 16.28 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002842/0.5432, allocations: 264 kB / 0.6037 GB, free: 16.01 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.5458, allocations: 2.358 MB / 0.606 GB, free: 13.65 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5458, allocations: 0 / 0.606 GB, free: 13.65 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.5468, allocations: 0.8779 MB / 0.6068 GB, free: 12.77 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.5472, allocations: 71.94 kB / 0.6069 GB, free: 12.7 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.5511, allocations: 5.391 MB / 0.6122 GB, free: 7.262 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.5516, allocations: 1.152 MB / 0.6133 GB, free: 6.078 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005459/0.5521, allocations: 107.4 kB / 0.6134 GB, free: 5.973 MB / 462.3 MB Notification: Performance of SimCode: time 4.21e-07/0.5521, allocations: 0 / 0.6134 GB, free: 5.973 MB / 462.3 MB Notification: Performance of Templates: time 0.02963/0.5818, allocations: 20.73 MB / 0.6336 GB, free: 1.238 MB / 478.3 MB 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/jenkins1/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