Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.0009848/0.0009848, allocations: 76.41 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.001216/0.001216, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.9824/0.9824, allocations: 177.1 MB / 205.3 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.6161/0.6161, allocations: 88.07 MB / 349.9 MB, free: 14.28 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_noopt_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_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.52e-07/7.52e-07, allocations: 0 / 453.1 MB, free: 32.48 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.134e-05, allocations: 2.312 kB / 453.1 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200): time 0.001147/0.001159, allocations: 1.234 MB / 454.4 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 9.77e-05/0.001256, allocations: 21.11 kB / 454.4 MB, free: 31.62 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.001286, allocations: 0 / 454.4 MB, free: 31.62 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.732e-05/0.001344, allocations: 0 / 454.4 MB, free: 31.62 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.001372, allocations: 18.2 kB / 454.4 MB, free: 31.61 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.001477, allocations: 4 kB / 454.4 MB, free: 31.6 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.001883, allocations: 0.9796 MB / 455.4 MB, free: 31.35 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.001914, allocations: 7.938 kB / 455.4 MB, free: 31.35 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.002184, allocations: 437.9 kB / 455.8 MB, free: 31.22 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.002486, allocations: 387.1 kB / 456.2 MB, free: 31.13 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.002564, allocations: 49.28 kB / 456.2 MB, free: 31.13 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.693e-05/0.002611, allocations: 52.28 kB / 456.3 MB, free: 31.13 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.002745, allocations: 337 kB / 456.6 MB, free: 30.99 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.002914, allocations: 295.1 kB / 456.9 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.003231, allocations: 0.6953 MB / 457.6 MB, free: 30.7 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003232, allocations: 0 / 457.6 MB, free: 30.7 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003233, allocations: 2.406 kB / 457.6 MB, free: 30.7 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.003245, allocations: 0 / 457.6 MB, free: 30.7 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.001539/0.004784, allocations: 1.534 MB / 459.1 MB, free: 29.98 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.637e-05/0.00481, allocations: 11.59 kB / 459.2 MB, free: 29.98 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.004965, allocations: 143.2 kB / 459.3 MB, free: 29.93 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.005236, allocations: 307.5 kB / 459.6 MB, free: 29.75 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.005262, allocations: 59.19 kB / 459.7 MB, free: 29.72 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.005374, allocations: 162 kB / 459.8 MB, free: 29.64 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.005975, allocations: 0.6583 MB / 460.5 MB, free: 29.47 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.005989, allocations: 7.188 kB / 460.5 MB, free: 29.46 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.006035, allocations: 30.19 kB / 460.5 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.006047, allocations: 17.66 kB / 460.5 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.006393, allocations: 303.4 kB / 460.8 MB, free: 29.4 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.007844, allocations: 1.201 MB / 462 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.009053, allocations: 1.267 MB / 463.3 MB, free: 28.51 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.00942, allocations: 356.4 kB / 463.6 MB, free: 28.43 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/0.009476, allocations: 33.66 kB / 463.7 MB, free: 28.43 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.0095, allocations: 63.11 kB / 463.7 MB, free: 28.37 MB / 410.8 MB Notification: Performance of pre-optimization done (n=200): time 2.856e-06/0.009502, allocations: 0 / 463.7 MB, free: 28.37 MB / 410.8 MB Notification: Performance of matching and sorting (n=200): time 0.002011/0.01151, allocations: 1.458 MB / 465.2 MB, free: 28.01 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.01158, allocations: 70.66 kB / 465.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.01175, allocations: 166.6 kB / 465.4 MB, free: 27.77 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.01189, allocations: 57.98 kB / 465.5 MB, free: 27.72 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.01194, allocations: 134 kB / 465.6 MB, free: 27.58 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005676/0.01251, allocations: 1.019 MB / 466.6 MB, free: 26.78 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.01297, allocations: 0.4909 MB / 467.1 MB, free: 26.52 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.01301, allocations: 488.4 kB / 467.6 MB, free: 26.04 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.01365, allocations: 424.3 kB / 468 MB, free: 25.98 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.01434, allocations: 0.6818 MB / 468.7 MB, free: 25.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.01558, allocations: 1.137 MB / 469.8 MB, free: 25.36 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.01559, allocations: 3.938 kB / 469.8 MB, free: 25.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.001989/0.01758, allocations: 1.764 MB / 471.6 MB, free: 24.82 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.0176, allocations: 6.172 kB / 471.6 MB, free: 24.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.01762, allocations: 6.969 kB / 471.6 MB, free: 24.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.01764, allocations: 15.28 kB / 471.6 MB, free: 24.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.0196, allocations: 1.017 MB / 472.6 MB, free: 24.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-05/0.01965, allocations: 12.62 kB / 472.7 MB, free: 24.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.02022, allocations: 311.5 kB / 473 MB, free: 24.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.906e-05/0.02032, allocations: 92.03 kB / 473 MB, free: 24.51 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.0002519/0.02058, allocations: 292.2 kB / 473.3 MB, free: 24.23 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.02075, allocations: 141.6 kB / 473.5 MB, free: 24.18 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.02089, allocations: 168.2 kB / 473.6 MB, free: 24.01 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.0209, allocations: 18.94 kB / 473.7 MB, free: 24.01 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/0.02093, allocations: 0 / 473.7 MB, free: 24.01 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.02094, allocations: 11.22 kB / 473.7 MB, free: 24.01 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.02154, allocations: 0.5096 MB / 474.2 MB, free: 23.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.02155, allocations: 0 / 474.2 MB, free: 23.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/0.02438, allocations: 1.026 MB / 475.2 MB, free: 23.59 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/0.02439, allocations: 6.281 kB / 475.2 MB, free: 23.59 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.02456, allocations: 118.9 kB / 475.3 MB, free: 23.55 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.02457, allocations: 11.69 kB / 475.3 MB, free: 23.55 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02457, allocations: 0 / 475.3 MB, free: 23.55 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.02656, allocations: 2.108 MB / 477.4 MB, free: 22.79 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.02662, allocations: 93.98 kB / 477.5 MB, free: 22.72 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.02677, allocations: 102 kB / 477.6 MB, free: 22.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.02718, allocations: 135.4 kB / 477.8 MB, free: 22.64 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.02732, allocations: 123.3 kB / 477.9 MB, free: 22.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.02739, allocations: 59.78 kB / 477.9 MB, free: 22.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.565e-05/0.02741, allocations: 125.9 kB / 478.1 MB, free: 22.5 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02741, allocations: 1.156 kB / 478.1 MB, free: 22.5 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006123/0.02802, allocations: 420.7 kB / 478.5 MB, free: 22.43 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.0002313/0.02826, allocations: 264.1 kB / 478.7 MB, free: 22.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.02982, allocations: 1.343 MB / 480.1 MB, free: 22 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02982, allocations: 0 / 480.1 MB, free: 22 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.03041, allocations: 0.6147 MB / 480.7 MB, free: 21.86 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.0307, allocations: 82.39 kB / 480.8 MB, free: 21.81 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.03344, allocations: 3.625 MB / 484.4 MB, free: 19.92 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.03363, allocations: 305 kB / 484.7 MB, free: 19.83 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0007381/0.03437, allocations: 0.6174 MB / 485.3 MB, free: 19.7 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.03464, allocations: 96.5 kB / 485.4 MB, free: 19.69 MB / 410.8 MB Notification: Performance of SimCode: time 1.333e-06/0.03464, allocations: 4 kB / 485.4 MB, free: 19.69 MB / 410.8 MB Notification: Performance of Templates: time 0.01386/0.0485, allocations: 11.9 MB / 497.3 MB, free: 10.92 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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: 3.913546544034034]