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.001238/0.001238, allocations: 109.6 kB / 17.06 MB, free: 6.004 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.001238/0.001238, allocations: 192 kB / 18 MB, free: 5.09 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.31/1.31, 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.9246/0.9246, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 62.86 kB / 0.5705 GB, free: 39.97 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1461, allocations: 80.7 MB / 0.6493 GB, free: 13.44 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.016/0.1622, allocations: 12.6 MB / 0.6617 GB, free: 0.7891 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00887/0.1711, allocations: 7.794 MB / 0.6693 GB, free: 8.965 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.1712, allocations: 0 / 0.6693 GB, free: 8.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1716, allocations: 47.72 kB / 0.6693 GB, free: 8.918 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008568/0.1801, allocations: 3.235 MB / 0.6725 GB, free: 5.684 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.1808, allocations: 210.9 kB / 0.6727 GB, free: 5.477 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.1814, allocations: 0.5995 MB / 0.6733 GB, free: 4.875 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.1815, allocations: 28.41 kB / 0.6733 GB, free: 4.848 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.1817, allocations: 211.5 kB / 0.6735 GB, free: 4.641 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.182, allocations: 255.2 kB / 0.6737 GB, free: 4.391 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.1821, allocations: 20 kB / 0.6737 GB, free: 4.371 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.1927, allocations: 5.994 MB / 0.6796 GB, free: 14.37 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.1929, allocations: 179.5 kB / 0.6798 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.1932, allocations: 246.8 kB / 0.68 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.007882/0.2011, allocations: 3.616 MB / 0.6835 GB, free: 10.33 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.2012, allocations: 4 kB / 0.6835 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2012, allocations: 3.938 kB / 0.6835 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.2012, allocations: 0 / 0.6835 GB, free: 10.32 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.004338/0.2056, allocations: 1.441 MB / 0.685 GB, free: 8.828 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2056, allocations: 8.031 kB / 0.685 GB, free: 8.82 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.2058, allocations: 106.7 kB / 0.6851 GB, free: 8.707 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/0.2062, allocations: 96.61 kB / 0.6852 GB, free: 8.613 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.2068, allocations: 347.6 kB / 0.6855 GB, free: 8.234 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.2068, allocations: 49.62 kB / 0.6855 GB, free: 8.188 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2069, allocations: 68.11 kB / 0.6856 GB, free: 8.121 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.2088, allocations: 0.951 MB / 0.6865 GB, free: 7.129 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2088, allocations: 0 / 0.6865 GB, free: 7.129 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.2089, allocations: 24 kB / 0.6865 GB, free: 7.105 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.2089, allocations: 12 kB / 0.6866 GB, free: 7.094 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.2106, allocations: 0.8129 MB / 0.6874 GB, free: 6.281 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.2135, allocations: 2.351 MB / 0.6896 GB, free: 3.836 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.2152, allocations: 0.8932 MB / 0.6905 GB, free: 2.926 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.2157, allocations: 382.6 kB / 0.6909 GB, free: 2.551 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06533/0.2811, allocations: 32.14 MB / 0.7223 GB, free: 14.59 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.2812, allocations: 43.2 kB / 0.7223 GB, free: 14.54 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.2812, allocations: 0 / 0.7223 GB, free: 14.54 MB / 0.5764 GB Notification: Performance of matching and sorting (n=102): time 0.02559/0.3068, allocations: 7.137 MB / 0.7293 GB, free: 7.348 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3069, allocations: 64.34 kB / 0.7293 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.307, allocations: 168.2 kB / 0.7295 GB, free: 7.102 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.3071, allocations: 41.7 kB / 0.7295 GB, free: 7.055 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3072, allocations: 193.4 kB / 0.7297 GB, free: 6.859 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.3076, allocations: 408.5 kB / 0.7301 GB, free: 6.457 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.3078, allocations: 199 kB / 0.7303 GB, free: 6.258 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.308, allocations: 350.8 kB / 0.7306 GB, free: 5.906 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007536/0.3087, allocations: 0.4944 MB / 0.7311 GB, free: 5.41 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.3096, allocations: 0.6242 MB / 0.7317 GB, free: 4.75 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.3112, allocations: 1.196 MB / 0.7329 GB, free: 3.523 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3112, allocations: 4 kB / 0.7329 GB, free: 3.52 MB / 0.5764 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002265/0.3135, allocations: 1.517 MB / 0.7344 GB, free: 1.965 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.3135, allocations: 15.97 kB / 0.7344 GB, free: 1.949 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3136, allocations: 0 / 0.7344 GB, free: 1.949 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.315, allocations: 384.2 kB / 0.7348 GB, free: 1.543 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.3158, allocations: 231.7 kB / 0.735 GB, free: 1.316 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.3193, allocations: 5.704 MB / 0.7406 GB, free: 11.36 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.3198, allocations: 43.95 kB / 0.7406 GB, free: 11.31 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/0.3199, allocations: 36 kB / 0.7406 GB, free: 11.28 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.0003692/0.3202, allocations: 259 kB / 0.7409 GB, free: 11.02 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3204, allocations: 43.72 kB / 0.7409 GB, free: 10.97 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.3249, allocations: 4.197 MB / 0.745 GB, free: 6.699 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-05/0.325, allocations: 43.94 kB / 0.7451 GB, free: 6.656 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.325, allocations: 0 / 0.7451 GB, free: 6.656 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.325, allocations: 7.969 kB / 0.7451 GB, free: 6.648 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.3267, allocations: 1.635 MB / 0.7467 GB, free: 4.965 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.3267, allocations: 0 / 0.7467 GB, free: 4.965 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.3274, allocations: 175.7 kB / 0.7468 GB, free: 4.793 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.3295, allocations: 0.6519 MB / 0.7475 GB, free: 4.109 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.336e-05/0.3296, allocations: 47.89 kB / 0.7475 GB, free: 4.062 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003657/0.3333, allocations: 6.067 MB / 0.7535 GB, free: 13.74 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3333, allocations: 3.938 kB / 0.7535 GB, free: 13.73 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/0.3381, allocations: 4.232 MB / 0.7576 GB, free: 9.402 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.3383, allocations: 176.4 kB / 0.7578 GB, free: 9.211 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3384, allocations: 31.98 kB / 0.7578 GB, free: 9.18 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.3388, allocations: 47.89 kB / 0.7578 GB, free: 9.133 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3389, allocations: 64.91 kB / 0.7579 GB, free: 9.07 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.339, allocations: 35.91 kB / 0.7579 GB, free: 9.035 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.0001066/0.3391, allocations: 126.4 kB / 0.758 GB, free: 8.914 MB / 0.6077 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3391, allocations: 0 / 0.758 GB, free: 8.914 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.002701/0.3418, allocations: 1.002 MB / 0.759 GB, free: 7.91 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.008839/0.3507, allocations: 5.681 MB / 0.7646 GB, free: 2.121 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.003041/0.3537, allocations: 1.863 MB / 0.7664 GB, free: 252 kB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3538, allocations: 4 kB / 0.7664 GB, free: 248 kB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.5466/0.9004, allocations: 1.465 MB / 0.7678 GB, free: 117.3 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.9017, allocations: 218.1 kB / 0.768 GB, free: 117.3 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.9161, allocations: 9.795 MB / 0.7776 GB, free: 113.1 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.9168, allocations: 1.097 MB / 0.7787 GB, free: 112.4 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.001055/0.9179, allocations: 0.5097 MB / 0.7792 GB, free: 112.4 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.9182, allocations: 328.8 kB / 0.7795 GB, free: 112.1 MB / 0.6079 GB Notification: Performance of SimCode: time 7.31e-07/0.9183, allocations: 1.875 kB / 0.7795 GB, free: 112.1 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07853/0.9968, allocations: 51.61 MB / 0.8299 GB, free: 69.57 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.73, allocations: 10.11 kB / 0.8299 GB, free: 69.56 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