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/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.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.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_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/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.28/1.28, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009802/0.0009802, allocations: 105.9 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.799/0.799, allocations: 119.3 MB / 460.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 55.92 kB / 0.5404 GB, free: 41.89 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1634, allocations: 80.69 MB / 0.6193 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002229/0.1657, allocations: 1.238 MB / 0.6205 GB, free: 10.09 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.1658, allocations: 27.89 kB / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.1659, allocations: 0 / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.538e-05/0.166, allocations: 0 / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.166, allocations: 3.938 kB / 0.6205 GB, free: 10.05 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.1661, allocations: 11.98 kB / 0.6205 GB, free: 10.04 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.1666, allocations: 479.4 kB / 0.621 GB, free: 9.574 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.1666, allocations: 4 kB / 0.621 GB, free: 9.57 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1668, allocations: 167.9 kB / 0.6211 GB, free: 9.406 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.167, allocations: 203.6 kB / 0.6213 GB, free: 9.207 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.1671, allocations: 28 kB / 0.6213 GB, free: 9.18 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.1672, allocations: 28 kB / 0.6214 GB, free: 9.152 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.1673, allocations: 159.6 kB / 0.6215 GB, free: 8.996 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1675, allocations: 183.2 kB / 0.6217 GB, free: 8.816 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1678, allocations: 339 kB / 0.622 GB, free: 8.484 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1678, allocations: 0 / 0.622 GB, free: 8.484 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1678, allocations: 3.938 kB / 0.622 GB, free: 8.48 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1678, allocations: 0 / 0.622 GB, free: 8.48 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00185/0.1697, allocations: 0.8937 MB / 0.6229 GB, free: 7.535 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1697, allocations: 8.031 kB / 0.6229 GB, free: 7.527 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.1698, allocations: 44.55 kB / 0.6229 GB, free: 7.484 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.1702, allocations: 275.9 kB / 0.6232 GB, free: 7.176 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1703, allocations: 33.38 kB / 0.6232 GB, free: 7.141 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.1704, allocations: 83.98 kB / 0.6233 GB, free: 7.059 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007778/0.1712, allocations: 0.5143 MB / 0.6238 GB, free: 6.539 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1712, allocations: 192 / 0.6238 GB, free: 6.539 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.1713, allocations: 23.88 kB / 0.6238 GB, free: 6.516 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1713, allocations: 15.98 kB / 0.6239 GB, free: 6.5 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.1717, allocations: 299.8 kB / 0.6241 GB, free: 6.207 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.1725, allocations: 0.5212 MB / 0.6247 GB, free: 5.633 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.174, allocations: 1.071 MB / 0.6257 GB, free: 4.555 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.1745, allocations: 347.6 kB / 0.626 GB, free: 4.215 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.1745, allocations: 16.94 kB / 0.6261 GB, free: 4.199 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1746, allocations: 47.5 kB / 0.6261 GB, free: 4.145 MB / 442.8 MB Notification: Performance of pre-optimization done (n=100): time 1.793e-06/0.1746, allocations: 0 / 0.6261 GB, free: 4.145 MB / 442.8 MB Notification: Performance of matching and sorting (n=100): time 0.001746/0.1763, allocations: 1.155 MB / 0.6272 GB, free: 2.98 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1764, allocations: 60.41 kB / 0.6273 GB, free: 2.91 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.1765, allocations: 101.9 kB / 0.6274 GB, free: 2.801 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.1765, allocations: 41.7 kB / 0.6274 GB, free: 2.754 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.1766, allocations: 82.14 kB / 0.6275 GB, free: 2.672 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.1769, allocations: 489.2 kB / 0.628 GB, free: 2.188 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.1772, allocations: 247.6 kB / 0.6282 GB, free: 1.938 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1773, allocations: 306 kB / 0.6285 GB, free: 1.633 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/0.1782, allocations: 0.6011 MB / 0.6291 GB, free: 1.031 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/0.179, allocations: 0.6187 MB / 0.6297 GB, free: 424 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.1807, allocations: 1.234 MB / 0.6309 GB, free: 15.18 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1807, allocations: 3.938 kB / 0.6309 GB, free: 15.18 MB / 458.8 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002021/0.1827, allocations: 1.598 MB / 0.6325 GB, free: 13.57 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1828, allocations: 8 kB / 0.6325 GB, free: 13.56 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.1828, allocations: 3.938 kB / 0.6325 GB, free: 13.56 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1828, allocations: 4 kB / 0.6325 GB, free: 13.55 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.1844, allocations: 0.5073 MB / 0.633 GB, free: 13.05 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1845, allocations: 8 kB / 0.633 GB, free: 13.04 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.1849, allocations: 158.7 kB / 0.6331 GB, free: 12.88 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.185, allocations: 44 kB / 0.6332 GB, free: 12.84 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.0002346/0.1852, allocations: 213.4 kB / 0.6334 GB, free: 12.62 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.1853, allocations: 39.62 kB / 0.6334 GB, free: 12.58 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.1855, allocations: 91.55 kB / 0.6335 GB, free: 12.5 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.1856, allocations: 12 kB / 0.6335 GB, free: 12.48 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/0.1856, allocations: 0 / 0.6335 GB, free: 12.48 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.1856, allocations: 3.984 kB / 0.6335 GB, free: 12.48 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/0.1865, allocations: 0.5485 MB / 0.634 GB, free: 11.88 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1865, allocations: 0 / 0.634 GB, free: 11.88 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002673/0.1891, allocations: 0.5113 MB / 0.6345 GB, free: 11.37 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.1892, allocations: 4 kB / 0.6345 GB, free: 11.37 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.1893, allocations: 67.86 kB / 0.6346 GB, free: 11.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.1894, allocations: 7.938 kB / 0.6346 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.1894, allocations: 0 / 0.6346 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.202, allocations: 7.854 MB / 0.6423 GB, free: 3.27 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.2021, allocations: 116.5 kB / 0.6424 GB, free: 3.137 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2022, allocations: 59.88 kB / 0.6425 GB, free: 3.078 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.2026, allocations: 67.92 kB / 0.6425 GB, free: 3.012 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.2027, allocations: 60.91 kB / 0.6426 GB, free: 2.953 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.2028, allocations: 31.98 kB / 0.6426 GB, free: 2.922 MB / 458.8 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.2028, allocations: 79.28 kB / 0.6427 GB, free: 2.844 MB / 458.8 MB Notification: Performance of sort global known variables: time 2e-07/0.2028, allocations: 0 / 0.6427 GB, free: 2.844 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0006739/0.2035, allocations: 300 kB / 0.643 GB, free: 2.551 MB / 458.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.0002248/0.2037, allocations: 173.7 kB / 0.6431 GB, free: 2.371 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.2054, allocations: 1.178 MB / 0.6443 GB, free: 1.199 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2054, allocations: 8 kB / 0.6443 GB, free: 1.191 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.2059, allocations: 441.4 kB / 0.6447 GB, free: 0.7578 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2062, allocations: 36 kB / 0.6448 GB, free: 0.7227 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.2093, allocations: 3.216 MB / 0.6479 GB, free: 13.46 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.2098, allocations: 0.9389 MB / 0.6488 GB, free: 12.49 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0008873/0.2107, allocations: 439.8 kB / 0.6492 GB, free: 12.05 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.211, allocations: 63.44 kB / 0.6493 GB, free: 11.99 MB / 474.8 MB Notification: Performance of SimCode: time 8.21e-07/0.211, allocations: 0 / 0.6493 GB, free: 11.99 MB / 474.8 MB Notification: Performance of Templates: time 0.01989/0.2309, allocations: 9.877 MB / 0.6589 GB, free: 2.133 MB / 474.8 MB 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@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches