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.001542/0.001542, allocations: 108.3 kB / 16.92 MB, free: 6.145 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.001755/0.001755, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.531/1.531, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.066/1.066, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 71.89 kB / 0.4924 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6191, allocations: 80.68 MB / 0.5712 GB, free: 43.76 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002265/0.6214, allocations: 1.185 MB / 0.5724 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001473/0.6216, allocations: 27.45 kB / 0.5724 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.6216, allocations: 0 / 0.5724 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.886e-05/0.6217, allocations: 1.031 kB / 0.5724 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.6218, allocations: 7.922 kB / 0.5724 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.6219, allocations: 2.344 kB / 0.5724 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.6223, allocations: 0.4887 MB / 0.5729 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.6224, allocations: 9.406 kB / 0.5729 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.6225, allocations: 173.1 kB / 0.5731 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.6228, allocations: 198.2 kB / 0.5732 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.6229, allocations: 26.09 kB / 0.5733 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.6229, allocations: 25.16 kB / 0.5733 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.6231, allocations: 166 kB / 0.5734 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.6233, allocations: 189.7 kB / 0.5736 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.6236, allocations: 323.3 kB / 0.5739 GB, free: 41.95 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6236, allocations: 1.375 kB / 0.5739 GB, free: 41.95 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6236, allocations: 0 / 0.5739 GB, free: 41.95 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.6236, allocations: 4 kB / 0.5739 GB, free: 41.95 MB / 462.3 MB 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.001793/0.6254, allocations: 0.8973 MB / 0.5748 GB, free: 41.28 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6254, allocations: 13.61 kB / 0.5748 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.862e-05/0.6255, allocations: 86.33 kB / 0.5749 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.6256, allocations: 43.12 kB / 0.575 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.626, allocations: 273.6 kB / 0.5752 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.626, allocations: 34.12 kB / 0.5752 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.6262, allocations: 84.8 kB / 0.5753 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.6269, allocations: 0.5202 MB / 0.5758 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.627, allocations: 3.938 kB / 0.5758 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.627, allocations: 16.16 kB / 0.5759 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.627, allocations: 13.12 kB / 0.5759 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.6275, allocations: 301.6 kB / 0.5762 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.6292, allocations: 1.05 MB / 0.5772 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.6309, allocations: 1.094 MB / 0.5782 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.6313, allocations: 353.2 kB / 0.5786 GB, free: 39.1 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.6314, allocations: 11.09 kB / 0.5786 GB, free: 39.1 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.6314, allocations: 51.38 kB / 0.5786 GB, free: 39.04 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 2.965e-06/0.6314, allocations: 0 / 0.5786 GB, free: 39.04 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.001794/0.6332, allocations: 1.157 MB / 0.5798 GB, free: 38.51 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.6333, allocations: 62.5 kB / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.6334, allocations: 102.9 kB / 0.5799 GB, free: 38.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.6334, allocations: 41.48 kB / 0.58 GB, free: 38.3 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.6335, allocations: 87.3 kB / 0.5801 GB, free: 38.21 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.6337, allocations: 480.8 kB / 0.5805 GB, free: 37.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.634, allocations: 253.6 kB / 0.5808 GB, free: 37.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.6341, allocations: 311.2 kB / 0.5811 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009706/0.6351, allocations: 0.5951 MB / 0.5816 GB, free: 37.07 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009947/0.6361, allocations: 0.7197 MB / 0.5823 GB, free: 36.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.6378, allocations: 1.233 MB / 0.5835 GB, free: 36.14 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.6378, allocations: 3.938 kB / 0.5835 GB, free: 36.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002011/0.6399, allocations: 1.611 MB / 0.5851 GB, free: 34.98 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6399, allocations: 4 kB / 0.5851 GB, free: 34.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6399, allocations: 0 / 0.5851 GB, free: 34.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.6399, allocations: 8 kB / 0.5851 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.6415, allocations: 0.519 MB / 0.5856 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.6415, allocations: 4 kB / 0.5856 GB, free: 34.44 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.6419, allocations: 154.7 kB / 0.5858 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.642, allocations: 47.94 kB / 0.5858 GB, free: 34.24 MB / 462.3 MB 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.0002451/0.6422, allocations: 222.2 kB / 0.586 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.6423, allocations: 39.62 kB / 0.5861 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.6425, allocations: 83.59 kB / 0.5862 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.6425, allocations: 8 kB / 0.5862 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.6425, allocations: 4 kB / 0.5862 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6426, allocations: 3.984 kB / 0.5862 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/0.6433, allocations: 0.5484 MB / 0.5867 GB, free: 33.28 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/0.6433, allocations: 3.984 kB / 0.5867 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/0.6456, allocations: 0.5113 MB / 0.5872 GB, free: 32.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.6456, allocations: 4 kB / 0.5872 GB, free: 32.76 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.6457, allocations: 63.92 kB / 0.5873 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.433e-06/0.6457, allocations: 4 kB / 0.5873 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6457, allocations: 192 / 0.5873 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.6473, allocations: 1.355 MB / 0.5886 GB, free: 31.32 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.6473, allocations: 124.5 kB / 0.5887 GB, free: 31.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.6474, allocations: 59.94 kB / 0.5888 GB, free: 31.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.6479, allocations: 67.92 kB / 0.5888 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.648, allocations: 56.91 kB / 0.5889 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/0.6481, allocations: 31.98 kB / 0.5889 GB, free: 30.97 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.6481, allocations: 79.28 kB / 0.589 GB, free: 30.89 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6481, allocations: 0 / 0.589 GB, free: 30.89 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005514/0.6487, allocations: 212 kB / 0.5892 GB, free: 30.68 MB / 462.3 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.001946/0.6506, allocations: 1.973 MB / 0.5911 GB, free: 28.68 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.6534, allocations: 1.834 MB / 0.5929 GB, free: 26.85 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6534, allocations: 0 / 0.5929 GB, free: 26.85 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.6539, allocations: 445.4 kB / 0.5934 GB, free: 26.41 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.6543, allocations: 42.17 kB / 0.5934 GB, free: 26.37 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.6622, allocations: 8.036 MB / 0.6012 GB, free: 18.23 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.6627, allocations: 0.9145 MB / 0.6021 GB, free: 17.29 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0007629/0.6635, allocations: 389.1 kB / 0.6025 GB, free: 16.91 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.6638, allocations: 183.4 kB / 0.6027 GB, free: 16.73 MB / 462.3 MB Notification: Performance of SimCode: time 3.005e-06/0.6638, allocations: 4 kB / 0.6027 GB, free: 16.72 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.6985, allocations: 13.38 MB / 0.6158 GB, free: 3.504 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.952, allocations: 24.19 kB / 0.6158 GB, free: 3.48 MB / 462.3 MB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.csv --start-time 0 --stop-time 2 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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