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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 111 kB / 17.09 MB, free: 5.988 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.001335/0.001335, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.464/1.464, allocations: 205.1 MB / 223.9 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.2267/0.2267, allocations: 43.52 MB / 314.8 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.001449/0.001449, allocations: 63.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4263/0.5369, allocations: 180.6 MB / 0.6649 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007914/0.5449, allocations: 5.751 MB / 0.6705 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.5454, allocations: 23.81 kB / 0.6705 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008181/0.5463, allocations: 318 kB / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.5497, allocations: 1.577 MB / 0.6724 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.5525, allocations: 1.235 MB / 0.6736 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002031/0.5546, allocations: 1.841 MB / 0.6754 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.5552, allocations: 460.1 kB / 0.6758 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.558, allocations: 1.242 MB / 0.677 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.5592, allocations: 0.7472 MB / 0.6778 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.5594, allocations: 60 kB / 0.6778 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.561, allocations: 0.8387 MB / 0.6786 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.5613, allocations: 263.3 kB / 0.6789 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.5617, allocations: 394.2 kB / 0.6793 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.5633, allocations: 1.422 MB / 0.6807 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5633, allocations: 0 / 0.6807 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5633, allocations: 0 / 0.6807 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.5633, allocations: 4 kB / 0.6807 GB, free: 5.879 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.002088/0.5654, allocations: 1.13 MB / 0.6818 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.5654, allocations: 8.031 kB / 0.6818 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008202/0.5663, allocations: 139.1 kB / 0.6819 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.5671, allocations: 0.5275 MB / 0.6824 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.5672, allocations: 100.4 kB / 0.6825 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.5673, allocations: 59.92 kB / 0.6826 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.5685, allocations: 0.8096 MB / 0.6834 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5686, allocations: 4 kB / 0.6834 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.5687, allocations: 27.97 kB / 0.6834 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.5687, allocations: 40.92 kB / 0.6834 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.5697, allocations: 0.6204 MB / 0.684 GB, free: 2.242 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.004322/0.5741, allocations: 3.978 MB / 0.6879 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.5746, allocations: 355.1 kB / 0.6883 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.5749, allocations: 181.2 kB / 0.6884 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.5753, allocations: 366 kB / 0.6888 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.5754, allocations: 38.84 kB / 0.6888 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.5754, allocations: 0 / 0.6888 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005396/0.5808, allocations: 1.665 MB / 0.6904 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.5809, allocations: 136.5 kB / 0.6906 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.5815, allocations: 0.6094 MB / 0.6912 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.5816, allocations: 33.7 kB / 0.6912 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.5819, allocations: 362.9 kB / 0.6915 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.582, allocations: 149.9 kB / 0.6917 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.5822, allocations: 158.5 kB / 0.6918 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5824, allocations: 378.8 kB / 0.6922 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.5827, allocations: 197.9 kB / 0.6924 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.5833, allocations: 0.5164 MB / 0.6929 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.5843, allocations: 0.7523 MB / 0.6936 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.5843, allocations: 4 kB / 0.6936 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001405/0.5857, allocations: 0.8684 MB / 0.6945 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.5857, allocations: 15.98 kB / 0.6945 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5858, allocations: 8 kB / 0.6945 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.5871, allocations: 313 kB / 0.6948 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.5875, allocations: 123.7 kB / 0.6949 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.5886, allocations: 0.9308 MB / 0.6958 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.5891, allocations: 24.88 kB / 0.6959 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.5892, allocations: 67.98 kB / 0.6959 GB, free: 5.289 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.0003095/0.5895, allocations: 249.5 kB / 0.6962 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5896, allocations: 71.31 kB / 0.6962 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.591, allocations: 0.6843 MB / 0.6969 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.591, allocations: 0 / 0.6969 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.591, allocations: 0 / 0.6969 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.5913, allocations: 196.2 kB / 0.6971 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5914, allocations: 15.92 kB / 0.6971 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.5918, allocations: 15.94 kB / 0.6971 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.5919, allocations: 39.94 kB / 0.6972 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001588/0.5935, allocations: 0.6154 MB / 0.6978 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001118/0.5946, allocations: 0.8223 MB / 0.6986 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002886/0.5949, allocations: 179.9 kB / 0.6987 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004854/0.5954, allocations: 439 kB / 0.6991 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of Backend: time 3.31e-07/0.5954, allocations: 4 kB / 0.6991 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.5976, allocations: 0.8225 MB / 0.7 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00298/0.6006, allocations: 1.903 MB / 0.7018 GB, free: 15.14 MB / 0.545 GB Notification: Performance of Templates: time 0.03288/0.6335, allocations: 19.58 MB / 0.7209 GB, free: 11.58 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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