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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009902/0.0009902, allocations: 179.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 90.19 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8639/0.8639, allocations: 120.5 MB / 457.9 MB, free: 7.02 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.658e-05, allocations: 4 kB / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6161, allocations: 82.84 MB / 0.6176 GB, free: 9.289 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.757, allocations: 125.2 MB / 0.7398 GB, free: 11.99 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001204/0.7572, allocations: 51.92 kB / 0.7398 GB, free: 11.94 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02331/0.7805, allocations: 6.11 MB / 0.7458 GB, free: 5.82 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7805, allocations: 0 / 0.7458 GB, free: 5.82 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.7806, allocations: 8 kB / 0.7458 GB, free: 5.812 MB / 0.5419 GB 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.001884/0.7825, allocations: 0.8421 MB / 0.7466 GB, free: 4.926 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7825, allocations: 12.03 kB / 0.7467 GB, free: 4.914 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.7826, allocations: 43.56 kB / 0.7467 GB, free: 4.871 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.783, allocations: 278.5 kB / 0.747 GB, free: 4.559 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.7831, allocations: 29 kB / 0.747 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.7832, allocations: 91.61 kB / 0.7471 GB, free: 4.441 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000874/0.7841, allocations: 0.5021 MB / 0.7476 GB, free: 3.934 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7841, allocations: 0 / 0.7476 GB, free: 3.934 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.7842, allocations: 20 kB / 0.7476 GB, free: 3.914 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.7842, allocations: 12 kB / 0.7476 GB, free: 3.902 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.7847, allocations: 303.8 kB / 0.7479 GB, free: 3.605 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.7864, allocations: 1.044 MB / 0.7489 GB, free: 2.508 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.788, allocations: 1.059 MB / 0.7499 GB, free: 1.441 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.7885, allocations: 343.8 kB / 0.7503 GB, free: 1.105 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.7886, allocations: 13 kB / 0.7503 GB, free: 1.094 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7886, allocations: 43.84 kB / 0.7503 GB, free: 1.043 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=100): time 2.525e-06/0.7886, allocations: 0 / 0.7503 GB, free: 1.043 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100): time 0.001336/0.7899, allocations: 0.8433 MB / 0.7511 GB, free: 188 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.79, allocations: 60.41 kB / 0.7512 GB, free: 116 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.7901, allocations: 96.98 kB / 0.7513 GB, free: 12 kB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.5261/1.316, allocations: 37.7 kB / 0.7513 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/1.316, allocations: 83.39 kB / 0.7514 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/1.317, allocations: 487.1 kB / 0.7519 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/1.317, allocations: 31 kB / 0.7519 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.317, allocations: 380.3 kB / 0.7523 GB, free: 132 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/1.318, allocations: 0.5774 MB / 0.7528 GB, free: 132 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009882/1.319, allocations: 0.6916 MB / 0.7535 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.32, allocations: 0.7186 MB / 0.7542 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.32, allocations: 2.438 kB / 0.7542 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002332/1.322, allocations: 1.57 MB / 0.7557 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.322, allocations: 4.844 kB / 0.7558 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/1.323, allocations: 3.906 kB / 0.7558 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/1.323, allocations: 7.141 kB / 0.7558 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/1.324, allocations: 0.5139 MB / 0.7563 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/1.324, allocations: 10.88 kB / 0.7563 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.325, allocations: 154 kB / 0.7564 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/1.325, allocations: 47.59 kB / 0.7565 GB, free: 131 MB / 0.5421 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.325, allocations: 167.8 kB / 0.7566 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.325, allocations: 42.38 kB / 0.7567 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/1.325, allocations: 82.55 kB / 0.7567 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.325, allocations: 10.25 kB / 0.7568 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.325, allocations: 3.938 kB / 0.7568 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.325, allocations: 5.844 kB / 0.7568 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/1.326, allocations: 0.5527 MB / 0.7573 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.326, allocations: 3.5 kB / 0.7573 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.329, allocations: 0.5108 MB / 0.7578 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/1.329, allocations: 7.125 kB / 0.7578 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/1.329, allocations: 63.14 kB / 0.7579 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/1.329, allocations: 3.438 kB / 0.7579 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.329, allocations: 0 / 0.7579 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/1.331, allocations: 1.333 MB / 0.7592 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/1.331, allocations: 127 kB / 0.7593 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.331, allocations: 54.92 kB / 0.7594 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/1.332, allocations: 66.16 kB / 0.7594 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.332, allocations: 64.72 kB / 0.7595 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/1.332, allocations: 32.2 kB / 0.7595 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.695e-05/1.332, allocations: 78.75 kB / 0.7596 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.332, allocations: 0 / 0.7596 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004937/1.332, allocations: 218.1 kB / 0.7598 GB, free: 129.7 MB / 0.5421 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/1.333, allocations: 181.8 kB / 0.76 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00133/1.334, allocations: 1.153 MB / 0.7611 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.334, allocations: 7.812 kB / 0.7611 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/1.334, allocations: 428.7 kB / 0.7615 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/1.335, allocations: 28 kB / 0.7615 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/1.336, allocations: 2.485 MB / 0.764 GB, free: 128 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/1.336, allocations: 0.9284 MB / 0.7649 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006531/1.337, allocations: 393.2 kB / 0.7652 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/1.337, allocations: 51.44 kB / 0.7653 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of SimCode: time 3.5e-07/1.337, allocations: 0 / 0.7653 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of Templates: time 0.007699/1.345, allocations: 5.685 MB / 0.7708 GB, free: 121.8 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches