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: "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.002056/0.002056, allocations: 200 kB / 18.01 MB, free: 5.055 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.046/1.046, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 61.42 kB / 0.5718 GB, free: 39.15 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1603, allocations: 80.69 MB / 0.6506 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.00307/0.1635, allocations: 1.191 MB / 0.6517 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.1637, allocations: 27.83 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.1637, allocations: 4 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.067e-05/0.1638, allocations: 3.938 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.1639, allocations: 0 / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.1641, allocations: 3.984 kB / 0.6518 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.1646, allocations: 0.4955 MB / 0.6523 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.1647, allocations: 8 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1648, allocations: 171.8 kB / 0.6524 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.1651, allocations: 199.7 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.1652, allocations: 27.94 kB / 0.6527 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.366e-05/0.1653, allocations: 24 kB / 0.6527 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1654, allocations: 171.6 kB / 0.6528 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.1656, allocations: 187.2 kB / 0.653 GB, free: 9.684 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.166, allocations: 334.5 kB / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.166, allocations: 0 / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.713e-06/0.166, allocations: 4 kB / 0.6533 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.166, allocations: 0 / 0.6533 GB, free: 9.355 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.001989/0.168, allocations: 0.8937 MB / 0.6542 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1681, allocations: 12.03 kB / 0.6542 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.064e-05/0.1681, allocations: 82.7 kB / 0.6543 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.1682, allocations: 36.56 kB / 0.6543 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.1687, allocations: 279.8 kB / 0.6546 GB, free: 7.957 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1687, allocations: 29.38 kB / 0.6546 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1689, allocations: 83.98 kB / 0.6547 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.1697, allocations: 0.522 MB / 0.6552 GB, free: 7.32 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1698, allocations: 3.938 kB / 0.6552 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.1698, allocations: 20 kB / 0.6552 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1698, allocations: 12 kB / 0.6553 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.1703, allocations: 299.8 kB / 0.6555 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.1722, allocations: 1.052 MB / 0.6566 GB, free: 5.891 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.1738, allocations: 1.091 MB / 0.6576 GB, free: 4.789 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.1743, allocations: 355.6 kB / 0.658 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.1744, allocations: 20.88 kB / 0.658 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1744, allocations: 43.56 kB / 0.658 GB, free: 4.371 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.434e-06/0.1745, allocations: 4 kB / 0.658 GB, free: 4.367 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.001794/0.1763, allocations: 1.151 MB / 0.6592 GB, free: 3.207 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1763, allocations: 60.41 kB / 0.6592 GB, free: 3.137 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.1764, allocations: 105.8 kB / 0.6593 GB, free: 3.023 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.523e-05/0.1765, allocations: 41.7 kB / 0.6594 GB, free: 2.977 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.1765, allocations: 82.14 kB / 0.6594 GB, free: 2.891 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.1769, allocations: 485.3 kB / 0.6599 GB, free: 2.41 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.1772, allocations: 248.2 kB / 0.6601 GB, free: 2.164 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1773, allocations: 314 kB / 0.6604 GB, free: 1.852 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008754/0.1782, allocations: 0.5932 MB / 0.661 GB, free: 1.258 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009947/0.1792, allocations: 0.7218 MB / 0.6617 GB, free: 0.5273 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.181, allocations: 1.231 MB / 0.6629 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.181, allocations: 7.938 kB / 0.6629 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00236/0.1834, allocations: 1.61 MB / 0.6645 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1834, allocations: 4 kB / 0.6645 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1835, allocations: 0 / 0.6645 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.1835, allocations: 11.98 kB / 0.6645 GB, free: 13.65 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.1853, allocations: 0.5189 MB / 0.665 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/0.1853, allocations: 4 kB / 0.665 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.1858, allocations: 158.6 kB / 0.6652 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.1859, allocations: 44 kB / 0.6652 GB, free: 12.93 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.000247/0.1861, allocations: 218.8 kB / 0.6654 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.1862, allocations: 39.62 kB / 0.6655 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.1864, allocations: 87.59 kB / 0.6656 GB, free: 12.58 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.1864, allocations: 12 kB / 0.6656 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1864, allocations: 0 / 0.6656 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.1864, allocations: 7.984 kB / 0.6656 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.1872, allocations: 0.5522 MB / 0.6661 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1872, allocations: 0 / 0.6661 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/0.1898, allocations: 0.5074 MB / 0.6666 GB, free: 11.45 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.1899, allocations: 4 kB / 0.6666 GB, free: 11.45 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.19, allocations: 67.92 kB / 0.6667 GB, free: 11.38 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.19, allocations: 4 kB / 0.6667 GB, free: 11.38 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.19, allocations: 0 / 0.6667 GB, free: 11.38 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.1917, allocations: 1.359 MB / 0.668 GB, free: 10 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.1918, allocations: 116.5 kB / 0.6681 GB, free: 9.871 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.1919, allocations: 55.94 kB / 0.6682 GB, free: 9.816 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.1924, allocations: 67.92 kB / 0.6682 GB, free: 9.75 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.1925, allocations: 60.91 kB / 0.6683 GB, free: 9.691 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.1926, allocations: 27.98 kB / 0.6683 GB, free: 9.664 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.1926, allocations: 83.28 kB / 0.6684 GB, free: 9.582 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1926, allocations: 0 / 0.6684 GB, free: 9.582 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005033/0.1931, allocations: 208 kB / 0.6686 GB, free: 9.379 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.002056/0.1952, allocations: 1.977 MB / 0.6705 GB, free: 7.371 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.197, allocations: 1.186 MB / 0.6717 GB, free: 6.184 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.197, allocations: 4 kB / 0.6717 GB, free: 6.18 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.1977, allocations: 445.4 kB / 0.6721 GB, free: 5.742 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.198, allocations: 36.06 kB / 0.6722 GB, free: 5.707 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009391/0.2074, allocations: 8.052 MB / 0.68 GB, free: 13.56 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.208, allocations: 0.9221 MB / 0.6809 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0008578/0.2089, allocations: 393.1 kB / 0.6813 GB, free: 12.22 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.2092, allocations: 183.4 kB / 0.6815 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of SimCode: time 5.42e-06/0.2093, allocations: 0 / 0.6815 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.2496, allocations: 13.79 MB / 0.6949 GB, free: 14.41 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.255/9.505, allocations: 12.36 kB / 0.695 GB, free: 14.4 MB / 0.5452 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100.fmu > 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