Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.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_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 112.8 kB / 17.07 MB, free: 5.992 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.001423/0.001423, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.545/1.545, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.178/1.178, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 60.66 kB / 0.5723 GB, free: 38.91 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.19, allocations: 80.71 MB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.003001/0.1931, allocations: 1.184 MB / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.1934, allocations: 31.83 kB / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.1934, allocations: 4 kB / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.1935, allocations: 0 / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.1936, allocations: 3.938 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1938, allocations: 11.98 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.1944, allocations: 499.4 kB / 0.6528 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.1945, allocations: 4 kB / 0.6528 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.1949, allocations: 167.9 kB / 0.6529 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.1953, allocations: 203.6 kB / 0.6531 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.1955, allocations: 24 kB / 0.6531 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.456e-05/0.1956, allocations: 28 kB / 0.6532 GB, free: 9.516 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.1958, allocations: 167.6 kB / 0.6533 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.1962, allocations: 187.2 kB / 0.6535 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.1967, allocations: 334.6 kB / 0.6538 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.1968, allocations: 0 / 0.6538 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1968, allocations: 3.938 kB / 0.6538 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.1968, allocations: 0 / 0.6538 GB, free: 8.836 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00239/0.1992, allocations: 0.8971 MB / 0.6547 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1992, allocations: 15.89 kB / 0.6547 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1994, allocations: 40.7 kB / 0.6548 GB, free: 7.828 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.1999, allocations: 275.9 kB / 0.655 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.1999, allocations: 37.31 kB / 0.6551 GB, free: 7.484 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.2001, allocations: 88.17 kB / 0.6551 GB, free: 7.398 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009506/0.2011, allocations: 0.5221 MB / 0.6557 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2011, allocations: 192 / 0.6557 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.2011, allocations: 19.94 kB / 0.6557 GB, free: 6.852 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2012, allocations: 8 kB / 0.6557 GB, free: 6.844 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.2017, allocations: 303.8 kB / 0.656 GB, free: 6.547 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.2038, allocations: 1.052 MB / 0.657 GB, free: 5.445 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.2055, allocations: 1.102 MB / 0.6581 GB, free: 4.332 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.206, allocations: 351.6 kB / 0.6584 GB, free: 3.988 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.2061, allocations: 16.94 kB / 0.6584 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2061, allocations: 43.56 kB / 0.6585 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.465e-06/0.2061, allocations: 0 / 0.6585 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.00194/0.2081, allocations: 1.147 MB / 0.6596 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2082, allocations: 68.34 kB / 0.6597 GB, free: 2.688 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.2083, allocations: 105.8 kB / 0.6598 GB, free: 2.574 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.2083, allocations: 41.7 kB / 0.6598 GB, free: 2.527 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.2084, allocations: 90.08 kB / 0.6599 GB, free: 2.434 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.00039/0.2088, allocations: 0.492 MB / 0.6604 GB, free: 1.938 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.2092, allocations: 251.6 kB / 0.6606 GB, free: 1.688 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2093, allocations: 306.6 kB / 0.6609 GB, free: 1.383 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.2103, allocations: 0.5972 MB / 0.6615 GB, free: 0.7852 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.2113, allocations: 0.7179 MB / 0.6622 GB, free: 60 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.2132, allocations: 1.235 MB / 0.6634 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.2133, allocations: 0 / 0.6634 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002425/0.2157, allocations: 1.617 MB / 0.665 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2157, allocations: 4 kB / 0.665 GB, free: 13.19 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2157, allocations: 4 kB / 0.665 GB, free: 13.19 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.2158, allocations: 4 kB / 0.665 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.2175, allocations: 0.5153 MB / 0.6655 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.539e-05/0.2176, allocations: 8 kB / 0.6655 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.2181, allocations: 155.1 kB / 0.6656 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.2182, allocations: 44 kB / 0.6657 GB, free: 12.46 MB / 0.5139 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 (201): * Single equations (assignments): 201 * 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.0002898/0.2185, allocations: 226.3 kB / 0.6659 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.2186, allocations: 43.8 kB / 0.6659 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.2188, allocations: 83.61 kB / 0.666 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.2188, allocations: 15.94 kB / 0.666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.2188, allocations: 0 / 0.666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2188, allocations: 3.984 kB / 0.666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/0.2197, allocations: 0.5524 MB / 0.6666 GB, free: 11.49 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.2197, allocations: 0 / 0.6666 GB, free: 11.49 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/0.2223, allocations: 0.5152 MB / 0.6671 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.2223, allocations: 4 kB / 0.6671 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.2224, allocations: 63.92 kB / 0.6671 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.2225, allocations: 4 kB / 0.6671 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2225, allocations: 4 kB / 0.6671 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.2244, allocations: 1.356 MB / 0.6685 GB, free: 9.527 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.2245, allocations: 120.7 kB / 0.6686 GB, free: 9.391 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.2247, allocations: 59.95 kB / 0.6686 GB, free: 9.332 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.2251, allocations: 67.92 kB / 0.6687 GB, free: 9.266 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2252, allocations: 56.91 kB / 0.6688 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.2253, allocations: 31.98 kB / 0.6688 GB, free: 9.18 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.2253, allocations: 83.27 kB / 0.6689 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2254, allocations: 0 / 0.6689 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005094/0.2259, allocations: 216 kB / 0.6691 GB, free: 8.887 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (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]) * 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 (100): * Single equations (assignments): 100 * 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.000225/0.2261, allocations: 178.1 kB / 0.6692 GB, free: 8.703 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.2279, allocations: 1.189 MB / 0.6704 GB, free: 7.512 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2279, allocations: 0 / 0.6704 GB, free: 7.512 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006436/0.2286, allocations: 449.4 kB / 0.6708 GB, free: 7.07 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2289, allocations: 35.94 kB / 0.6709 GB, free: 7.035 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.2319, allocations: 2.597 MB / 0.6734 GB, free: 4.406 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.2325, allocations: 0.9183 MB / 0.6743 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0008311/0.2333, allocations: 389.1 kB / 0.6747 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.2336, allocations: 51.44 kB / 0.6747 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of SimCode: time 4.01e-07/0.2336, allocations: 0 / 0.6747 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of Templates: time 0.01329/0.2469, allocations: 6.5 MB / 0.6811 GB, free: 12.55 MB / 0.5295 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches