Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001349/0.001349, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.674/1.674, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.3028/0.3028, allocations: 43.52 MB / 314.6 MB, free: 0.5234 MB / 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.001627/0.001628, allocations: 69.98 kB / 383.4 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0837/0.08534, allocations: 57.79 MB / 441.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03557/0.121, allocations: 39.03 MB / 480.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02291/0.1439, allocations: 20.14 MB / 0.4887 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008144/0.1448, allocations: 19.88 kB / 0.4887 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.1461, allocations: 449.3 kB / 0.4891 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01372/0.1599, allocations: 5.099 MB / 0.4941 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006841/0.1668, allocations: 2.564 MB / 0.4966 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002521/0.1693, allocations: 2.004 MB / 0.4985 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.1702, allocations: 497.5 kB / 0.499 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.1803, allocations: 4.16 MB / 0.5031 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.1919, allocations: 5.417 MB / 0.5084 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002887/0.1922, allocations: 75.94 kB / 0.5084 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01314/0.2053, allocations: 7.223 MB / 0.5155 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.2058, allocations: 291.1 kB / 0.5158 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.2066, allocations: 458 kB / 0.5162 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.2166, allocations: 5.11 MB / 0.5212 GB, free: 9.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2166, allocations: 4 kB / 0.5212 GB, free: 9.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2166, allocations: 4 kB / 0.5212 GB, free: 9.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.2167, allocations: 0 / 0.5212 GB, free: 9.973 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004279/0.221, allocations: 1.664 MB / 0.5228 GB, free: 8.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.221, allocations: 11.89 kB / 0.5228 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.2232, allocations: 299.7 kB / 0.5231 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008762/0.2241, allocations: 0.5598 MB / 0.5237 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.2242, allocations: 113.3 kB / 0.5238 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.2243, allocations: 64.11 kB / 0.5238 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.2267, allocations: 1.158 MB / 0.525 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.2268, allocations: 4 kB / 0.525 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/0.2269, allocations: 28 kB / 0.525 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.2269, allocations: 53.16 kB / 0.5251 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.2286, allocations: 0.844 MB / 0.5259 GB, free: 4.984 MB / 414.1 MB 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.1762/0.4048, allocations: 5.503 MB / 0.5313 GB, free: 90.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.4063, allocations: 0.5832 MB / 0.5318 GB, free: 90.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.4066, allocations: 226.8 kB / 0.532 GB, free: 90.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08708/0.4937, allocations: 46.19 MB / 0.5771 GB, free: 52.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.4938, allocations: 38.5 kB / 0.5772 GB, free: 52.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.4938, allocations: 0 / 0.5772 GB, free: 52.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.004572/0.4984, allocations: 1.924 MB / 0.5791 GB, free: 51.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.4984, allocations: 158.2 kB / 0.5792 GB, free: 50.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.499, allocations: 0.6254 MB / 0.5798 GB, free: 50.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.4991, allocations: 39.36 kB / 0.5799 GB, free: 50.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.4992, allocations: 392.8 kB / 0.5802 GB, free: 49.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.4993, allocations: 169.5 kB / 0.5804 GB, free: 49.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.4995, allocations: 158.5 kB / 0.5805 GB, free: 49.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.4996, allocations: 374.8 kB / 0.5809 GB, free: 49.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.4999, allocations: 229.9 kB / 0.5811 GB, free: 49.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.5003, allocations: 0.5644 MB / 0.5817 GB, free: 48.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.5011, allocations: 0.8378 MB / 0.5825 GB, free: 47.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5011, allocations: 11.34 kB / 0.5825 GB, free: 47.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001093/0.5022, allocations: 0.8728 MB / 0.5834 GB, free: 46.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5022, allocations: 8 kB / 0.5834 GB, free: 46.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5022, allocations: 12 kB / 0.5834 GB, free: 46.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.5025, allocations: 64.81 kB / 0.5834 GB, free: 46.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.5036, allocations: 279.7 kB / 0.5837 GB, free: 46.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.5047, allocations: 2.071 MB / 0.5857 GB, free: 43.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.5052, allocations: 34.31 kB / 0.5858 GB, free: 43.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.5052, allocations: 43.98 kB / 0.5858 GB, free: 43.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.5055, allocations: 273.6 kB / 0.5861 GB, free: 43.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.5057, allocations: 75.17 kB / 0.5861 GB, free: 43.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.5075, allocations: 2.218 MB / 0.5883 GB, free: 41.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.5075, allocations: 31.95 kB / 0.5883 GB, free: 41.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5076, allocations: 0 / 0.5883 GB, free: 41.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5076, allocations: 3.984 kB / 0.5883 GB, free: 41.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.5102, allocations: 3.289 MB / 0.5915 GB, free: 37.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5102, allocations: 5.625 kB / 0.5916 GB, free: 37.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008539/0.5111, allocations: 183.8 kB / 0.5917 GB, free: 37.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000322/0.5114, allocations: 92.69 kB / 0.5918 GB, free: 37.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.5114, allocations: 12 kB / 0.5918 GB, free: 37.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000957/0.5124, allocations: 2.094 MB / 0.5939 GB, free: 35.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5124, allocations: 0 / 0.5939 GB, free: 35.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.5141, allocations: 1.986 MB / 0.5958 GB, free: 33.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.5143, allocations: 254.9 kB / 0.5961 GB, free: 33.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.5144, allocations: 27.75 kB / 0.5961 GB, free: 33.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.5149, allocations: 33.5 kB / 0.5961 GB, free: 33.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.515, allocations: 36.45 kB / 0.5961 GB, free: 32.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.515, allocations: 19.98 kB / 0.5962 GB, free: 32.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004922/0.5155, allocations: 0.5107 MB / 0.5967 GB, free: 32.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5155, allocations: 0 / 0.5967 GB, free: 32.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002621/0.5182, allocations: 1.084 MB / 0.5977 GB, free: 31.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003449/0.5216, allocations: 1.217 MB / 0.5989 GB, free: 30.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.5237, allocations: 1.01 MB / 0.5999 GB, free: 29.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5237, allocations: 0 / 0.5999 GB, free: 29.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009633/0.5247, allocations: 0.6673 MB / 0.6005 GB, free: 28.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.5265, allocations: 391.6 kB / 0.6009 GB, free: 28.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.529, allocations: 2.298 MB / 0.6032 GB, free: 26.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.5294, allocations: 1.113 MB / 0.6043 GB, free: 24.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.5296, allocations: 71.42 kB / 0.6043 GB, free: 24.84 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.5296, allocations: 0 / 0.6043 GB, free: 24.84 MB / 414.1 MB Notification: Performance of Templates: time 0.05994/0.5895, allocations: 37.85 MB / 0.6413 GB, free: 3.02 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches