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.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.00116/0.00116, allocations: 80.23 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001441/0.001441, allocations: 161 kB / 24.55 MB, free: 16 kB / 18.57 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 0.8945/0.8945, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5642/0.5642, allocations: 88.09 MB / 349.6 MB, free: 14.29 MB / 330.7 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.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_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.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 453.2 MB, free: 32.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.662e-05, allocations: 2.969 kB / 453.2 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.001292/0.001308, allocations: 1.233 MB / 454.4 MB, free: 31.56 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.001444, allocations: 19.03 kB / 454.4 MB, free: 31.55 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.001475, allocations: 7.938 kB / 454.4 MB, free: 31.54 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.446e-05/0.001549, allocations: 0 / 454.4 MB, free: 31.54 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.367e-05/0.001583, allocations: 3.188 kB / 454.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.001722, allocations: 10.61 kB / 454.5 MB, free: 31.54 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.00197, allocations: 0.4951 MB / 455 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.002006, allocations: 6.938 kB / 455 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.002143, allocations: 227.1 kB / 455.2 MB, free: 31.34 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.002329, allocations: 192.1 kB / 455.4 MB, free: 31.29 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.00237, allocations: 24.47 kB / 455.4 MB, free: 31.29 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.219e-05/0.002402, allocations: 25.56 kB / 455.4 MB, free: 31.29 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.002505, allocations: 173.8 kB / 455.6 MB, free: 31.22 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.002603, allocations: 147.3 kB / 455.7 MB, free: 31.17 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.002856, allocations: 356.2 kB / 456.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002858, allocations: 0 / 456.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.41e-07/0.002859, allocations: 0 / 456.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.002866, allocations: 0 / 456.1 MB, free: 31.08 MB / 410.8 MB 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.00102/0.003887, allocations: 0.9393 MB / 457 MB, free: 30.54 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.003927, allocations: 7.75 kB / 457 MB, free: 30.54 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.461e-05/0.004021, allocations: 74.59 kB / 457.1 MB, free: 30.5 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.004216, allocations: 211.9 kB / 457.3 MB, free: 30.35 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.004239, allocations: 29.53 kB / 457.3 MB, free: 30.34 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.004316, allocations: 84.88 kB / 457.4 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.004665, allocations: 350.8 kB / 457.8 MB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.004674, allocations: 4.188 kB / 457.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.0047, allocations: 19.03 kB / 457.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.00471, allocations: 10.88 kB / 457.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.004899, allocations: 152.3 kB / 457.9 MB, free: 30.15 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000994/0.005893, allocations: 0.7124 MB / 458.7 MB, free: 29.73 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.006604, allocations: 0.6462 MB / 459.3 MB, free: 29.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.006839, allocations: 179.2 kB / 459.5 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.006876, allocations: 18.16 kB / 459.5 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.006894, allocations: 48.73 kB / 459.5 MB, free: 29.47 MB / 410.8 MB Notification: Performance of pre-optimization done (n=100): time 2.245e-06/0.006896, allocations: 6.875 kB / 459.6 MB, free: 29.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=100): time 0.0008404/0.007736, allocations: 0.7401 MB / 460.3 MB, free: 29.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.007758, allocations: 63.06 kB / 460.4 MB, free: 29.21 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.007811, allocations: 166.5 kB / 460.5 MB, free: 29.04 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.007834, allocations: 44.3 kB / 460.6 MB, free: 28.99 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.00786, allocations: 135.6 kB / 460.7 MB, free: 28.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.00801, allocations: 0.5101 MB / 461.2 MB, free: 28.45 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.008236, allocations: 261.7 kB / 461.5 MB, free: 28.31 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.602e-05/0.008272, allocations: 487.3 kB / 461.9 MB, free: 27.83 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.008562, allocations: 212 kB / 462.1 MB, free: 27.8 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.008887, allocations: 366.5 kB / 462.5 MB, free: 27.7 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006834/0.00957, allocations: 0.58 MB / 463.1 MB, free: 27.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.009574, allocations: 0 / 463.1 MB, free: 27.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.0008171/0.01039, allocations: 0.9183 MB / 464 MB, free: 27.18 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.0104, allocations: 3.594 kB / 464 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01041, allocations: 6.844 kB / 464 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01043, allocations: 5.719 kB / 464 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.01128, allocations: 0.5116 MB / 464.5 MB, free: 27.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.01129, allocations: 5.625 kB / 464.5 MB, free: 27.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.01149, allocations: 157.3 kB / 464.7 MB, free: 27.04 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.01153, allocations: 48.91 kB / 464.7 MB, free: 27.02 MB / 410.8 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 (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 8.791e-05/0.01162, allocations: 217.7 kB / 464.9 MB, free: 26.81 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.01169, allocations: 74.36 kB / 465 MB, free: 26.78 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.01176, allocations: 95.02 kB / 465.1 MB, free: 26.69 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.01176, allocations: 10.56 kB / 465.1 MB, free: 26.69 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01177, allocations: 0 / 465.1 MB, free: 26.69 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01177, allocations: 3.375 kB / 465.1 MB, free: 26.69 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.01206, allocations: 324.4 kB / 465.4 MB, free: 26.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01207, allocations: 0 / 465.4 MB, free: 26.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.01337, allocations: 0.515 MB / 466 MB, free: 26.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01337, allocations: 2.625 kB / 466 MB, free: 26.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.01344, allocations: 55.03 kB / 466 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01344, allocations: 6.562 kB / 466 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01344, allocations: 2.625 kB / 466 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.01424, allocations: 1.089 MB / 467.1 MB, free: 25.94 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01426, allocations: 49.14 kB / 467.2 MB, free: 25.91 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.01433, allocations: 49.23 kB / 467.2 MB, free: 25.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.01453, allocations: 69.3 kB / 467.3 MB, free: 25.87 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.01459, allocations: 60.94 kB / 467.3 MB, free: 25.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.01462, allocations: 42.95 kB / 467.4 MB, free: 25.85 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.651e-05/0.01463, allocations: 126.1 kB / 467.5 MB, free: 25.73 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01463, allocations: 0 / 467.5 MB, free: 25.73 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000282/0.01492, allocations: 209 kB / 467.7 MB, free: 25.69 MB / 410.8 MB 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 9.867e-05/0.01502, allocations: 174.2 kB / 467.9 MB, free: 25.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.01564, allocations: 0.6814 MB / 468.6 MB, free: 25.43 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01564, allocations: 0 / 468.6 MB, free: 25.43 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.01588, allocations: 321.1 kB / 468.9 MB, free: 25.36 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01609, allocations: 47.27 kB / 468.9 MB, free: 25.33 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.01719, allocations: 1.824 MB / 470.7 MB, free: 24.34 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.344e-05/0.01727, allocations: 177.7 kB / 470.9 MB, free: 24.26 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.01757, allocations: 310.1 kB / 471.2 MB, free: 24.2 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.0177, allocations: 54.28 kB / 471.3 MB, free: 24.2 MB / 410.8 MB Notification: Performance of SimCode: time 3.7e-07/0.0177, allocations: 3.938 kB / 471.3 MB, free: 24.19 MB / 410.8 MB Notification: Performance of Templates: time 0.006847/0.02455, allocations: 6.054 MB / 477.3 MB, free: 23.59 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.253858665935695]