Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009332/0.0009332, allocations: 179.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.176/1.176, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.0007959/0.0007959, allocations: 96.03 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.82/0.82, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.263e-05, allocations: 0 / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4917, allocations: 82.83 MB / 0.6176 GB, free: 9.285 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.6269, allocations: 125.2 MB / 0.7398 GB, free: 11.99 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001348/0.6271, allocations: 47.92 kB / 0.7398 GB, free: 11.95 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.04123/0.6683, allocations: 11.78 MB / 0.7513 GB, free: 140 kB / 0.5419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6684, allocations: 0 / 0.7513 GB, free: 140 kB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.6684, allocations: 16 kB / 0.7514 GB, free: 124 kB / 0.5419 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.5317/1.2, allocations: 1.397 MB / 0.7527 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.2, allocations: 8.438 kB / 0.7527 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/1.2, allocations: 81.55 kB / 0.7528 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/1.201, allocations: 380.5 kB / 0.7532 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/1.201, allocations: 63 kB / 0.7532 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/1.201, allocations: 172.3 kB / 0.7534 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/1.203, allocations: 0.9795 MB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.203, allocations: 0 / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/1.203, allocations: 31.22 kB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/1.203, allocations: 18.53 kB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/1.204, allocations: 0.5865 MB / 0.755 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/1.208, allocations: 1.861 MB / 0.7568 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/1.211, allocations: 2.122 MB / 0.7589 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009354/1.212, allocations: 0.6633 MB / 0.7595 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 8.874e-05/1.212, allocations: 20.84 kB / 0.7595 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/1.212, allocations: 60.45 kB / 0.7596 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=200): time 3.206e-06/1.212, allocations: 0 / 0.7596 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=200): time 0.002021/1.214, allocations: 1.642 MB / 0.7612 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.214, allocations: 72.59 kB / 0.7613 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/1.214, allocations: 98.05 kB / 0.7614 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/1.214, allocations: 57.39 kB / 0.7614 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/1.214, allocations: 87.3 kB / 0.7615 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/1.214, allocations: 0.9414 MB / 0.7624 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/1.214, allocations: 67.34 kB / 0.7625 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/1.215, allocations: 436.8 kB / 0.7629 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/1.216, allocations: 1.151 MB / 0.764 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/1.217, allocations: 1.371 MB / 0.7654 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/1.219, allocations: 1.425 MB / 0.7668 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.219, allocations: 0 / 0.7668 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=401) (initialization): time 0.003211/1.222, allocations: 3.083 MB / 0.7698 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.222, allocations: 8.719 kB / 0.7698 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.222, allocations: 0 / 0.7698 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/1.222, allocations: 16 kB / 0.7698 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.225, allocations: 1.024 MB / 0.7708 GB, free: 120.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/1.225, allocations: 16 kB / 0.7708 GB, free: 120.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/1.226, allocations: 310.8 kB / 0.7711 GB, free: 120.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.226, allocations: 92 kB / 0.7712 GB, free: 120.3 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 (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.0003165/1.226, allocations: 238.8 kB / 0.7714 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/1.226, allocations: 78.31 kB / 0.7715 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/1.227, allocations: 162.9 kB / 0.7716 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/1.227, allocations: 21.78 kB / 0.7717 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.227, allocations: 7.797 kB / 0.7717 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.227, allocations: 7.219 kB / 0.7717 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/1.228, allocations: 0.946 MB / 0.7726 GB, free: 119.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/1.228, allocations: 0 / 0.7726 GB, free: 119.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004482/1.232, allocations: 1.029 MB / 0.7736 GB, free: 118.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/1.232, allocations: 12 kB / 0.7736 GB, free: 118.2 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/1.233, allocations: 124.1 kB / 0.7737 GB, free: 118.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/1.233, allocations: 4 kB / 0.7737 GB, free: 118.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.233, allocations: 0 / 0.7737 GB, free: 118.1 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/1.235, allocations: 2.537 MB / 0.7762 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/1.236, allocations: 163.9 kB / 0.7764 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.236, allocations: 113.9 kB / 0.7765 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/1.237, allocations: 129.1 kB / 0.7766 GB, free: 115.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.237, allocations: 122.8 kB / 0.7767 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/1.237, allocations: 59.69 kB / 0.7768 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.591e-05/1.237, allocations: 83.28 kB / 0.7769 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.237, allocations: 3.938 kB / 0.7769 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007176/1.238, allocations: 423.9 kB / 0.7773 GB, free: 114.8 MB / 0.5421 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.0002788/1.238, allocations: 266.5 kB / 0.7775 GB, free: 114.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002778/1.241, allocations: 2.306 MB / 0.7798 GB, free: 112.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.241, allocations: 0 / 0.7798 GB, free: 112.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/1.242, allocations: 0.8507 MB / 0.7806 GB, free: 111.6 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/1.242, allocations: 33.94 kB / 0.7806 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/1.245, allocations: 5 MB / 0.7855 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/1.245, allocations: 1.171 MB / 0.7867 GB, free: 105.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001365/1.247, allocations: 0.7674 MB / 0.7874 GB, free: 104.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/1.247, allocations: 99.44 kB / 0.7875 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of SimCode: time 4.21e-07/1.247, allocations: 0 / 0.7875 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of Templates: time 0.01484/1.262, allocations: 11.2 MB / 0.7984 GB, free: 93.26 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches