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.001845/0.001845, allocations: 112.1 kB / 17.08 MB, free: 5.969 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.002796/0.002796, allocations: 196.2 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.227/3.227, allocations: 205.1 MB / 223.9 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.4345/0.4345, allocations: 43.52 MB / 314.8 MB, free: 448 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.002276/0.002276, allocations: 59.91 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1597, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4656/0.6254, allocations: 180.6 MB / 0.6649 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007799/0.6333, allocations: 5.754 MB / 0.6705 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.6339, allocations: 19.88 kB / 0.6705 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008853/0.6348, allocations: 314 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.639, allocations: 1.578 MB / 0.6724 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.6423, allocations: 1.239 MB / 0.6736 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002375/0.6447, allocations: 1.853 MB / 0.6754 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.6453, allocations: 457.3 kB / 0.6758 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.6481, allocations: 1.231 MB / 0.677 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.6495, allocations: 0.755 MB / 0.6778 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.6496, allocations: 60 kB / 0.6778 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.6517, allocations: 0.8387 MB / 0.6786 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.652, allocations: 259.2 kB / 0.6789 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004678/0.6525, allocations: 398.1 kB / 0.6793 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.6544, allocations: 1.422 MB / 0.6807 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6545, allocations: 0 / 0.6807 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6545, allocations: 0 / 0.6807 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.6545, allocations: 4 kB / 0.6807 GB, free: 5.699 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.002368/0.6569, allocations: 1.126 MB / 0.6818 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6569, allocations: 8.031 kB / 0.6818 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008475/0.6578, allocations: 139.1 kB / 0.6819 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/0.6587, allocations: 0.5468 MB / 0.6824 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.6588, allocations: 96.41 kB / 0.6825 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.6589, allocations: 51.98 kB / 0.6826 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6602, allocations: 0.8136 MB / 0.6834 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.6602, allocations: 3.938 kB / 0.6834 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.6603, allocations: 27.98 kB / 0.6834 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/0.6604, allocations: 36.98 kB / 0.6834 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.6614, allocations: 0.6204 MB / 0.684 GB, free: 2.059 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.004606/0.666, allocations: 3.977 MB / 0.6879 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.6666, allocations: 359.1 kB / 0.6883 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.667, allocations: 169.3 kB / 0.6884 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/0.6674, allocations: 361.4 kB / 0.6888 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.6675, allocations: 38.84 kB / 0.6888 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/0.6675, allocations: 0 / 0.6888 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005714/0.6732, allocations: 1.67 MB / 0.6904 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.6733, allocations: 132.5 kB / 0.6906 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.674, allocations: 0.6094 MB / 0.6912 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.6741, allocations: 33.7 kB / 0.6912 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.6743, allocations: 366.9 kB / 0.6915 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.6745, allocations: 149.9 kB / 0.6917 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.6747, allocations: 158.5 kB / 0.6918 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.6749, allocations: 374.8 kB / 0.6922 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.6752, allocations: 205.9 kB / 0.6924 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.6758, allocations: 0.5047 MB / 0.6929 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.6768, allocations: 0.7563 MB / 0.6936 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.6768, allocations: 4 kB / 0.6936 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001479/0.6783, allocations: 0.8762 MB / 0.6945 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6783, allocations: 8 kB / 0.6945 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6783, allocations: 8 kB / 0.6945 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.6798, allocations: 322.4 kB / 0.6948 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.6802, allocations: 123.8 kB / 0.6949 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.6814, allocations: 0.9347 MB / 0.6958 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.6819, allocations: 23.98 kB / 0.6959 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-05/0.682, allocations: 68 kB / 0.6959 GB, free: 5.105 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.0003478/0.6823, allocations: 241.5 kB / 0.6962 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.6825, allocations: 67.31 kB / 0.6962 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.6839, allocations: 0.6894 MB / 0.6969 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.6839, allocations: 4 kB / 0.6969 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.6839, allocations: 7.984 kB / 0.6969 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6839, allocations: 7.984 kB / 0.6969 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.6862, allocations: 1.599 MB / 0.6985 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.6862, allocations: 4 kB / 0.6985 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.6873, allocations: 207.9 kB / 0.6987 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-05/0.6874, allocations: 28.78 kB / 0.6987 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.6875, allocations: 19.98 kB / 0.6987 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.6896, allocations: 2.869 MB / 0.7015 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6896, allocations: 4.031 kB / 0.7015 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.691, allocations: 0.8049 MB / 0.7023 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.6913, allocations: 192.2 kB / 0.7025 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.6914, allocations: 12 kB / 0.7025 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.6919, allocations: 20.05 kB / 0.7025 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.692, allocations: 43.83 kB / 0.7026 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.692, allocations: 39.98 kB / 0.7026 GB, free: 13.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005477/0.6926, allocations: 443 kB / 0.703 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6926, allocations: 0 / 0.703 GB, free: 13.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001028/0.6936, allocations: 292 kB / 0.7033 GB, free: 13.04 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.00091/0.6946, allocations: 382 kB / 0.7037 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.6958, allocations: 0.5468 MB / 0.7042 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6958, allocations: 4 kB / 0.7042 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009843/0.6968, allocations: 411.1 kB / 0.7046 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.6986, allocations: 361.9 kB / 0.7049 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.7015, allocations: 1.35 MB / 0.7063 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.7022, allocations: 0.9261 MB / 0.7072 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/0.7026, allocations: 115.4 kB / 0.7073 GB, free: 8.883 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.7026, allocations: 0 / 0.7073 GB, free: 8.883 MB / 0.545 GB Notification: Performance of Templates: time 0.03028/0.7329, allocations: 17.1 MB / 0.724 GB, free: 7.793 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