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.001357/0.001357, allocations: 112.8 kB / 16.4 MB, free: 5.902 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.00156/0.00156, allocations: 195.8 kB / 17.33 MB, free: 5.539 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.362/1.362, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.207/0.207, allocations: 43.52 MB / 314.1 MB, free: 464 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.001996/0.001996, allocations: 71.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1124, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4157/0.5282, allocations: 180.6 MB / 0.6637 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007825/0.536, allocations: 5.744 MB / 0.6693 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.5366, allocations: 23.81 kB / 0.6694 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008484/0.5375, allocations: 314 kB / 0.6697 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003704/0.5412, allocations: 1.575 MB / 0.6712 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.5442, allocations: 1.248 MB / 0.6724 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.5464, allocations: 1.841 MB / 0.6742 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.547, allocations: 456.3 kB / 0.6747 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.5494, allocations: 1.234 MB / 0.6759 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.5506, allocations: 0.751 MB / 0.6766 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.5507, allocations: 60 kB / 0.6767 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.5524, allocations: 0.8387 MB / 0.6775 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.5527, allocations: 259.2 kB / 0.6777 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004202/0.5531, allocations: 394.2 kB / 0.6781 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.555, allocations: 1.425 MB / 0.6795 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.555, allocations: 0 / 0.6795 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5551, allocations: 3.938 kB / 0.6795 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5551, allocations: 0 / 0.6795 GB, free: 6.039 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.002199/0.5573, allocations: 1.159 MB / 0.6806 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5573, allocations: 11.89 kB / 0.6806 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.5575, allocations: 106.5 kB / 0.6807 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007996/0.5583, allocations: 139.5 kB / 0.6809 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.5591, allocations: 0.5441 MB / 0.6814 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.5593, allocations: 100.4 kB / 0.6815 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.5594, allocations: 44 kB / 0.6815 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5606, allocations: 0.8175 MB / 0.6823 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.5606, allocations: 0 / 0.6823 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.5607, allocations: 24 kB / 0.6824 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.246e-05/0.5608, allocations: 44.86 kB / 0.6824 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.5618, allocations: 0.6205 MB / 0.683 GB, free: 2.254 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.004557/0.5664, allocations: 3.978 MB / 0.6869 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.567, allocations: 355.6 kB / 0.6872 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.5673, allocations: 169.3 kB / 0.6874 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/0.5678, allocations: 366 kB / 0.6877 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.5678, allocations: 38.84 kB / 0.6878 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.5678, allocations: 0 / 0.6878 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005406/0.5732, allocations: 1.685 MB / 0.6894 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.5733, allocations: 132.5 kB / 0.6896 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007277/0.574, allocations: 0.6134 MB / 0.6902 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.5741, allocations: 33.7 kB / 0.6902 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.5744, allocations: 375.8 kB / 0.6905 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5745, allocations: 146.8 kB / 0.6907 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.5748, allocations: 158.6 kB / 0.6908 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5749, allocations: 378.8 kB / 0.6912 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.5753, allocations: 201.9 kB / 0.6914 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.5759, allocations: 0.5086 MB / 0.6919 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009893/0.5769, allocations: 0.7601 MB / 0.6926 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5769, allocations: 3.938 kB / 0.6926 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001455/0.5784, allocations: 0.8804 MB / 0.6935 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5784, allocations: 8 kB / 0.6935 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5784, allocations: 12 kB / 0.6935 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.5798, allocations: 309 kB / 0.6938 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.5802, allocations: 127.8 kB / 0.6939 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.5814, allocations: 0.927 MB / 0.6948 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.5818, allocations: 35.92 kB / 0.6949 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.5819, allocations: 63.98 kB / 0.6949 GB, free: 5.266 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.0003429/0.5822, allocations: 249.4 kB / 0.6952 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5824, allocations: 71.64 kB / 0.6952 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.5838, allocations: 0.6823 MB / 0.6959 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.5839, allocations: 4 kB / 0.6959 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5839, allocations: 0 / 0.6959 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5839, allocations: 11.98 kB / 0.6959 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.5861, allocations: 1.614 MB / 0.6975 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5861, allocations: 0 / 0.6975 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.5872, allocations: 203.9 kB / 0.6977 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.291e-05/0.5873, allocations: 28.83 kB / 0.6977 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.5873, allocations: 24 kB / 0.6977 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.5896, allocations: 2.873 MB / 0.7005 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5896, allocations: 0 / 0.7005 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.5909, allocations: 0.8172 MB / 0.7013 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.5912, allocations: 196.6 kB / 0.7015 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.5913, allocations: 8 kB / 0.7015 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.5916, allocations: 20.05 kB / 0.7016 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.5918, allocations: 43.83 kB / 0.7016 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/0.5918, allocations: 43.98 kB / 0.7016 GB, free: 13.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005508/0.5924, allocations: 443 kB / 0.7021 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5924, allocations: 0 / 0.7021 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008998/0.5933, allocations: 291.7 kB / 0.7023 GB, free: 13.17 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.002313/0.5956, allocations: 1.622 MB / 0.7039 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.5967, allocations: 0.555 MB / 0.7045 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.5968, allocations: 4 kB / 0.7045 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009926/0.5977, allocations: 422.2 kB / 0.7049 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.5994, allocations: 366.1 kB / 0.7052 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.6078, allocations: 6.315 MB / 0.7114 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.6084, allocations: 0.9417 MB / 0.7123 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008271/0.6093, allocations: 258 kB / 0.7126 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.6097, allocations: 279.3 kB / 0.7128 GB, free: 1.969 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.6098, allocations: 0 / 0.7128 GB, free: 1.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06023/0.67, allocations: 25.39 MB / 0.7376 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.67, allocations: 15.86 kB / 0.7376 GB, free: 8.535 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