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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002269/0.002268, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.579/1.579, allocations: 223.2 MB / 240.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 95.09 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.185/1.185, allocations: 120.5 MB / 463.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 12 kB / 0.5446 GB, free: 41.14 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2053, allocations: 82.85 MB / 0.6255 GB, free: 7.875 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.292, allocations: 125.2 MB / 0.7478 GB, free: 8.898 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001456/1.292, allocations: 50.17 kB / 0.7479 GB, free: 8.879 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.04433/1.336, allocations: 11.76 MB / 0.7594 GB, free: 14.54 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.833e-06/1.336, allocations: 0 / 0.7594 GB, free: 14.54 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.203e-05/1.336, allocations: 12 kB / 0.7594 GB, free: 14.52 MB / 0.5263 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.003178/1.34, allocations: 1.404 MB / 0.7608 GB, free: 13.11 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.34, allocations: 8.031 kB / 0.7608 GB, free: 13.1 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/1.34, allocations: 83.2 kB / 0.7608 GB, free: 13.02 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/1.341, allocations: 389.8 kB / 0.7612 GB, free: 12.6 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/1.341, allocations: 57.19 kB / 0.7613 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/1.341, allocations: 173.7 kB / 0.7614 GB, free: 12.45 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.343, allocations: 0.994 MB / 0.7624 GB, free: 11.64 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.343, allocations: 0 / 0.7624 GB, free: 11.64 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/1.343, allocations: 38.12 kB / 0.7624 GB, free: 11.62 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/1.343, allocations: 23.95 kB / 0.7625 GB, free: 11.6 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000909/1.344, allocations: 0.5916 MB / 0.763 GB, free: 11.16 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/1.347, allocations: 1.87 MB / 0.7649 GB, free: 9.48 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/1.35, allocations: 2.168 MB / 0.767 GB, free: 7.887 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 6.8e-05/1.35, allocations: 18 kB / 0.767 GB, free: 7.871 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.35, allocations: 63.17 kB / 0.7671 GB, free: 7.816 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=200): time 3.657e-06/1.35, allocations: 0 / 0.7671 GB, free: 7.816 MB / 0.5263 GB Notification: Performance of matching and sorting (n=200): time 0.003385/1.354, allocations: 2.305 MB / 0.7693 GB, free: 6.051 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/1.354, allocations: 73.41 kB / 0.7694 GB, free: 5.969 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/1.354, allocations: 92.94 kB / 0.7695 GB, free: 5.871 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/1.354, allocations: 56.83 kB / 0.7695 GB, free: 5.836 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/1.354, allocations: 87.3 kB / 0.7696 GB, free: 5.746 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008197/1.355, allocations: 0.9416 MB / 0.7705 GB, free: 4.938 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/1.355, allocations: 66.12 kB / 0.7706 GB, free: 4.922 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0002377/1.355, allocations: 443.3 kB / 0.771 GB, free: 4.527 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/1.357, allocations: 1.176 MB / 0.7722 GB, free: 3.641 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.359, allocations: 1.394 MB / 0.7735 GB, free: 2.582 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/1.361, allocations: 1.435 MB / 0.7749 GB, free: 1.551 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.361, allocations: 0 / 0.7749 GB, free: 1.551 MB / 0.5263 GB Notification: Performance of matching and sorting (n=401) (initialization): time 0.004147/1.365, allocations: 3.14 MB / 0.778 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/1.365, allocations: 8.031 kB / 0.778 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.365, allocations: 4 kB / 0.778 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/1.365, allocations: 16 kB / 0.778 GB, free: 15.14 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/1.368, allocations: 1.025 MB / 0.779 GB, free: 14.14 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.732e-05/1.368, allocations: 12 kB / 0.779 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/1.369, allocations: 307.1 kB / 0.7793 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/1.369, allocations: 91.38 kB / 0.7794 GB, free: 13.81 MB / 0.5419 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005379/1.37, allocations: 310.4 kB / 0.7797 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.37, allocations: 87.17 kB / 0.7798 GB, free: 13.48 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/1.37, allocations: 161.3 kB / 0.78 GB, free: 13.46 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.371, allocations: 24 kB / 0.78 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/1.371, allocations: 3.953 kB / 0.78 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.371, allocations: 11.91 kB / 0.78 GB, free: 13.43 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/1.372, allocations: 0.9494 MB / 0.7809 GB, free: 12.56 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.372, allocations: 0 / 0.7809 GB, free: 12.56 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005047/1.377, allocations: 1.022 MB / 0.7819 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/1.377, allocations: 8 kB / 0.7819 GB, free: 11.56 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/1.377, allocations: 123.1 kB / 0.782 GB, free: 11.46 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/1.377, allocations: 8 kB / 0.782 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.377, allocations: 3.938 kB / 0.7821 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/1.381, allocations: 2.588 MB / 0.7846 GB, free: 9.391 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/1.381, allocations: 163.9 kB / 0.7847 GB, free: 9.211 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/1.381, allocations: 111.2 kB / 0.7848 GB, free: 9.125 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/1.382, allocations: 130.8 kB / 0.785 GB, free: 9.023 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.382, allocations: 117.5 kB / 0.7851 GB, free: 8.922 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.382, allocations: 55.59 kB / 0.7851 GB, free: 8.879 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.425e-05/1.382, allocations: 83.22 kB / 0.7852 GB, free: 8.801 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.31e-07/1.382, allocations: 0 / 0.7852 GB, free: 8.801 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009498/1.383, allocations: 436.9 kB / 0.7856 GB, free: 8.445 MB / 0.5419 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 () * 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 (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.0003742/1.384, allocations: 262.5 kB / 0.7859 GB, free: 8.219 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.003428/1.387, allocations: 2.352 MB / 0.7882 GB, free: 6.383 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.387, allocations: 8 kB / 0.7882 GB, free: 6.375 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.388, allocations: 0.8672 MB / 0.789 GB, free: 5.691 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/1.388, allocations: 35 kB / 0.7891 GB, free: 5.684 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/1.394, allocations: 5.785 MB / 0.7947 GB, free: 12 kB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/1.395, allocations: 1.175 MB / 0.7959 GB, free: 14.82 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.001796/1.396, allocations: 0.7635 MB / 0.7966 GB, free: 14.05 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/1.397, allocations: 95.44 kB / 0.7967 GB, free: 13.95 MB / 0.5575 GB Notification: Performance of SimCode: time 1.182e-06/1.397, allocations: 0 / 0.7967 GB, free: 13.95 MB / 0.5575 GB Notification: Performance of Templates: time 0.02252/1.419, allocations: 11.19 MB / 0.8076 GB, free: 2.789 MB / 0.5575 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