Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",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.001664/0.001664, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001998/0.001998, allocations: 191.4 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2028/0.2028, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 69.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1148, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4452/0.5601, allocations: 180.6 MB / 0.6637 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00756/0.5677, allocations: 5.752 MB / 0.6694 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.5683, allocations: 19.88 kB / 0.6694 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.5693, allocations: 314 kB / 0.6697 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003762/0.573, allocations: 1.607 MB / 0.6712 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.576, allocations: 1.237 MB / 0.6725 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.5782, allocations: 1.845 MB / 0.6743 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/0.579, allocations: 464.9 kB / 0.6747 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.5817, allocations: 1.246 MB / 0.6759 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.5831, allocations: 0.7549 MB / 0.6767 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.5833, allocations: 60 kB / 0.6767 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.5852, allocations: 0.8374 MB / 0.6775 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.5856, allocations: 263.2 kB / 0.6778 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.5862, allocations: 398.2 kB / 0.6782 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.5886, allocations: 1.425 MB / 0.6796 GB, free: 6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5886, allocations: 0 / 0.6796 GB, free: 6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5887, allocations: 0 / 0.6796 GB, free: 6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.081e-05/0.5887, allocations: 0 / 0.6796 GB, free: 6 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002962/0.5917, allocations: 1.156 MB / 0.6807 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.119e-05/0.5917, allocations: 15.83 kB / 0.6807 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.592, allocations: 94.52 kB / 0.6808 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.5929, allocations: 147.5 kB / 0.6809 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.5942, allocations: 0.5434 MB / 0.6815 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.5944, allocations: 96.41 kB / 0.6815 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.5945, allocations: 51.98 kB / 0.6816 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.5961, allocations: 0.8136 MB / 0.6824 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.5961, allocations: 3.938 kB / 0.6824 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.5962, allocations: 23.98 kB / 0.6824 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.103e-05/0.5963, allocations: 40.92 kB / 0.6825 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.5974, allocations: 0.6205 MB / 0.6831 GB, free: 2.215 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/0.6027, allocations: 3.978 MB / 0.6869 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.6032, allocations: 355.6 kB / 0.6873 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.6035, allocations: 173.3 kB / 0.6875 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/0.604, allocations: 354.1 kB / 0.6878 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.604, allocations: 46.45 kB / 0.6878 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.604, allocations: 0 / 0.6878 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005956/0.61, allocations: 1.68 MB / 0.6895 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.6101, allocations: 136.5 kB / 0.6896 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.6109, allocations: 0.6095 MB / 0.6902 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.6109, allocations: 33.7 kB / 0.6902 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.6112, allocations: 379.7 kB / 0.6906 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.6113, allocations: 150.8 kB / 0.6907 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.6115, allocations: 158.6 kB / 0.6909 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6116, allocations: 370.8 kB / 0.6912 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.612, allocations: 205.9 kB / 0.6914 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.6125, allocations: 0.5086 MB / 0.6919 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.6134, allocations: 0.7523 MB / 0.6927 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6134, allocations: 4 kB / 0.6927 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001455/0.6149, allocations: 0.8841 MB / 0.6935 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6149, allocations: 11.94 kB / 0.6936 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.615, allocations: 12 kB / 0.6936 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.6163, allocations: 313.9 kB / 0.6939 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.6167, allocations: 135.8 kB / 0.694 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.6178, allocations: 0.9231 MB / 0.6949 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.6183, allocations: 32.61 kB / 0.6949 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.6184, allocations: 60 kB / 0.695 GB, free: 5.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003315/0.6187, allocations: 253.5 kB / 0.6952 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.6189, allocations: 67.58 kB / 0.6953 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6202, allocations: 0.6756 MB / 0.6959 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.6202, allocations: 11.98 kB / 0.696 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6202, allocations: 0 / 0.696 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.6202, allocations: 7.984 kB / 0.696 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.6224, allocations: 1.61 MB / 0.6975 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6224, allocations: 128 / 0.6975 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6234, allocations: 207.8 kB / 0.6977 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.002e-05/0.6235, allocations: 28.78 kB / 0.6978 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.6236, allocations: 15.98 kB / 0.6978 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.6255, allocations: 2.877 MB / 0.7006 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6256, allocations: 160 / 0.7006 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.6268, allocations: 0.8171 MB / 0.7014 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.6271, allocations: 196.6 kB / 0.7016 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6272, allocations: 8 kB / 0.7016 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.6276, allocations: 24.05 kB / 0.7016 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.6277, allocations: 43.83 kB / 0.7016 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.6278, allocations: 43.98 kB / 0.7017 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005316/0.6283, allocations: 439 kB / 0.7021 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6284, allocations: 0 / 0.7021 GB, free: 13.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001002/0.6294, allocations: 291.7 kB / 0.7024 GB, free: 13.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002307/0.6317, allocations: 1.622 MB / 0.704 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.6328, allocations: 0.5584 MB / 0.7045 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6328, allocations: 0 / 0.7045 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009951/0.6338, allocations: 419 kB / 0.7049 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6355, allocations: 369.3 kB / 0.7053 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.6442, allocations: 6.32 MB / 0.7114 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.6448, allocations: 0.93 MB / 0.7123 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00093/0.6457, allocations: 269.9 kB / 0.7126 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.6462, allocations: 279.3 kB / 0.7129 GB, free: 1.934 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.6462, allocations: 0 / 0.7129 GB, free: 1.934 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05739/0.7036, allocations: 25.39 MB / 0.7377 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.93, allocations: 11.73 kB / 0.7377 GB, free: 8.5 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches