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.00179/0.00179, allocations: 108.9 kB / 16.41 MB, free: 6.496 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.002015/0.002015, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.546/1.546, 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.2253/0.2253, allocations: 43.53 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.002039/0.002039, allocations: 67.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1186, 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.4913/0.61, allocations: 180.6 MB / 0.6638 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008075/0.6181, allocations: 5.736 MB / 0.6694 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.6187, allocations: 23.88 kB / 0.6694 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.6196, allocations: 317.9 kB / 0.6697 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.6237, allocations: 1.576 MB / 0.6712 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.6271, allocations: 1.246 MB / 0.6724 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.6294, allocations: 1.845 MB / 0.6742 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007218/0.6302, allocations: 460.1 kB / 0.6747 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.6328, allocations: 1.222 MB / 0.6759 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.6341, allocations: 0.7549 MB / 0.6766 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.6343, allocations: 60 kB / 0.6767 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.6361, allocations: 0.8348 MB / 0.6775 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.6364, allocations: 263.2 kB / 0.6777 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004634/0.6369, allocations: 390.2 kB / 0.6781 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.6391, allocations: 1.429 MB / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6391, allocations: 4 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6391, allocations: 3.938 kB / 0.6795 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.6391, allocations: 0 / 0.6795 GB, free: 6.074 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.002352/0.6415, allocations: 1.156 MB / 0.6806 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6416, allocations: 11.89 kB / 0.6806 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.6417, allocations: 99.2 kB / 0.6807 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.6425, allocations: 139.5 kB / 0.6809 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009729/0.6435, allocations: 0.5435 MB / 0.6814 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.6436, allocations: 96.41 kB / 0.6815 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.6437, allocations: 55.92 kB / 0.6816 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.6451, allocations: 0.8136 MB / 0.6823 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.6451, allocations: 0 / 0.6823 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.6452, allocations: 27.98 kB / 0.6824 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.76e-05/0.6453, allocations: 49.72 kB / 0.6824 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.6464, allocations: 0.6166 MB / 0.683 GB, free: 2.289 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.005204/0.6516, allocations: 3.977 MB / 0.6869 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.6522, allocations: 347.1 kB / 0.6872 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.6525, allocations: 178.5 kB / 0.6874 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.653, allocations: 366 kB / 0.6878 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.653, allocations: 38.84 kB / 0.6878 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.653, allocations: 0 / 0.6878 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005819/0.6588, allocations: 1.684 MB / 0.6894 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.659, allocations: 132.5 kB / 0.6896 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008489/0.6598, allocations: 0.6134 MB / 0.6902 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.6599, allocations: 29.7 kB / 0.6902 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.6602, allocations: 379.8 kB / 0.6906 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.6604, allocations: 146.8 kB / 0.6907 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.6606, allocations: 154.6 kB / 0.6908 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.6608, allocations: 382.8 kB / 0.6912 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.6612, allocations: 201.9 kB / 0.6914 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.6618, allocations: 0.5085 MB / 0.6919 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.6629, allocations: 0.7641 MB / 0.6926 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6629, allocations: 0 / 0.6926 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001546/0.6644, allocations: 0.8806 MB / 0.6935 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6645, allocations: 8 kB / 0.6935 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.6645, allocations: 12 kB / 0.6935 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.6659, allocations: 308.8 kB / 0.6938 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.6663, allocations: 127.8 kB / 0.6939 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.6674, allocations: 0.927 MB / 0.6948 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.6679, allocations: 31.92 kB / 0.6949 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.105e-05/0.668, allocations: 67.98 kB / 0.6949 GB, free: 5.305 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.0003668/0.6684, allocations: 249.4 kB / 0.6952 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6685, allocations: 67.58 kB / 0.6952 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.6699, allocations: 0.6901 MB / 0.6959 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.67, allocations: 4 kB / 0.6959 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.67, allocations: 4 kB / 0.6959 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.67, allocations: 3.984 kB / 0.6959 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.6722, allocations: 1.61 MB / 0.6975 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6722, allocations: 0 / 0.6975 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6733, allocations: 211.9 kB / 0.6977 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.724e-05/0.6734, allocations: 28.83 kB / 0.6977 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.6735, allocations: 16 kB / 0.6977 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.6758, allocations: 2.881 MB / 0.7006 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6758, allocations: 0 / 0.7006 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6771, allocations: 0.8133 MB / 0.7014 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.6774, allocations: 196.6 kB / 0.7015 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.6775, allocations: 12 kB / 0.7015 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.6778, allocations: 15.98 kB / 0.7016 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.678, allocations: 43.95 kB / 0.7016 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.678, allocations: 43.98 kB / 0.7016 GB, free: 13.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005621/0.6786, allocations: 447 kB / 0.7021 GB, free: 13.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.994e-06/0.6786, allocations: 0 / 0.7021 GB, free: 13.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009581/0.6796, allocations: 291.6 kB / 0.7024 GB, free: 13.2 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.002347/0.6819, allocations: 1.611 MB / 0.7039 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.6831, allocations: 0.5589 MB / 0.7045 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.6831, allocations: 4 kB / 0.7045 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009877/0.6841, allocations: 418.2 kB / 0.7049 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.6858, allocations: 370.6 kB / 0.7052 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008636/0.6944, allocations: 6.319 MB / 0.7114 GB, free: 3.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.695, allocations: 0.93 MB / 0.7123 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008309/0.6959, allocations: 265.9 kB / 0.7126 GB, free: 2.281 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/0.6963, allocations: 279.3 kB / 0.7128 GB, free: 2.008 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.6964, allocations: 0 / 0.7128 GB, free: 2.008 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06208/0.7584, allocations: 25.4 MB / 0.7376 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.87, allocations: 23.84 kB / 0.7377 GB, free: 8.559 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