Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.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.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_80",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.001757/0.001757, allocations: 107.8 kB / 16.92 MB, free: 5.691 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.002125/0.002125, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.343/2.343, allocations: 222.9 MB / 241.5 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.765/1.765, allocations: 119.3 MB / 411 MB, free: 9.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 59.89 kB / 0.4911 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.931/0.9326, allocations: 80.68 MB / 0.5698 GB, free: 43.62 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80): time 0.004918/0.9376, allocations: 1.328 MB / 0.5711 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.9379, allocations: 45 kB / 0.5712 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.938, allocations: 0 / 0.5712 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.9381, allocations: 8.938 kB / 0.5712 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.9383, allocations: 25.05 kB / 0.5712 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.9385, allocations: 18.42 kB / 0.5712 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.94, allocations: 1.279 MB / 0.5725 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.9401, allocations: 6.375 kB / 0.5725 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006625/0.9408, allocations: 434.8 kB / 0.5729 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.9419, allocations: 0.6368 MB / 0.5735 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.9421, allocations: 74.22 kB / 0.5736 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.9424, allocations: 74.62 kB / 0.5737 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.9428, allocations: 472.2 kB / 0.5741 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005955/0.9434, allocations: 479 kB / 0.5746 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0007891/0.9442, allocations: 0.8057 MB / 0.5754 GB, free: 40.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.9442, allocations: 3.984 kB / 0.5754 GB, free: 40.15 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.194e-06/0.9442, allocations: 0 / 0.5754 GB, free: 40.15 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.9442, allocations: 0 / 0.5754 GB, free: 40.15 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.009578/0.9538, allocations: 2.633 MB / 0.5779 GB, free: 38.54 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.902e-05/0.9539, allocations: 9.531 kB / 0.578 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.9541, allocations: 112.2 kB / 0.5781 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.9544, allocations: 69.75 kB / 0.5781 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/0.9552, allocations: 366 kB / 0.5785 GB, free: 38.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.9553, allocations: 65.09 kB / 0.5785 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.9555, allocations: 132 kB / 0.5787 GB, free: 38.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.9572, allocations: 0.8431 MB / 0.5795 GB, free: 37.58 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.9572, allocations: 3.938 kB / 0.5795 GB, free: 37.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/0.9573, allocations: 26.34 kB / 0.5795 GB, free: 37.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.9573, allocations: 15.12 kB / 0.5795 GB, free: 37.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.9587, allocations: 0.4957 MB / 0.58 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.971, allocations: 6.854 MB / 0.5867 GB, free: 30.8 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03085/1.002, allocations: 4.379 MB / 0.591 GB, free: 27.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/1.003, allocations: 378.6 kB / 0.5913 GB, free: 26.68 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/1.003, allocations: 12.66 kB / 0.5914 GB, free: 26.67 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/1.004, allocations: 47.16 kB / 0.5914 GB, free: 26.61 MB / 462.3 MB Notification: Performance of pre-optimization done (n=79): time 5.31e-06/1.004, allocations: 0 / 0.5914 GB, free: 26.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=79): time 0.003634/1.007, allocations: 1.194 MB / 0.5926 GB, free: 25.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.007, allocations: 60.06 kB / 0.5926 GB, free: 25.34 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/1.007, allocations: 137.8 kB / 0.5928 GB, free: 25.2 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001696/1.008, allocations: 49.7 kB / 0.5928 GB, free: 25.14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/1.008, allocations: 205.3 kB / 0.593 GB, free: 24.93 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/1.008, allocations: 370.7 kB / 0.5934 GB, free: 24.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/1.009, allocations: 234.9 kB / 0.5936 GB, free: 24.33 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.000118/1.009, allocations: 362.8 kB / 0.5939 GB, free: 23.97 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/1.01, allocations: 478.3 kB / 0.5944 GB, free: 23.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/1.011, allocations: 0.4902 MB / 0.5949 GB, free: 23.02 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/1.013, allocations: 1.041 MB / 0.5959 GB, free: 21.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.013, allocations: 0 / 0.5959 GB, free: 21.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002799/1.016, allocations: 1.258 MB / 0.5971 GB, free: 20.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/1.016, allocations: 11.94 kB / 0.5971 GB, free: 20.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.016, allocations: 3.938 kB / 0.5971 GB, free: 20.69 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.032e-05/1.016, allocations: 8 kB / 0.5971 GB, free: 20.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.018, allocations: 327.6 kB / 0.5974 GB, free: 20.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/1.018, allocations: 8 kB / 0.5974 GB, free: 20.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.019, allocations: 178.9 kB / 0.5976 GB, free: 20.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/1.02, allocations: 40 kB / 0.5977 GB, free: 20.14 MB / 462.3 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 (158): * Single equations (assignments): 158 * 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.0003967/1.02, allocations: 225.4 kB / 0.5979 GB, free: 19.91 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/1.02, allocations: 35.66 kB / 0.5979 GB, free: 19.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/1.021, allocations: 143.3 kB / 0.598 GB, free: 19.73 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.021, allocations: 11.98 kB / 0.5981 GB, free: 19.72 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.021, allocations: 0 / 0.5981 GB, free: 19.72 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/1.021, allocations: 7.984 kB / 0.5981 GB, free: 19.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.022, allocations: 0.6692 MB / 0.5987 GB, free: 18.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.022, allocations: 4 kB / 0.5987 GB, free: 18.99 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/1.024, allocations: 239.6 kB / 0.5989 GB, free: 18.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/1.024, allocations: 3.938 kB / 0.5989 GB, free: 18.75 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.024, allocations: 51.95 kB / 0.599 GB, free: 18.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.024, allocations: 3.984 kB / 0.599 GB, free: 18.7 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.024, allocations: 4.375 kB / 0.599 GB, free: 18.69 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/1.027, allocations: 1.386 MB / 0.6004 GB, free: 17.29 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.027, allocations: 124.5 kB / 0.6005 GB, free: 17.15 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.027, allocations: 43.95 kB / 0.6005 GB, free: 17.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.029, allocations: 111.8 kB / 0.6006 GB, free: 17 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.029, allocations: 52.58 kB / 0.6007 GB, free: 16.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/1.029, allocations: 19.98 kB / 0.6007 GB, free: 16.93 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.651e-05/1.029, allocations: 91.27 kB / 0.6008 GB, free: 16.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.41e-07/1.029, allocations: 0 / 0.6008 GB, free: 16.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0011/1.03, allocations: 343.5 kB / 0.6011 GB, free: 16.5 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 79 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38],Ttilde[39],Ttilde[40],Ttilde[41],Ttilde[42],Ttilde[43],Ttilde[44],Ttilde[45],Ttilde[46],Ttilde[47],Ttilde[48],Ttilde[49],Ttilde[50],Ttilde[51],Ttilde[52],Ttilde[53],Ttilde[54],Ttilde[55],Ttilde[56],Ttilde[57],Ttilde[58],Ttilde[59],Ttilde[60],Ttilde[61],Ttilde[62],Ttilde[63],Ttilde[64],Ttilde[65],Ttilde[66],Ttilde[67],Ttilde[68],Ttilde[69],Ttilde[70],Ttilde[71],Ttilde[72],Ttilde[73],Ttilde[74],Ttilde[75],Ttilde[76],Ttilde[77],Ttilde[78],Ttilde[79]) * 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 (79): * Single equations (assignments): 79 * 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.002751/1.033, allocations: 2.001 MB / 0.6031 GB, free: 14.47 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.003206/1.036, allocations: 1.454 MB / 0.6045 GB, free: 13.02 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.036, allocations: 4 kB / 0.6045 GB, free: 13.02 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008958/1.037, allocations: 459.4 kB / 0.6049 GB, free: 12.57 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.039, allocations: 168 kB / 0.6051 GB, free: 12.41 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.059, allocations: 11.69 MB / 0.6165 GB, free: 0.6094 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/1.06, allocations: 0.945 MB / 0.6174 GB, free: 15.64 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002478/1.062, allocations: 388.4 kB / 0.6178 GB, free: 15.26 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/1.063, allocations: 219.4 kB / 0.618 GB, free: 15.05 MB / 478.3 MB Notification: Performance of SimCode: time 2.846e-06/1.063, allocations: 0 / 0.618 GB, free: 15.05 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08271/1.146, allocations: 19.29 MB / 0.6368 GB, free: 12.03 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.03/18.18, allocations: 4.297 kB / 0.6369 GB, free: 12.02 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80_res.csv --start-time 0 --stop-time 1500 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches