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.001636/0.001635, allocations: 104.2 kB / 17.06 MB, free: 6.027 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.00186/0.00186, allocations: 196 kB / 18 MB, free: 5.109 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.292/1.292, 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.8994/0.8994, allocations: 119.3 MB / 411.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.11 kB / 0.5705 GB, free: 39.9 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 80.7 MB / 0.6493 GB, free: 13.46 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.01411/0.1575, allocations: 12.59 MB / 0.6616 GB, free: 0.832 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.008598/0.1662, allocations: 7.813 MB / 0.6693 GB, free: 8.988 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.1663, allocations: 0 / 0.6693 GB, free: 8.988 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1665, allocations: 39.73 kB / 0.6693 GB, free: 8.949 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008886/0.1755, allocations: 3.228 MB / 0.6724 GB, free: 5.727 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008556/0.1764, allocations: 210.9 kB / 0.6727 GB, free: 5.52 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0007002/0.1771, allocations: 0.615 MB / 0.6733 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/0.1772, allocations: 28.41 kB / 0.6733 GB, free: 4.875 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.1776, allocations: 199.6 kB / 0.6735 GB, free: 4.68 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.1779, allocations: 251.2 kB / 0.6737 GB, free: 4.434 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.178, allocations: 20 kB / 0.6737 GB, free: 4.414 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.1884, allocations: 6.002 MB / 0.6796 GB, free: 14.41 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1886, allocations: 171.5 kB / 0.6798 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.1889, allocations: 254.8 kB / 0.68 GB, free: 13.99 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.007156/0.1961, allocations: 3.606 MB / 0.6835 GB, free: 10.38 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1961, allocations: 4 kB / 0.6835 GB, free: 10.37 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1961, allocations: 0 / 0.6835 GB, free: 10.37 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.1961, allocations: 0 / 0.6835 GB, free: 10.37 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.004102/0.2002, allocations: 1.416 MB / 0.6849 GB, free: 8.906 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2003, allocations: 11.89 kB / 0.6849 GB, free: 8.895 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.2004, allocations: 106.7 kB / 0.685 GB, free: 8.781 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.2009, allocations: 92.33 kB / 0.6851 GB, free: 8.691 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.2015, allocations: 343.6 kB / 0.6854 GB, free: 8.316 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.2015, allocations: 49.62 kB / 0.6855 GB, free: 8.27 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.2017, allocations: 68.03 kB / 0.6855 GB, free: 8.203 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.2035, allocations: 0.9471 MB / 0.6865 GB, free: 7.215 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2035, allocations: 4 kB / 0.6865 GB, free: 7.211 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.2036, allocations: 24 kB / 0.6865 GB, free: 7.188 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.2036, allocations: 12 kB / 0.6865 GB, free: 7.176 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.2053, allocations: 0.8167 MB / 0.6873 GB, free: 6.359 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.2084, allocations: 2.338 MB / 0.6896 GB, free: 3.926 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.21, allocations: 0.9058 MB / 0.6905 GB, free: 3.004 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.2105, allocations: 382.6 kB / 0.6908 GB, free: 2.629 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06336/0.2739, allocations: 32.13 MB / 0.7222 GB, free: 14.68 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.274, allocations: 47.16 kB / 0.7223 GB, free: 14.62 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=72): time 3.386e-06/0.274, allocations: 0 / 0.7223 GB, free: 14.62 MB / 0.5764 GB Notification: Performance of matching and sorting (n=102): time 0.02633/0.3003, allocations: 7.132 MB / 0.7292 GB, free: 7.441 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3004, allocations: 60.41 kB / 0.7293 GB, free: 7.371 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3006, allocations: 172.3 kB / 0.7294 GB, free: 7.195 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.3007, allocations: 37.7 kB / 0.7295 GB, free: 7.152 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3008, allocations: 193 kB / 0.7297 GB, free: 6.957 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.3012, allocations: 378.6 kB / 0.73 GB, free: 6.582 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.3015, allocations: 198.9 kB / 0.7302 GB, free: 6.383 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3016, allocations: 358.8 kB / 0.7306 GB, free: 6.023 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007653/0.3024, allocations: 0.4905 MB / 0.731 GB, free: 5.531 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008624/0.3033, allocations: 0.6242 MB / 0.7316 GB, free: 4.871 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.305, allocations: 1.2 MB / 0.7328 GB, free: 3.641 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.305, allocations: 0 / 0.7328 GB, free: 3.641 MB / 0.5764 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002253/0.3072, allocations: 1.512 MB / 0.7343 GB, free: 2.09 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3073, allocations: 7.938 kB / 0.7343 GB, free: 2.082 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.3073, allocations: 4 kB / 0.7343 GB, free: 2.078 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.3087, allocations: 392.5 kB / 0.7347 GB, free: 1.664 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.3096, allocations: 227.7 kB / 0.7349 GB, free: 1.441 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.3129, allocations: 5.704 MB / 0.7405 GB, free: 11.48 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.3134, allocations: 48.05 kB / 0.7405 GB, free: 11.43 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.3135, allocations: 40 kB / 0.7406 GB, free: 11.39 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.0003823/0.3139, allocations: 266.8 kB / 0.7408 GB, free: 11.12 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.314, allocations: 47.47 kB / 0.7409 GB, free: 11.08 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/0.3187, allocations: 4.181 MB / 0.7449 GB, free: 6.82 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.3e-05/0.3188, allocations: 47.88 kB / 0.745 GB, free: 6.773 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3188, allocations: 4 kB / 0.745 GB, free: 6.77 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.3188, allocations: 7.969 kB / 0.745 GB, free: 6.762 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.3205, allocations: 1.623 MB / 0.7466 GB, free: 5.09 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.3205, allocations: 0 / 0.7466 GB, free: 5.09 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/0.3212, allocations: 175.8 kB / 0.7467 GB, free: 4.918 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/0.3234, allocations: 0.6439 MB / 0.7474 GB, free: 4.242 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.3235, allocations: 47.89 kB / 0.7474 GB, free: 4.195 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.3275, allocations: 6.063 MB / 0.7533 GB, free: 13.88 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3275, allocations: 8.031 kB / 0.7533 GB, free: 13.87 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/0.3329, allocations: 4.224 MB / 0.7575 GB, free: 9.543 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.3331, allocations: 179.6 kB / 0.7576 GB, free: 9.348 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.3333, allocations: 31.98 kB / 0.7577 GB, free: 9.316 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.3337, allocations: 43.89 kB / 0.7577 GB, free: 9.273 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.3339, allocations: 60.91 kB / 0.7578 GB, free: 9.215 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.334, allocations: 35.98 kB / 0.7578 GB, free: 9.18 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.0001193/0.3341, allocations: 134.3 kB / 0.7579 GB, free: 9.051 MB / 0.6077 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3341, allocations: 0 / 0.7579 GB, free: 9.051 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.002833/0.3369, allocations: 0.9918 MB / 0.7589 GB, free: 8.059 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.01028/0.3472, allocations: 5.67 MB / 0.7644 GB, free: 2.277 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.003264/0.3505, allocations: 1.867 MB / 0.7663 GB, free: 408 kB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3506, allocations: 7.938 kB / 0.7663 GB, free: 400 kB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.5391/0.8897, allocations: 1.465 MB / 0.7677 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.001219/0.891, allocations: 211.3 kB / 0.7679 GB, free: 117.3 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.9052, allocations: 9.743 MB / 0.7774 GB, free: 113.2 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.9058, allocations: 1.103 MB / 0.7785 GB, free: 112.5 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.0009808/0.9068, allocations: 0.5104 MB / 0.779 GB, free: 112.4 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.9072, allocations: 324.4 kB / 0.7793 GB, free: 112.2 MB / 0.6079 GB Notification: Performance of SimCode: time 9.01e-07/0.9072, allocations: 0 / 0.7793 GB, free: 112.2 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07856/0.9858, allocations: 52.14 MB / 0.8302 GB, free: 69.32 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.43, allocations: 6.516 kB / 0.8302 GB, free: 69.31 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 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.mat","/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