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/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.001054/0.001054, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001294/0.001294, allocations: 161 kB / 24.56 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.9873/0.9873, allocations: 177.1 MB / 205 MB, free: 5.613 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.6866/0.6866, allocations: 88.08 MB / 349.6 MB, free: 14.3 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_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.x.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.x.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 453.2 MB, free: 32.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.962e-05, allocations: 5.281 kB / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200): time 0.001635/0.001664, allocations: 1.217 MB / 454.4 MB, free: 31.58 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.001824, allocations: 24.8 kB / 454.4 MB, free: 31.57 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.00186, allocations: 2.875 kB / 454.4 MB, free: 31.57 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.09e-05/0.001951, allocations: 7.172 kB / 454.4 MB, free: 31.56 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.001995, allocations: 4 kB / 454.4 MB, free: 31.56 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.002159, allocations: 14.33 kB / 454.5 MB, free: 31.55 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.002634, allocations: 0.9787 MB / 455.4 MB, free: 31.3 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.002679, allocations: 6.969 kB / 455.4 MB, free: 31.3 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.002937, allocations: 435.8 kB / 455.9 MB, free: 31.17 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.003278, allocations: 380.7 kB / 456.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 8.689e-05/0.003365, allocations: 51.91 kB / 456.3 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.003491, allocations: 49.34 kB / 456.3 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.003662, allocations: 341.6 kB / 456.7 MB, free: 30.94 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.003858, allocations: 294 kB / 457 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.004253, allocations: 0.6945 MB / 457.7 MB, free: 30.66 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.004257, allocations: 0 / 457.7 MB, free: 30.66 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.953e-06/0.004259, allocations: 0 / 457.7 MB, free: 30.66 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.004268, allocations: 0 / 457.7 MB, free: 30.66 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001854/0.006123, allocations: 1.535 MB / 459.2 MB, free: 29.94 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.006168, allocations: 14.56 kB / 459.2 MB, free: 29.93 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.006376, allocations: 143.7 kB / 459.3 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.006717, allocations: 314.1 kB / 459.6 MB, free: 29.69 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.006751, allocations: 57.25 kB / 459.7 MB, free: 29.67 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.006894, allocations: 165.1 kB / 459.9 MB, free: 29.59 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.007613, allocations: 0.6561 MB / 460.5 MB, free: 29.41 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.007629, allocations: 4.172 kB / 460.5 MB, free: 29.41 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.00768, allocations: 30.5 kB / 460.6 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.007697, allocations: 20.44 kB / 460.6 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.008079, allocations: 309.7 kB / 460.9 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.009589, allocations: 1.202 MB / 462.1 MB, free: 28.75 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.01086, allocations: 1.262 MB / 463.3 MB, free: 28.45 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.01127, allocations: 355.7 kB / 463.7 MB, free: 28.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.01134, allocations: 33.38 kB / 463.7 MB, free: 28.38 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.01137, allocations: 54.92 kB / 463.8 MB, free: 28.32 MB / 410.8 MB Notification: Performance of pre-optimization done (n=200): time 4.609e-06/0.01137, allocations: 0 / 463.8 MB, free: 28.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=200): time 0.001668/0.01304, allocations: 1.455 MB / 465.2 MB, free: 27.96 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.01308, allocations: 74.28 kB / 465.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.01316, allocations: 160.2 kB / 465.5 MB, free: 27.73 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.01322, allocations: 62.27 kB / 465.5 MB, free: 27.67 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.01325, allocations: 134 kB / 465.7 MB, free: 27.54 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.01359, allocations: 1.025 MB / 466.7 MB, free: 26.73 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/0.01392, allocations: 499.9 kB / 467.2 MB, free: 26.47 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.13e-05/0.01396, allocations: 487.1 kB / 467.6 MB, free: 25.99 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.01447, allocations: 427 kB / 468.1 MB, free: 25.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.01511, allocations: 0.6875 MB / 468.7 MB, free: 25.74 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.01625, allocations: 1.126 MB / 469.9 MB, free: 25.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.01625, allocations: 0 / 469.9 MB, free: 25.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.001892/0.01815, allocations: 1.774 MB / 471.6 MB, free: 24.77 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.01818, allocations: 7.688 kB / 471.7 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.01819, allocations: 7.969 kB / 471.7 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.01822, allocations: 13.84 kB / 471.7 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.02029, allocations: 1.016 MB / 472.7 MB, free: 24.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.02033, allocations: 15.94 kB / 472.7 MB, free: 24.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.02087, allocations: 311 kB / 473 MB, free: 24.49 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-05/0.02097, allocations: 91.16 kB / 473.1 MB, free: 24.46 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 (401): * Single equations (assignments): 401 * 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.0002531/0.02123, allocations: 288.1 kB / 473.4 MB, free: 24.19 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.02141, allocations: 141.6 kB / 473.5 MB, free: 24.13 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.02153, allocations: 172.2 kB / 473.7 MB, free: 23.96 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.02155, allocations: 22.25 kB / 473.7 MB, free: 23.96 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/0.02157, allocations: 1.281 kB / 473.7 MB, free: 23.96 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.02159, allocations: 13.61 kB / 473.7 MB, free: 23.95 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.0222, allocations: 0.5037 MB / 474.2 MB, free: 23.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.02221, allocations: 0 / 474.2 MB, free: 23.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/0.02522, allocations: 1.025 MB / 475.3 MB, free: 23.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.9e-05/0.02524, allocations: 6.375 kB / 475.3 MB, free: 23.54 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.02543, allocations: 111.3 kB / 475.4 MB, free: 23.51 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.02544, allocations: 10.69 kB / 475.4 MB, free: 23.51 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.02544, allocations: 1.156 kB / 475.4 MB, free: 23.51 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.02759, allocations: 2.121 MB / 477.5 MB, free: 22.73 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.02768, allocations: 89.42 kB / 477.6 MB, free: 22.67 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.02784, allocations: 95.56 kB / 477.7 MB, free: 22.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.02828, allocations: 138.3 kB / 477.8 MB, free: 22.59 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.02844, allocations: 122.3 kB / 477.9 MB, free: 22.58 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.02851, allocations: 59.61 kB / 478 MB, free: 22.57 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.255e-05/0.02854, allocations: 126.7 kB / 478.1 MB, free: 22.45 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02854, allocations: 0 / 478.1 MB, free: 22.45 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007722/0.02932, allocations: 424.9 kB / 478.5 MB, free: 22.38 MB / 410.8 MB 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 (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.0002515/0.02957, allocations: 256 kB / 478.8 MB, free: 22.21 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.0314, allocations: 1.345 MB / 480.1 MB, free: 21.95 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0314, allocations: 5.438 kB / 480.1 MB, free: 21.95 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006409/0.03204, allocations: 0.613 MB / 480.7 MB, free: 21.81 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.03238, allocations: 82.11 kB / 480.8 MB, free: 21.76 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.03556, allocations: 3.634 MB / 484.5 MB, free: 19.86 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.03576, allocations: 302.5 kB / 484.8 MB, free: 19.78 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0008584/0.03662, allocations: 0.6172 MB / 485.4 MB, free: 19.6 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.03689, allocations: 96.5 kB / 485.5 MB, free: 19.51 MB / 410.8 MB Notification: Performance of SimCode: time 1.903e-06/0.03689, allocations: 0 / 485.5 MB, free: 19.51 MB / 410.8 MB Notification: Performance of Templates: time 0.01444/0.05133, allocations: 12.12 MB / 497.6 MB, free: 10.36 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.357461384963244]