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.001826/0.001826, allocations: 110.7 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.002113/0.002113, 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.501/1.501, 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.2107/0.2107, allocations: 43.52 MB / 314.1 MB, free: 444 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.001699/0.001699, allocations: 66.03 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.131, 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.4644/0.5954, allocations: 180.6 MB / 0.6637 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008409/0.6039, allocations: 5.75 MB / 0.6694 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.6051, allocations: 19.88 kB / 0.6694 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.6066, allocations: 314 kB / 0.6697 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005537/0.6122, allocations: 1.579 MB / 0.6712 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004065/0.6163, allocations: 1.234 MB / 0.6724 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002924/0.6192, allocations: 1.845 MB / 0.6742 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009443/0.6202, allocations: 465.6 kB / 0.6747 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.6234, allocations: 1.238 MB / 0.6759 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.6249, allocations: 0.7471 MB / 0.6766 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.6251, allocations: 60 kB / 0.6767 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.6271, allocations: 0.8387 MB / 0.6775 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.6275, allocations: 259.2 kB / 0.6777 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.6281, allocations: 402.2 kB / 0.6781 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.6305, allocations: 1.418 MB / 0.6795 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6305, allocations: 3.938 kB / 0.6795 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6305, allocations: 0 / 0.6795 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.6306, allocations: 0 / 0.6795 GB, free: 6.031 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.002689/0.6332, allocations: 1.134 MB / 0.6806 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6333, allocations: 19.81 kB / 0.6806 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.6335, allocations: 94.52 kB / 0.6807 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009207/0.6344, allocations: 139.1 kB / 0.6809 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.6354, allocations: 0.5391 MB / 0.6814 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.6356, allocations: 100.4 kB / 0.6815 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6357, allocations: 51.98 kB / 0.6815 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.637, allocations: 0.8097 MB / 0.6823 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.6371, allocations: 3.938 kB / 0.6823 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.6372, allocations: 27.97 kB / 0.6823 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/0.6372, allocations: 40.92 kB / 0.6824 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.6384, allocations: 0.6166 MB / 0.683 GB, free: 2.277 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.004911/0.6433, allocations: 3.977 MB / 0.6869 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.6439, allocations: 355.6 kB / 0.6872 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.6442, allocations: 169.3 kB / 0.6874 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.6446, allocations: 362 kB / 0.6877 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.6446, allocations: 42.47 kB / 0.6878 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.6447, allocations: 0 / 0.6878 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005741/0.6504, allocations: 1.661 MB / 0.6894 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.6505, allocations: 140.5 kB / 0.6895 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.6513, allocations: 0.6094 MB / 0.6901 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.6514, allocations: 33.7 kB / 0.6901 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.6517, allocations: 366.8 kB / 0.6905 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.6518, allocations: 146 kB / 0.6906 GB, free: 10 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.652, allocations: 158.5 kB / 0.6908 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.6522, allocations: 374.8 kB / 0.6911 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.6526, allocations: 201.9 kB / 0.6913 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.6532, allocations: 0.5125 MB / 0.6918 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.6541, allocations: 0.7563 MB / 0.6926 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6541, allocations: 0 / 0.6926 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001448/0.6556, allocations: 0.8723 MB / 0.6934 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6556, allocations: 15.92 kB / 0.6934 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.6556, allocations: 12 kB / 0.6934 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.657, allocations: 313.8 kB / 0.6937 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.6574, allocations: 127.8 kB / 0.6939 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.6586, allocations: 0.9353 MB / 0.6948 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.6592, allocations: 28 kB / 0.6948 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6593, allocations: 63.98 kB / 0.6949 GB, free: 5.324 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.0004159/0.6597, allocations: 245.5 kB / 0.6951 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.6599, allocations: 67.31 kB / 0.6952 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.6613, allocations: 0.6833 MB / 0.6958 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.6613, allocations: 4 kB / 0.6958 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6613, allocations: 4 kB / 0.6958 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6614, allocations: 4 kB / 0.6958 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.6636, allocations: 1.606 MB / 0.6974 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.6636, allocations: 0 / 0.6974 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.6647, allocations: 211.9 kB / 0.6976 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-05/0.6648, allocations: 28.78 kB / 0.6976 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.6648, allocations: 19.98 kB / 0.6977 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.6669, allocations: 2.873 MB / 0.7005 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6669, allocations: 3.984 kB / 0.7005 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.6682, allocations: 0.8169 MB / 0.7013 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.6685, allocations: 192.2 kB / 0.7015 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.6687, allocations: 8 kB / 0.7015 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.6691, allocations: 24.05 kB / 0.7015 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.6692, allocations: 39.84 kB / 0.7015 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.6693, allocations: 47.97 kB / 0.7016 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005572/0.6699, allocations: 435 kB / 0.702 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6699, allocations: 0 / 0.702 GB, free: 13.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001113/0.671, allocations: 299.9 kB / 0.7023 GB, free: 13.23 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.002227/0.6732, allocations: 1.615 MB / 0.7038 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.6743, allocations: 0.5548 MB / 0.7044 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.6744, allocations: 4 kB / 0.7044 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009909/0.6754, allocations: 414.3 kB / 0.7048 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.677, allocations: 365.6 kB / 0.7051 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008814/0.6858, allocations: 6.3 MB / 0.7113 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.6864, allocations: 0.9261 MB / 0.7122 GB, free: 2.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008473/0.6872, allocations: 269.9 kB / 0.7125 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.6877, allocations: 275.3 kB / 0.7127 GB, free: 2.078 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.6877, allocations: 0 / 0.7127 GB, free: 2.078 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05908/0.7468, allocations: 25.71 MB / 0.7378 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.12, allocations: 11.86 kB / 0.7378 GB, free: 8.324 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