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.001572/0.001572, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001379/0.001379, allocations: 165.7 kB / 24.99 MB, free: 8.789 MB / 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.9957/0.9957, allocations: 177.1 MB / 205.3 MB, free: 5.656 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.6779/0.6779, allocations: 88.08 MB / 349.9 MB, free: 14.32 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 2.465e-06/2.465e-06, allocations: 0 / 453.1 MB, free: 32.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.258e-05, allocations: 5.219 kB / 453.1 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200): time 0.001702/0.001735, allocations: 1.236 MB / 454.4 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.001904, allocations: 18.64 kB / 454.4 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.001954, allocations: 0 / 454.4 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.19e-05/0.002046, allocations: 3.938 kB / 454.4 MB, free: 31.85 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.00209, allocations: 0 / 454.4 MB, free: 31.85 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.002277, allocations: 9.891 kB / 454.4 MB, free: 31.85 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.002794, allocations: 0.9778 MB / 455.4 MB, free: 31.6 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.002858, allocations: 11.36 kB / 455.4 MB, free: 31.6 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.003155, allocations: 440.2 kB / 455.8 MB, free: 31.46 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.003514, allocations: 385 kB / 456.2 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.00359, allocations: 51.81 kB / 456.2 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.003645, allocations: 48.62 kB / 456.3 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.003809, allocations: 335.1 kB / 456.6 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.004005, allocations: 300.3 kB / 456.9 MB, free: 31.13 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.004439, allocations: 0.6851 MB / 457.6 MB, free: 30.95 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.004443, allocations: 0 / 457.6 MB, free: 30.95 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.793e-06/0.004445, allocations: 2.656 kB / 457.6 MB, free: 30.95 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.004454, allocations: 4 kB / 457.6 MB, free: 30.95 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.00183/0.006284, allocations: 1.538 MB / 459.1 MB, free: 30.23 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.006324, allocations: 8.656 kB / 459.2 MB, free: 30.23 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.006517, allocations: 144.2 kB / 459.3 MB, free: 30.17 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.006841, allocations: 308.4 kB / 459.6 MB, free: 29.99 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.006874, allocations: 63.75 kB / 459.7 MB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.007006, allocations: 161.9 kB / 459.8 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.007663, allocations: 0.655 MB / 460.5 MB, free: 29.71 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.007679, allocations: 4.125 kB / 460.5 MB, free: 29.71 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.007728, allocations: 36.94 kB / 460.5 MB, free: 29.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.007743, allocations: 18.56 kB / 460.5 MB, free: 29.68 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.008112, allocations: 308.1 kB / 460.8 MB, free: 29.64 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.009588, allocations: 1.194 MB / 462 MB, free: 29.04 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.01091, allocations: 1.261 MB / 463.3 MB, free: 28.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.01134, allocations: 364.5 kB / 463.6 MB, free: 28.67 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.574e-05/0.0114, allocations: 40.06 kB / 463.7 MB, free: 28.66 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.01143, allocations: 55.8 kB / 463.7 MB, free: 28.61 MB / 410.8 MB Notification: Performance of pre-optimization done (n=200): time 4.037e-06/0.01144, allocations: 3.938 kB / 463.7 MB, free: 28.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=200): time 0.001793/0.01323, allocations: 1.446 MB / 465.2 MB, free: 28.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.01327, allocations: 71.56 kB / 465.3 MB, free: 28.19 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.01336, allocations: 162.3 kB / 465.4 MB, free: 28.02 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.01341, allocations: 57.58 kB / 465.5 MB, free: 27.97 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.01345, allocations: 138 kB / 465.6 MB, free: 27.83 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.01381, allocations: 1.02 MB / 466.6 MB, free: 27.02 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.01415, allocations: 0.494 MB / 467.1 MB, free: 26.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.0142, allocations: 488.4 kB / 467.6 MB, free: 26.28 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.01473, allocations: 428.6 kB / 468 MB, free: 26.22 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.0154, allocations: 0.6888 MB / 468.7 MB, free: 26.03 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.0166, allocations: 1.123 MB / 469.8 MB, free: 25.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.01661, allocations: 0 / 469.8 MB, free: 25.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.00192/0.01853, allocations: 1.772 MB / 471.6 MB, free: 25.07 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.01856, allocations: 4.938 kB / 471.6 MB, free: 25.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.01857, allocations: 3.938 kB / 471.6 MB, free: 25.06 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.01859, allocations: 13.72 kB / 471.6 MB, free: 25.06 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.0206, allocations: 1.024 MB / 472.6 MB, free: 24.97 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.786e-05/0.02064, allocations: 17.81 kB / 472.7 MB, free: 24.97 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.02118, allocations: 307 kB / 473 MB, free: 24.78 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.02127, allocations: 87.12 kB / 473 MB, free: 24.75 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.0002626/0.02154, allocations: 287.6 kB / 473.3 MB, free: 24.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.02173, allocations: 145.6 kB / 473.5 MB, free: 24.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.02188, allocations: 164.2 kB / 473.6 MB, free: 24.26 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.02189, allocations: 18.94 kB / 473.7 MB, free: 24.26 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.02192, allocations: 0 / 473.7 MB, free: 24.26 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.02193, allocations: 11.17 kB / 473.7 MB, free: 24.26 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.02254, allocations: 0.5176 MB / 474.2 MB, free: 23.89 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02254, allocations: 4 kB / 474.2 MB, free: 23.89 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/0.02559, allocations: 1.025 MB / 475.2 MB, free: 23.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/0.02561, allocations: 5.438 kB / 475.2 MB, free: 23.82 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/0.02583, allocations: 111.1 kB / 475.3 MB, free: 23.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.02584, allocations: 10.56 kB / 475.3 MB, free: 23.8 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.02584, allocations: 1.375 kB / 475.3 MB, free: 23.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.02823, allocations: 2.12 MB / 477.5 MB, free: 23.02 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.02832, allocations: 90.05 kB / 477.5 MB, free: 22.96 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.02848, allocations: 99.67 kB / 477.6 MB, free: 22.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.0289, allocations: 135.2 kB / 477.8 MB, free: 22.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/0.02915, allocations: 122.6 kB / 477.9 MB, free: 22.87 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.611e-05/0.02923, allocations: 64.25 kB / 478 MB, free: 22.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.913e-05/0.02927, allocations: 124.5 kB / 478.1 MB, free: 22.74 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02927, allocations: 1.125 kB / 478.1 MB, free: 22.74 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0008405/0.03011, allocations: 421 kB / 478.5 MB, free: 22.66 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.0002405/0.03035, allocations: 260 kB / 478.7 MB, free: 22.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.03227, allocations: 1.345 MB / 480.1 MB, free: 22.24 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03227, allocations: 0 / 480.1 MB, free: 22.24 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006534/0.03293, allocations: 0.6177 MB / 480.7 MB, free: 22.09 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.03324, allocations: 84.67 kB / 480.8 MB, free: 22.04 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.03623, allocations: 3.63 MB / 484.4 MB, free: 20.15 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.03641, allocations: 304.1 kB / 484.7 MB, free: 20.07 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0007966/0.03721, allocations: 0.6144 MB / 485.3 MB, free: 19.93 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.03747, allocations: 95.84 kB / 485.4 MB, free: 19.93 MB / 410.8 MB Notification: Performance of SimCode: time 1.523e-06/0.03747, allocations: 0 / 485.4 MB, free: 19.93 MB / 410.8 MB Notification: Performance of Templates: time 0.01305/0.05052, allocations: 11.89 MB / 497.3 MB, free: 11.12 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.437461392953992]