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.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 107.6 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.113/1.113, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 65.7 kB / 0.5723 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1725, allocations: 80.69 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002115/0.1747, allocations: 1.188 MB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.1749, allocations: 27.89 kB / 0.6522 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.1749, allocations: 3.938 kB / 0.6522 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.199e-05/0.175, allocations: 0 / 0.6522 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.175, allocations: 3.938 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.1752, allocations: 11.97 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.1757, allocations: 0.4916 MB / 0.6527 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.1757, allocations: 4 kB / 0.6527 GB, free: 9.938 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1759, allocations: 167.9 kB / 0.6529 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.1762, allocations: 207.6 kB / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.1763, allocations: 28 kB / 0.6531 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.681e-05/0.1763, allocations: 24 kB / 0.6532 GB, free: 9.52 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1765, allocations: 163.6 kB / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1767, allocations: 187.2 kB / 0.6535 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.177, allocations: 334.8 kB / 0.6538 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.177, allocations: 4 kB / 0.6538 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.393e-06/0.177, allocations: 0 / 0.6538 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.177, allocations: 0 / 0.6538 GB, free: 8.844 MB / 0.4983 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.001843/0.1788, allocations: 0.8899 MB / 0.6547 GB, free: 7.898 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.1789, allocations: 11.89 kB / 0.6547 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.179, allocations: 44.56 kB / 0.6547 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1794, allocations: 275.8 kB / 0.655 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.1795, allocations: 29.38 kB / 0.655 GB, free: 7.508 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.1796, allocations: 91.98 kB / 0.6551 GB, free: 7.418 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.1804, allocations: 0.5182 MB / 0.6556 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1804, allocations: 192 / 0.6556 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.1805, allocations: 19.94 kB / 0.6556 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1805, allocations: 8 kB / 0.6556 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.181, allocations: 311.7 kB / 0.6559 GB, free: 6.562 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.1826, allocations: 1.056 MB / 0.657 GB, free: 5.457 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1841, allocations: 1.095 MB / 0.658 GB, free: 4.352 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.1847, allocations: 355.6 kB / 0.6584 GB, free: 4.004 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.1847, allocations: 9 kB / 0.6584 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1847, allocations: 43.56 kB / 0.6584 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 4.258e-06/0.1848, allocations: 7.922 kB / 0.6584 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.001851/0.1866, allocations: 1.159 MB / 0.6596 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.1867, allocations: 64.41 kB / 0.6596 GB, free: 2.695 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1868, allocations: 97.86 kB / 0.6597 GB, free: 2.59 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.1869, allocations: 41.7 kB / 0.6598 GB, free: 2.543 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.1869, allocations: 82.14 kB / 0.6598 GB, free: 2.457 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.1873, allocations: 485.3 kB / 0.6603 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.1876, allocations: 247.6 kB / 0.6605 GB, free: 1.73 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1878, allocations: 306.6 kB / 0.6608 GB, free: 1.426 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007957/0.1886, allocations: 0.605 MB / 0.6614 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008756/0.1894, allocations: 0.7101 MB / 0.6621 GB, free: 104 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.1911, allocations: 1.239 MB / 0.6633 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1911, allocations: 4 kB / 0.6633 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002148/0.1933, allocations: 1.605 MB / 0.6649 GB, free: 13.24 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1933, allocations: 11.94 kB / 0.6649 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1933, allocations: 0 / 0.6649 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1934, allocations: 12.03 kB / 0.6649 GB, free: 13.22 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.195, allocations: 0.4995 MB / 0.6654 GB, free: 12.72 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.195, allocations: 12 kB / 0.6654 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.1954, allocations: 158.7 kB / 0.6656 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.1955, allocations: 48 kB / 0.6656 GB, free: 12.5 MB / 0.5139 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 () * 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.0002404/0.1957, allocations: 210.3 kB / 0.6658 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.243e-05/0.1958, allocations: 43.53 kB / 0.6659 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.1961, allocations: 83.61 kB / 0.6659 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1961, allocations: 12 kB / 0.666 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.1961, allocations: 0 / 0.666 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.1961, allocations: 7.922 kB / 0.666 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.1969, allocations: 0.5601 MB / 0.6665 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1969, allocations: 4 kB / 0.6665 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/0.1992, allocations: 0.5074 MB / 0.667 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1992, allocations: 4 kB / 0.667 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.1994, allocations: 63.92 kB / 0.6671 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.1994, allocations: 4 kB / 0.6671 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1994, allocations: 0 / 0.6671 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.2011, allocations: 1.351 MB / 0.6684 GB, free: 9.586 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.2012, allocations: 120.5 kB / 0.6685 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.2014, allocations: 63.81 kB / 0.6686 GB, free: 9.387 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.2018, allocations: 67.94 kB / 0.6686 GB, free: 9.32 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2019, allocations: 56.91 kB / 0.6687 GB, free: 9.266 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.202, allocations: 35.98 kB / 0.6687 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.296e-05/0.202, allocations: 83.27 kB / 0.6688 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.202, allocations: 0 / 0.6688 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005038/0.2026, allocations: 212 kB / 0.669 GB, free: 8.941 MB / 0.5139 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 () * 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.0002356/0.2028, allocations: 174.2 kB / 0.6692 GB, free: 8.762 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.2044, allocations: 1.189 MB / 0.6703 GB, free: 7.57 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2044, allocations: 4.062 kB / 0.6703 GB, free: 7.566 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.2049, allocations: 449.4 kB / 0.6708 GB, free: 7.125 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.2053, allocations: 39.94 kB / 0.6708 GB, free: 7.086 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.2078, allocations: 2.546 MB / 0.6733 GB, free: 4.512 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.2083, allocations: 0.9183 MB / 0.6742 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0007221/0.209, allocations: 389.1 kB / 0.6746 GB, free: 3.18 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.2092, allocations: 55.44 kB / 0.6746 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of SimCode: time 5.61e-07/0.2092, allocations: 0 / 0.6746 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of Templates: time 0.01035/0.2196, allocations: 6.495 MB / 0.681 GB, free: 12.66 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches