Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.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.Advection.ScaledExperiments.SteamPipe_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10",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.001825/0.001825, allocations: 112 kB / 17.05 MB, free: 6.086 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.002008/0.002008, allocations: 188 kB / 17.99 MB, free: 5.184 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.368/1.368, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9386/0.9386, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.22 kB / 0.5705 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1445, allocations: 80.7 MB / 0.6493 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.01527/0.1598, allocations: 12.58 MB / 0.6616 GB, free: 0.9453 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00895/0.1688, allocations: 7.809 MB / 0.6693 GB, free: 9.105 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.1689, allocations: 0 / 0.6693 GB, free: 9.105 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1692, allocations: 51.72 kB / 0.6693 GB, free: 9.055 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008158/0.1774, allocations: 3.228 MB / 0.6725 GB, free: 5.832 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.1781, allocations: 206.9 kB / 0.6727 GB, free: 5.629 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.1787, allocations: 0.6072 MB / 0.6733 GB, free: 5.02 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.1788, allocations: 36.39 kB / 0.6733 GB, free: 4.984 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.179, allocations: 199.5 kB / 0.6735 GB, free: 4.789 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.1793, allocations: 251.3 kB / 0.6737 GB, free: 4.543 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.1794, allocations: 24 kB / 0.6737 GB, free: 4.52 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/0.1907, allocations: 5.994 MB / 0.6796 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.191, allocations: 179.5 kB / 0.6798 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.1913, allocations: 254.8 kB / 0.68 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.008005/0.1993, allocations: 3.62 MB / 0.6835 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1994, allocations: 0 / 0.6835 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1994, allocations: 0 / 0.6835 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.1994, allocations: 0 / 0.6835 GB, free: 10.46 MB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.004055/0.2035, allocations: 1.441 MB / 0.6849 GB, free: 8.973 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2035, allocations: 11.89 kB / 0.685 GB, free: 8.961 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.2036, allocations: 106.7 kB / 0.6851 GB, free: 8.848 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.2041, allocations: 96.59 kB / 0.6852 GB, free: 8.754 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.2046, allocations: 347.5 kB / 0.6855 GB, free: 8.375 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.2046, allocations: 45.69 kB / 0.6855 GB, free: 8.332 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2047, allocations: 68.11 kB / 0.6856 GB, free: 8.266 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.2065, allocations: 0.9432 MB / 0.6865 GB, free: 7.281 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2065, allocations: 4 kB / 0.6865 GB, free: 7.277 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.2066, allocations: 20 kB / 0.6865 GB, free: 7.258 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.2066, allocations: 19.94 kB / 0.6866 GB, free: 7.238 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.2083, allocations: 0.8246 MB / 0.6874 GB, free: 6.414 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.2111, allocations: 2.343 MB / 0.6896 GB, free: 3.977 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.2128, allocations: 0.8932 MB / 0.6905 GB, free: 3.066 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.2134, allocations: 382.6 kB / 0.6909 GB, free: 2.691 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06425/0.2776, allocations: 32.14 MB / 0.7223 GB, free: 14.73 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.2777, allocations: 35.22 kB / 0.7223 GB, free: 14.69 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=72): time 3.266e-06/0.2777, allocations: 0 / 0.7223 GB, free: 14.69 MB / 0.5764 GB Notification: Performance of matching and sorting (n=102): time 0.02566/0.3034, allocations: 7.145 MB / 0.7293 GB, free: 7.492 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.3035, allocations: 64.41 kB / 0.7293 GB, free: 7.418 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3037, allocations: 164.2 kB / 0.7295 GB, free: 7.25 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.3037, allocations: 41.7 kB / 0.7295 GB, free: 7.203 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3039, allocations: 193.4 kB / 0.7297 GB, free: 7.008 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.3042, allocations: 404.5 kB / 0.7301 GB, free: 6.609 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.3045, allocations: 195 kB / 0.7303 GB, free: 6.414 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3046, allocations: 354.8 kB / 0.7306 GB, free: 6.059 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/0.3054, allocations: 0.4944 MB / 0.7311 GB, free: 5.562 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.3063, allocations: 0.6241 MB / 0.7317 GB, free: 4.902 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.308, allocations: 1.204 MB / 0.7329 GB, free: 3.668 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.308, allocations: 0 / 0.7329 GB, free: 3.668 MB / 0.5764 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002307/0.3103, allocations: 1.517 MB / 0.7344 GB, free: 2.113 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3103, allocations: 11.94 kB / 0.7344 GB, free: 2.102 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3103, allocations: 4 kB / 0.7344 GB, free: 2.098 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.3118, allocations: 392.4 kB / 0.7348 GB, free: 1.684 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.3126, allocations: 227.7 kB / 0.735 GB, free: 1.461 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.3163, allocations: 5.7 MB / 0.7406 GB, free: 11.5 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.3167, allocations: 39.97 kB / 0.7406 GB, free: 11.46 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.3168, allocations: 43.98 kB / 0.7406 GB, free: 11.42 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (state[10].phase,state[9].phase,state[8].phase,state[7].phase,state[6].phase,state[5].phase,state[4].phase,state[3].phase,state[2].phase,state[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 10 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003647/0.3172, allocations: 259.1 kB / 0.7409 GB, free: 11.16 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3173, allocations: 47.72 kB / 0.7409 GB, free: 11.11 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/0.3222, allocations: 4.194 MB / 0.745 GB, free: 6.844 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-05/0.3222, allocations: 43.88 kB / 0.7451 GB, free: 6.801 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3223, allocations: 0 / 0.7451 GB, free: 6.801 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3223, allocations: 3.984 kB / 0.7451 GB, free: 6.797 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.324, allocations: 1.635 MB / 0.7467 GB, free: 5.113 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.324, allocations: 0 / 0.7467 GB, free: 5.113 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.3247, allocations: 179.8 kB / 0.7468 GB, free: 4.938 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.3269, allocations: 0.6519 MB / 0.7475 GB, free: 4.254 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.327, allocations: 43.91 kB / 0.7475 GB, free: 4.211 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004187/0.3312, allocations: 6.067 MB / 0.7534 GB, free: 13.89 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.3312, allocations: 7.922 kB / 0.7534 GB, free: 13.88 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/0.3367, allocations: 4.228 MB / 0.7576 GB, free: 9.551 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.3369, allocations: 176.3 kB / 0.7577 GB, free: 9.359 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.337, allocations: 31.97 kB / 0.7578 GB, free: 9.328 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.3375, allocations: 43.91 kB / 0.7578 GB, free: 9.285 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.3377, allocations: 72.89 kB / 0.7579 GB, free: 9.215 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/0.3377, allocations: 27.98 kB / 0.7579 GB, free: 9.188 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.0001262/0.3379, allocations: 126.2 kB / 0.758 GB, free: 9.066 MB / 0.6077 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3379, allocations: 0 / 0.758 GB, free: 9.066 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.002861/0.3407, allocations: 1.01 MB / 0.759 GB, free: 8.055 MB / 0.6077 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10]) * Number of discrete variables: 20 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 10 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009292/0.35, allocations: 5.669 MB / 0.7646 GB, free: 2.273 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.003029/0.3531, allocations: 1.875 MB / 0.7664 GB, free: 396 kB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3531, allocations: 0 / 0.7664 GB, free: 396 kB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.5047/0.8578, allocations: 1.464 MB / 0.7678 GB, free: 117.1 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.859, allocations: 222 kB / 0.768 GB, free: 117.1 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.8724, allocations: 9.792 MB / 0.7776 GB, free: 113.2 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.8731, allocations: 1.103 MB / 0.7787 GB, free: 112.5 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.0009625/0.8741, allocations: 0.5134 MB / 0.7792 GB, free: 112.4 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.8744, allocations: 321.5 kB / 0.7795 GB, free: 112.2 MB / 0.6079 GB Notification: Performance of SimCode: time 8.41e-07/0.8744, allocations: 0 / 0.7795 GB, free: 112.2 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07695/0.9514, allocations: 51.61 MB / 0.8299 GB, free: 69.59 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.61, allocations: 10.42 kB / 0.8299 GB, free: 69.58 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.csv --start-time 0 --stop-time 20 --timeout 300 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches