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.001035/0.001035, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001147/0.001147, allocations: 173 kB / 25.61 MB, free: 8.457 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 1.092/1.092, allocations: 177.1 MB / 206.1 MB, free: 4.508 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.8295/0.8295, allocations: 88.08 MB / 350.7 MB, free: 11.82 MB / 330.8 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_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_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 454.5 MB, free: 6.398 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.119e-05/4.338e-05, allocations: 6.312 kB / 454.5 MB, free: 6.391 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002651/0.002695, allocations: 1.215 MB / 455.7 MB, free: 5.164 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.002907, allocations: 24.09 kB / 455.7 MB, free: 5.141 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.002956, allocations: 0 / 455.7 MB, free: 5.141 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.003079, allocations: 3.938 kB / 455.7 MB, free: 5.137 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.003132, allocations: 7.984 kB / 455.7 MB, free: 5.129 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.003355, allocations: 15.92 kB / 455.7 MB, free: 5.113 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.003756, allocations: 499.3 kB / 456.2 MB, free: 4.625 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.003816, allocations: 4 kB / 456.2 MB, free: 4.621 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.004054, allocations: 227.7 kB / 456.5 MB, free: 4.398 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.004356, allocations: 195.7 kB / 456.7 MB, free: 4.207 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.00441, allocations: 24 kB / 456.7 MB, free: 4.184 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.975e-05/0.00445, allocations: 28 kB / 456.7 MB, free: 4.156 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.004591, allocations: 167.6 kB / 456.9 MB, free: 3.992 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.004762, allocations: 147.6 kB / 457 MB, free: 3.848 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.00519, allocations: 362.6 kB / 457.4 MB, free: 3.492 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.005196, allocations: 0 / 457.4 MB, free: 3.492 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.717e-06/0.0052, allocations: 3.984 kB / 457.4 MB, free: 3.488 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.005211, allocations: 0 / 457.4 MB, free: 3.488 MB / 426.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.001302/0.006513, allocations: 0.8125 MB / 458.2 MB, free: 2.637 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.006571, allocations: 8.031 kB / 458.2 MB, free: 2.629 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.006704, allocations: 72.75 kB / 458.3 MB, free: 2.559 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.006968, allocations: 196.1 kB / 458.5 MB, free: 2.34 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.006998, allocations: 29.38 kB / 458.5 MB, free: 2.312 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.007122, allocations: 84.12 kB / 458.6 MB, free: 2.23 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.0075, allocations: 322.7 kB / 458.9 MB, free: 1.91 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.007516, allocations: 192 / 458.9 MB, free: 1.91 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.00755, allocations: 16.38 kB / 458.9 MB, free: 1.895 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.007562, allocations: 8.375 kB / 458.9 MB, free: 1.887 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.007736, allocations: 130.8 kB / 459 MB, free: 1.758 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.00892, allocations: 0.6695 MB / 459.7 MB, free: 1.059 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.009543, allocations: 0.5777 MB / 460.3 MB, free: 484 kB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.009727, allocations: 158.6 kB / 460.4 MB, free: 324 kB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.009763, allocations: 17 kB / 460.4 MB, free: 308 kB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.009797, allocations: 46.39 kB / 460.5 MB, free: 252 kB / 426.8 MB Notification: Performance of pre-optimization done (n=100): time 3.106e-06/0.0098, allocations: 0 / 460.5 MB, free: 252 kB / 426.8 MB Notification: Performance of matching and sorting (n=100): time 0.0007952/0.0106, allocations: 0.6669 MB / 461.2 MB, free: 15.57 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.01064, allocations: 72.33 kB / 461.2 MB, free: 15.49 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.01073, allocations: 157.9 kB / 461.4 MB, free: 15.32 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.01076, allocations: 41.7 kB / 461.4 MB, free: 15.27 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.01082, allocations: 132.9 kB / 461.6 MB, free: 15.13 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.01111, allocations: 0.5231 MB / 462.1 MB, free: 14.61 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.01134, allocations: 269.1 kB / 462.3 MB, free: 14.34 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01146, allocations: 484.4 kB / 462.8 MB, free: 13.86 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.01169, allocations: 167.8 kB / 463 MB, free: 13.69 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.01197, allocations: 317 kB / 463.3 MB, free: 13.37 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.01249, allocations: 0.4953 MB / 463.8 MB, free: 12.87 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.01249, allocations: 0 / 463.8 MB, free: 12.87 MB / 442.8 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.000913/0.01341, allocations: 0.8135 MB / 464.6 MB, free: 12.05 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.01343, allocations: 12.03 kB / 464.6 MB, free: 12.04 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01344, allocations: 0 / 464.6 MB, free: 12.04 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.01346, allocations: 11.94 kB / 464.6 MB, free: 12.03 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.01436, allocations: 479.5 kB / 465.1 MB, free: 11.56 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.01437, allocations: 4 kB / 465.1 MB, free: 11.55 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.01457, allocations: 115.2 kB / 465.2 MB, free: 11.44 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.01461, allocations: 32 kB / 465.2 MB, free: 11.41 MB / 442.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 0.0001829/0.0148, allocations: 224.2 kB / 465.5 MB, free: 11.18 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.0149, allocations: 75.77 kB / 465.5 MB, free: 11.11 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.01502, allocations: 83.7 kB / 465.6 MB, free: 11.02 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.01503, allocations: 11.94 kB / 465.6 MB, free: 11.01 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.01504, allocations: 0 / 465.6 MB, free: 11.01 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.01505, allocations: 7.984 kB / 465.6 MB, free: 11 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.01552, allocations: 305.7 kB / 465.9 MB, free: 10.68 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01552, allocations: 0 / 465.9 MB, free: 10.68 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.01681, allocations: 479.7 kB / 466.4 MB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.01682, allocations: 7.938 kB / 466.4 MB, free: 10.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/0.01691, allocations: 55.92 kB / 466.5 MB, free: 10.14 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.01691, allocations: 8 kB / 466.5 MB, free: 10.14 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01691, allocations: 0 / 466.5 MB, free: 10.14 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.01796, allocations: 1.047 MB / 467.5 MB, free: 9.066 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.01802, allocations: 59.5 kB / 467.6 MB, free: 9.008 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/0.0181, allocations: 43.95 kB / 467.6 MB, free: 8.965 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.01828, allocations: 20 kB / 467.6 MB, free: 8.945 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.01836, allocations: 68.8 kB / 467.7 MB, free: 8.879 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.01839, allocations: 27.92 kB / 467.7 MB, free: 8.852 MB / 442.8 MB Notification: Performance of sorting global known variables: time 4.955e-05/0.01844, allocations: 131.4 kB / 467.9 MB, free: 8.723 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01844, allocations: 0 / 467.9 MB, free: 8.723 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003866/0.01883, allocations: 208 kB / 468.1 MB, free: 8.52 MB / 442.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 0.0002235/0.01905, allocations: 181.6 kB / 468.2 MB, free: 8.328 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0006735/0.01973, allocations: 0.6074 MB / 468.8 MB, free: 7.719 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.01973, allocations: 0 / 468.8 MB, free: 7.719 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.02002, allocations: 295.2 kB / 469.1 MB, free: 7.426 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.02028, allocations: 48.05 kB / 469.2 MB, free: 7.379 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.02186, allocations: 1.83 MB / 471 MB, free: 5.508 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.02199, allocations: 180.9 kB / 471.2 MB, free: 5.312 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.02216, allocations: 69.44 kB / 471.3 MB, free: 5.242 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.02236, allocations: 154.2 kB / 471.4 MB, free: 5.09 MB / 442.8 MB Notification: Performance of SimCode: time 1.433e-06/0.02236, allocations: 0 / 471.4 MB, free: 5.09 MB / 442.8 MB Notification: Performance of Templates: time 0.009002/0.03136, allocations: 6.547 MB / 478 MB, free: 14.56 MB / 458.8 MB " [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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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: 4.204715515952557]