Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.101/1.101, allocations: 120.6 MB / 435.2 MB, free: 0.6562 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.91 kB / 0.6094 GB, free: 8.703 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1942, allocations: 85.87 MB / 0.6933 GB, free: 2.625 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.00256/0.1968, allocations: 1.211 MB / 0.6945 GB, free: 1.406 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001791/0.1969, allocations: 23.91 kB / 0.6945 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.197, allocations: 0 / 0.6945 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.1971, allocations: 0 / 0.6945 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 3.892e-05/0.1971, allocations: 4 kB / 0.6945 GB, free: 1.379 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.1973, allocations: 7.922 kB / 0.6945 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.1978, allocations: 0.4916 MB / 0.695 GB, free: 0.8789 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.408e-05/0.1979, allocations: 7.938 kB / 0.695 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1981, allocations: 175.7 kB / 0.6951 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.1984, allocations: 195.7 kB / 0.6953 GB, free: 0.5078 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.1984, allocations: 24 kB / 0.6954 GB, free: 496 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.601e-05/0.1985, allocations: 24 kB / 0.6954 GB, free: 472 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1987, allocations: 167.6 kB / 0.6955 GB, free: 304 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1989, allocations: 171.3 kB / 0.6957 GB, free: 132 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1992, allocations: 334.8 kB / 0.696 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1992, allocations: 0 / 0.696 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1992, allocations: 0 / 0.696 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1992, allocations: 0 / 0.696 GB, free: 15.8 MB / 0.5295 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.001839/0.2011, allocations: 0.8302 MB / 0.6968 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2011, allocations: 12.03 kB / 0.6968 GB, free: 14.92 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.699e-05/0.2012, allocations: 36.75 kB / 0.6969 GB, free: 14.89 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.2017, allocations: 218.1 kB / 0.6971 GB, free: 14.65 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.2017, allocations: 33.38 kB / 0.6971 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.2018, allocations: 92.06 kB / 0.6972 GB, free: 14.53 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.2026, allocations: 0.5182 MB / 0.6977 GB, free: 14 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2027, allocations: 192 / 0.6977 GB, free: 14 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.2027, allocations: 19.94 kB / 0.6977 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2027, allocations: 8 kB / 0.6977 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.2032, allocations: 303.8 kB / 0.698 GB, free: 13.68 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.205, allocations: 0.9272 MB / 0.6989 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.2066, allocations: 1.05 MB / 0.7 GB, free: 11.66 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.2071, allocations: 347.6 kB / 0.7003 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.2072, allocations: 20.94 kB / 0.7003 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.2072, allocations: 47.56 kB / 0.7004 GB, free: 11.24 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=100): time 2.124e-06/0.2072, allocations: 0 / 0.7004 GB, free: 11.24 MB / 0.5295 GB Notification: Performance of matching and sorting (n=100): time 0.001842/0.209, allocations: 1.151 MB / 0.7015 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.2091, allocations: 64.41 kB / 0.7015 GB, free: 10 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.2092, allocations: 105.8 kB / 0.7016 GB, free: 9.891 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.2092, allocations: 41.7 kB / 0.7017 GB, free: 9.844 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.2093, allocations: 82.14 kB / 0.7018 GB, free: 9.762 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.2097, allocations: 0.4998 MB / 0.7022 GB, free: 9.258 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.21, allocations: 251.6 kB / 0.7025 GB, free: 9.004 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2102, allocations: 310 kB / 0.7028 GB, free: 8.695 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008926/0.2111, allocations: 0.6011 MB / 0.7034 GB, free: 8.094 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009936/0.2121, allocations: 0.714 MB / 0.7041 GB, free: 7.375 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.2139, allocations: 1.235 MB / 0.7053 GB, free: 6.137 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2139, allocations: 0 / 0.7053 GB, free: 6.137 MB / 0.5295 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002312/0.2162, allocations: 1.61 MB / 0.7068 GB, free: 4.52 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.2163, allocations: 7.984 kB / 0.7068 GB, free: 4.512 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2163, allocations: 3.938 kB / 0.7069 GB, free: 4.508 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.2163, allocations: 11.94 kB / 0.7069 GB, free: 4.496 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.218, allocations: 0.5112 MB / 0.7074 GB, free: 3.984 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.218, allocations: 8 kB / 0.7074 GB, free: 3.977 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.2184, allocations: 163 kB / 0.7075 GB, free: 3.816 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.2185, allocations: 44 kB / 0.7076 GB, free: 3.773 MB / 0.5295 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.0002651/0.2187, allocations: 221.5 kB / 0.7078 GB, free: 3.547 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.2188, allocations: 47.7 kB / 0.7078 GB, free: 3.5 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.219, allocations: 83.89 kB / 0.7079 GB, free: 3.414 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.219, allocations: 11.98 kB / 0.7079 GB, free: 3.402 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.219, allocations: 0 / 0.7079 GB, free: 3.402 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.219, allocations: 3.984 kB / 0.7079 GB, free: 3.398 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.2198, allocations: 433.6 kB / 0.7083 GB, free: 2.945 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2198, allocations: 0 / 0.7083 GB, free: 2.945 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002387/0.2221, allocations: 0.5152 MB / 0.7088 GB, free: 2.43 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.2222, allocations: 7.938 kB / 0.7088 GB, free: 2.422 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.2223, allocations: 63.92 kB / 0.7089 GB, free: 2.359 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.2223, allocations: 8 kB / 0.7089 GB, free: 2.352 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2223, allocations: 0 / 0.7089 GB, free: 2.352 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.2241, allocations: 1.348 MB / 0.7102 GB, free: 0.9805 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.2242, allocations: 55.45 kB / 0.7103 GB, free: 0.9258 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.2243, allocations: 55.95 kB / 0.7103 GB, free: 0.8711 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.2247, allocations: 67.92 kB / 0.7104 GB, free: 0.8047 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2248, allocations: 56.88 kB / 0.7105 GB, free: 0.75 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.2248, allocations: 35.97 kB / 0.7105 GB, free: 0.7148 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.798e-05/0.2249, allocations: 79.28 kB / 0.7106 GB, free: 0.6367 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.2249, allocations: 0 / 0.7106 GB, free: 0.6367 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000459/0.2253, allocations: 212 kB / 0.7108 GB, free: 440 kB / 0.5295 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.0002277/0.2256, allocations: 185.6 kB / 0.7109 GB, free: 248 kB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.2272, allocations: 1.123 MB / 0.712 GB, free: 15.12 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2272, allocations: 4 kB / 0.712 GB, free: 15.12 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.2278, allocations: 437.4 kB / 0.7125 GB, free: 14.7 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2281, allocations: 32.61 kB / 0.7125 GB, free: 14.66 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.231, allocations: 2.655 MB / 0.7151 GB, free: 11.97 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2314, allocations: 313.4 kB / 0.7154 GB, free: 11.64 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.2316, allocations: 55.44 kB / 0.7154 GB, free: 11.58 MB / 0.5452 GB Notification: Performance of SimCode: time 7.41e-07/0.2316, allocations: 0 / 0.7154 GB, free: 11.58 MB / 0.5452 GB Notification: Performance of Templates: time 0.01396/0.2456, allocations: 9.611 MB / 0.7248 GB, free: 1.969 MB / 0.5452 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.19164980808273]