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.001278/0.001278, allocations: 110.3 kB / 16.41 MB, free: 6.48 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.00129/0.001291, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.532/1.532, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2307/0.2307, allocations: 43.53 MB / 314.1 MB, free: 456 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.001586/0.001586, allocations: 75.89 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4662/0.5908, allocations: 180.6 MB / 0.6637 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007851/0.5987, allocations: 5.747 MB / 0.6694 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007934/0.5995, allocations: 23.88 kB / 0.6694 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.6006, allocations: 318 kB / 0.6697 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.605, allocations: 1.575 MB / 0.6712 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.6084, allocations: 1.236 MB / 0.6724 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.6106, allocations: 1.845 MB / 0.6742 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007662/0.6114, allocations: 460.4 kB / 0.6747 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.6142, allocations: 1.238 MB / 0.6759 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.6154, allocations: 0.7549 MB / 0.6766 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.6155, allocations: 60 kB / 0.6767 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.6171, allocations: 0.8192 MB / 0.6775 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.6174, allocations: 283.2 kB / 0.6777 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.6178, allocations: 394.2 kB / 0.6781 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.6199, allocations: 1.418 MB / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6199, allocations: 0 / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6199, allocations: 3.938 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.6199, allocations: 0 / 0.6795 GB, free: 6.078 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.002348/0.6223, allocations: 1.137 MB / 0.6806 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6223, allocations: 11.89 kB / 0.6806 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.6224, allocations: 94.52 kB / 0.6807 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.6232, allocations: 135.1 kB / 0.6808 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.6243, allocations: 0.5391 MB / 0.6814 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.6244, allocations: 109.2 kB / 0.6815 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/0.6245, allocations: 48 kB / 0.6815 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.6257, allocations: 0.8097 MB / 0.6823 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.6257, allocations: 7.938 kB / 0.6823 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.6258, allocations: 23.98 kB / 0.6823 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.6259, allocations: 40.92 kB / 0.6824 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009661/0.6268, allocations: 0.6166 MB / 0.683 GB, free: 2.328 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.004428/0.6313, allocations: 3.974 MB / 0.6869 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.6319, allocations: 351.6 kB / 0.6872 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.6321, allocations: 181.3 kB / 0.6874 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004381/0.6326, allocations: 358 kB / 0.6877 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.6326, allocations: 42.84 kB / 0.6878 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.953e-06/0.6326, allocations: 0 / 0.6878 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005557/0.6382, allocations: 1.671 MB / 0.6894 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.6383, allocations: 132.5 kB / 0.6895 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006412/0.6389, allocations: 0.6094 MB / 0.6901 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.639, allocations: 33.7 kB / 0.6901 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.6392, allocations: 366.8 kB / 0.6905 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6394, allocations: 146 kB / 0.6906 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.6396, allocations: 158.5 kB / 0.6908 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6397, allocations: 378.8 kB / 0.6911 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.6401, allocations: 201.9 kB / 0.6913 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.6407, allocations: 0.5163 MB / 0.6918 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009887/0.6417, allocations: 0.7485 MB / 0.6926 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.6417, allocations: 4 kB / 0.6926 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001349/0.643, allocations: 0.8724 MB / 0.6934 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.6431, allocations: 12 kB / 0.6934 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.6431, allocations: 8 kB / 0.6934 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.6444, allocations: 324.8 kB / 0.6938 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.6448, allocations: 115.8 kB / 0.6939 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.6458, allocations: 0.9347 MB / 0.6948 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.6463, allocations: 31.92 kB / 0.6948 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.6463, allocations: 68 kB / 0.6949 GB, free: 5.363 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.0002932/0.6466, allocations: 245.5 kB / 0.6951 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.6468, allocations: 67.25 kB / 0.6952 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.648, allocations: 0.6822 MB / 0.6958 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.6481, allocations: 4 kB / 0.6958 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6481, allocations: 0 / 0.6958 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.6481, allocations: 3.984 kB / 0.6958 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.6502, allocations: 1.618 MB / 0.6974 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6502, allocations: 4 kB / 0.6974 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.6512, allocations: 207.9 kB / 0.6976 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.423e-05/0.6513, allocations: 20.84 kB / 0.6977 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.6514, allocations: 19.98 kB / 0.6977 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.6532, allocations: 2.869 MB / 0.7005 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6533, allocations: 7.969 kB / 0.7005 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.6544, allocations: 0.8091 MB / 0.7013 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.6548, allocations: 192.2 kB / 0.7015 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.6549, allocations: 11.94 kB / 0.7015 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.6552, allocations: 19.98 kB / 0.7015 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.6553, allocations: 43.95 kB / 0.7015 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.6554, allocations: 39.98 kB / 0.7016 GB, free: 14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004748/0.6559, allocations: 435 kB / 0.702 GB, free: 13.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.563e-06/0.6559, allocations: 0 / 0.702 GB, free: 13.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009237/0.6568, allocations: 307.8 kB / 0.7023 GB, free: 13.28 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.002242/0.6591, allocations: 1.611 MB / 0.7038 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6602, allocations: 0.5589 MB / 0.7044 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6602, allocations: 0 / 0.7044 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009319/0.6611, allocations: 406.4 kB / 0.7048 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.6628, allocations: 374.1 kB / 0.7051 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007842/0.6706, allocations: 6.304 MB / 0.7113 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.6711, allocations: 0.9261 MB / 0.7122 GB, free: 2.652 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007493/0.6718, allocations: 269.9 kB / 0.7125 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.6723, allocations: 279.3 kB / 0.7127 GB, free: 2.113 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.6723, allocations: 0 / 0.7127 GB, free: 2.113 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04939/0.7217, allocations: 25.71 MB / 0.7378 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.26, allocations: 11.73 kB / 0.7378 GB, free: 8.367 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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