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.001191/0.001191, allocations: 105.8 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.001086/0.001086, 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.123/1.123, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7462/0.7462, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 0.4924 GB, free: 12.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.376, allocations: 80.69 MB / 0.5712 GB, free: 43.63 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.001603/0.3777, allocations: 1.177 MB / 0.5724 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001204/0.3778, allocations: 32.41 kB / 0.5724 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.3778, allocations: 0 / 0.5724 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.129e-05/0.3779, allocations: 5.031 kB / 0.5724 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.3779, allocations: 0 / 0.5724 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.98e-05/0.378, allocations: 10.28 kB / 0.5724 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3784, allocations: 0.4894 MB / 0.5729 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.3784, allocations: 3.75 kB / 0.5729 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3785, allocations: 173.3 kB / 0.573 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.3787, allocations: 195 kB / 0.5732 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/0.3788, allocations: 25.84 kB / 0.5733 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.3788, allocations: 28.84 kB / 0.5733 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.3789, allocations: 166 kB / 0.5734 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.3791, allocations: 190.4 kB / 0.5736 GB, free: 42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.3793, allocations: 326.9 kB / 0.5739 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3793, allocations: 5.25 kB / 0.5739 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3793, allocations: 0 / 0.5739 GB, free: 41.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3793, allocations: 0 / 0.5739 GB, free: 41.82 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.001489/0.3808, allocations: 0.8982 MB / 0.5748 GB, free: 41.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.3808, allocations: 13.14 kB / 0.5748 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.3809, allocations: 81.94 kB / 0.5749 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.381, allocations: 48.56 kB / 0.575 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.3812, allocations: 268.6 kB / 0.5752 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.3813, allocations: 38 kB / 0.5752 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3814, allocations: 84.61 kB / 0.5753 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.382, allocations: 0.5176 MB / 0.5758 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.382, allocations: 3.938 kB / 0.5758 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.382, allocations: 14.75 kB / 0.5758 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3821, allocations: 9.625 kB / 0.5759 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.3824, allocations: 305.7 kB / 0.5761 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.3837, allocations: 1.057 MB / 0.5772 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.385, allocations: 1.094 MB / 0.5782 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.3854, allocations: 353.6 kB / 0.5786 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3855, allocations: 11.12 kB / 0.5786 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.3855, allocations: 47.25 kB / 0.5786 GB, free: 38.91 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 1.693e-06/0.3855, allocations: 0 / 0.5786 GB, free: 38.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.001425/0.3869, allocations: 1.149 MB / 0.5798 GB, free: 38.39 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.387, allocations: 66.5 kB / 0.5798 GB, free: 38.32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.387, allocations: 102.9 kB / 0.5799 GB, free: 38.21 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.3871, allocations: 41.48 kB / 0.58 GB, free: 38.17 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/0.3871, allocations: 87.3 kB / 0.58 GB, free: 38.09 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.3873, allocations: 481.2 kB / 0.5805 GB, free: 37.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.3875, allocations: 248.9 kB / 0.5807 GB, free: 37.53 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 2.949e-05/0.3875, allocations: 307.2 kB / 0.581 GB, free: 37.22 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.3882, allocations: 0.6001 MB / 0.5816 GB, free: 36.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/0.389, allocations: 0.7191 MB / 0.5823 GB, free: 36.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.3904, allocations: 1.237 MB / 0.5835 GB, free: 36.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3904, allocations: 3.938 kB / 0.5835 GB, free: 36.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.001593/0.392, allocations: 1.613 MB / 0.5851 GB, free: 34.86 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.392, allocations: 8 kB / 0.5851 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.392, allocations: 0 / 0.5851 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.392, allocations: 4 kB / 0.5851 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.3934, allocations: 0.5112 MB / 0.5856 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3934, allocations: 8 kB / 0.5856 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.3937, allocations: 150.7 kB / 0.5858 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.3938, allocations: 47.94 kB / 0.5858 GB, free: 34.13 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.0001536/0.3939, allocations: 230.1 kB / 0.586 GB, free: 33.9 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.394, allocations: 39.62 kB / 0.5861 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.3941, allocations: 83.61 kB / 0.5862 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3942, allocations: 12 kB / 0.5862 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.3942, allocations: 3.938 kB / 0.5862 GB, free: 33.76 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3942, allocations: 3.984 kB / 0.5862 GB, free: 33.76 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.3947, allocations: 0.5484 MB / 0.5867 GB, free: 33.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3947, allocations: 0 / 0.5867 GB, free: 33.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/0.3968, allocations: 0.5113 MB / 0.5872 GB, free: 32.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3968, allocations: 4 kB / 0.5872 GB, free: 32.64 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.3969, allocations: 68.11 kB / 0.5873 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3969, allocations: 4 kB / 0.5873 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3969, allocations: 0 / 0.5873 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.398, allocations: 1.359 MB / 0.5886 GB, free: 31.2 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.3981, allocations: 120.5 kB / 0.5887 GB, free: 31.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.3982, allocations: 55.95 kB / 0.5888 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.3986, allocations: 63.92 kB / 0.5888 GB, free: 30.94 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.3986, allocations: 56.91 kB / 0.5889 GB, free: 30.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.3987, allocations: 31.98 kB / 0.5889 GB, free: 30.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.801e-05/0.3987, allocations: 87.27 kB / 0.589 GB, free: 30.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.3987, allocations: 0 / 0.589 GB, free: 30.77 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003708/0.3991, allocations: 212 kB / 0.5892 GB, free: 30.56 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.001361/0.4005, allocations: 1.973 MB / 0.5911 GB, free: 28.56 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.4022, allocations: 1.83 MB / 0.5929 GB, free: 26.73 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4022, allocations: 0 / 0.5929 GB, free: 26.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.4026, allocations: 453.4 kB / 0.5934 GB, free: 26.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4029, allocations: 32 kB / 0.5934 GB, free: 26.25 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.4084, allocations: 8.04 MB / 0.6012 GB, free: 18.11 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.4086, allocations: 0.9145 MB / 0.6021 GB, free: 17.17 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005515/0.4092, allocations: 393.1 kB / 0.6025 GB, free: 16.78 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.4094, allocations: 187.4 kB / 0.6027 GB, free: 16.6 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.4094, allocations: 0 / 0.6027 GB, free: 16.6 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05714/0.4666, allocations: 13.38 MB / 0.6158 GB, free: 3.387 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/7.34, allocations: 8.312 kB / 0.6158 GB, free: 3.375 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 & /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