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.001266/0.001266, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.00138/0.00138, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.446/1.446, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.129/1.129, allocations: 119.3 MB / 411.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 70.41 kB / 0.5729 GB, free: 38.91 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1804, allocations: 80.68 MB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002515/0.183, allocations: 1.196 MB / 0.6528 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001786/0.1832, allocations: 23.91 kB / 0.6528 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.1832, allocations: 3.938 kB / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.678e-05/0.1833, allocations: 0 / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.1834, allocations: 3.984 kB / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1836, allocations: 15.92 kB / 0.6529 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.184, allocations: 499.4 kB / 0.6533 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.1841, allocations: 4 kB / 0.6534 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1842, allocations: 171.8 kB / 0.6535 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.1845, allocations: 199.7 kB / 0.6537 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.1846, allocations: 24 kB / 0.6537 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.1847, allocations: 28 kB / 0.6538 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1848, allocations: 167.5 kB / 0.6539 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.185, allocations: 187.2 kB / 0.6541 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.1853, allocations: 330.8 kB / 0.6544 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1853, allocations: 3.984 kB / 0.6544 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1853, allocations: 4 kB / 0.6544 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.1854, allocations: 4 kB / 0.6544 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.001839/0.1872, allocations: 0.886 MB / 0.6553 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1872, allocations: 15.89 kB / 0.6553 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.1874, allocations: 40.56 kB / 0.6553 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.1877, allocations: 271.9 kB / 0.6556 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1877, allocations: 29.38 kB / 0.6556 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.1879, allocations: 83.98 kB / 0.6557 GB, free: 7.434 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.1886, allocations: 0.526 MB / 0.6562 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1886, allocations: 192 / 0.6562 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.1887, allocations: 27.94 kB / 0.6562 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1887, allocations: 8 kB / 0.6563 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.1892, allocations: 303.8 kB / 0.6565 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.1907, allocations: 1.052 MB / 0.6576 GB, free: 5.469 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.1922, allocations: 1.098 MB / 0.6586 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.1927, allocations: 351.6 kB / 0.659 GB, free: 4.016 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.1928, allocations: 16.98 kB / 0.659 GB, free: 4 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1928, allocations: 51.44 kB / 0.659 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.294e-06/0.1928, allocations: 0 / 0.659 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.001699/0.1945, allocations: 1.151 MB / 0.6602 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.1946, allocations: 68.41 kB / 0.6602 GB, free: 2.703 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.1947, allocations: 93.86 kB / 0.6603 GB, free: 2.602 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.1948, allocations: 41.7 kB / 0.6604 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.1948, allocations: 90.12 kB / 0.6604 GB, free: 2.461 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.1951, allocations: 477.3 kB / 0.6609 GB, free: 1.988 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.1954, allocations: 259.6 kB / 0.6612 GB, free: 1.73 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1955, allocations: 310.6 kB / 0.6614 GB, free: 1.422 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/0.1963, allocations: 0.5933 MB / 0.662 GB, free: 0.8281 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008962/0.1972, allocations: 0.714 MB / 0.6627 GB, free: 108 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.1989, allocations: 1.235 MB / 0.6639 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1989, allocations: 0 / 0.6639 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002093/0.201, allocations: 1.617 MB / 0.6655 GB, free: 13.24 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.2011, allocations: 10.97 kB / 0.6655 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2011, allocations: 0 / 0.6655 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2011, allocations: 4 kB / 0.6655 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.2028, allocations: 0.5151 MB / 0.666 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.2028, allocations: 8 kB / 0.666 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.2033, allocations: 146.8 kB / 0.6662 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.2033, allocations: 44 kB / 0.6662 GB, free: 12.52 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.0002509/0.2036, allocations: 222.3 kB / 0.6664 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.2037, allocations: 43.53 kB / 0.6665 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.2039, allocations: 83.61 kB / 0.6666 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.2039, allocations: 16 kB / 0.6666 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.204, allocations: 0 / 0.6666 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.204, allocations: 7.969 kB / 0.6666 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/0.2047, allocations: 0.5523 MB / 0.6671 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2047, allocations: 0 / 0.6671 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/0.2072, allocations: 0.5113 MB / 0.6676 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.2072, allocations: 4 kB / 0.6676 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.2073, allocations: 63.92 kB / 0.6677 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.2073, allocations: 11.92 kB / 0.6677 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2073, allocations: 0 / 0.6677 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.2091, allocations: 1.351 MB / 0.669 GB, free: 9.586 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.2092, allocations: 120.5 kB / 0.6691 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.2093, allocations: 59.94 kB / 0.6692 GB, free: 9.391 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.2097, allocations: 63.94 kB / 0.6692 GB, free: 9.328 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2098, allocations: 60.91 kB / 0.6693 GB, free: 9.27 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.2099, allocations: 31.97 kB / 0.6693 GB, free: 9.238 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.2099, allocations: 83.28 kB / 0.6694 GB, free: 9.156 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2099, allocations: 3.938 kB / 0.6694 GB, free: 9.152 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005598/0.2105, allocations: 208 kB / 0.6696 GB, free: 8.949 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.000238/0.2108, allocations: 190.1 kB / 0.6698 GB, free: 8.754 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.2124, allocations: 1.186 MB / 0.6709 GB, free: 7.566 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2124, allocations: 4 kB / 0.671 GB, free: 7.562 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.213, allocations: 445.4 kB / 0.6714 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.0003353/0.2133, allocations: 35.94 kB / 0.6714 GB, free: 7.09 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.2162, allocations: 2.591 MB / 0.6739 GB, free: 4.465 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.2169, allocations: 0.9182 MB / 0.6748 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.2172, allocations: 59.44 kB / 0.6749 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of SimCode: time 2.385e-06/0.2172, allocations: 4 kB / 0.6749 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of Templates: time 0.01534/0.2326, allocations: 9.333 MB / 0.684 GB, free: 10.12 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins1/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