Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 110.5 kB / 18.45 MB, free: 4.598 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.001394/0.001394, allocations: 187.2 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.2 MB / 337.4 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.91 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3505, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04203/0.3926, allocations: 39.03 MB / 0.5577 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02324/0.4159, allocations: 20.14 MB / 0.5774 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.4169, allocations: 23.81 kB / 0.5774 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.4184, allocations: 445.3 kB / 0.5778 GB, free: 256 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0131/0.4316, allocations: 5.132 MB / 0.5828 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006409/0.438, allocations: 2.567 MB / 0.5853 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.4403, allocations: 1.965 MB / 0.5873 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.4409, allocations: 497.4 kB / 0.5877 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009081/0.45, allocations: 4.149 MB / 0.5918 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/0.4615, allocations: 5.424 MB / 0.5971 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.4619, allocations: 64 kB / 0.5971 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/0.4761, allocations: 7.247 MB / 0.6042 GB, free: 5.043 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007096/0.4769, allocations: 279.2 kB / 0.6045 GB, free: 4.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.4781, allocations: 450 kB / 0.6049 GB, free: 4.328 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.4912, allocations: 4.972 MB / 0.6098 GB, free: 15.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4913, allocations: 0 / 0.6098 GB, free: 15.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4913, allocations: 0 / 0.6098 GB, free: 15.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.4913, allocations: 0 / 0.6098 GB, free: 15.34 MB / 478.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.004896/0.4962, allocations: 1.672 MB / 0.6114 GB, free: 13.62 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4963, allocations: 8.031 kB / 0.6114 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.498, allocations: 228.2 kB / 0.6116 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.4991, allocations: 0.5682 MB / 0.6122 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.4992, allocations: 113.2 kB / 0.6123 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.4994, allocations: 60.12 kB / 0.6124 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5015, allocations: 1.079 MB / 0.6134 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.5015, allocations: 0 / 0.6134 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.5016, allocations: 28 kB / 0.6134 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.5017, allocations: 52.91 kB / 0.6135 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.5034, allocations: 0.8155 MB / 0.6143 GB, free: 10.51 MB / 478.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.006059/0.5095, allocations: 5.562 MB / 0.6197 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5107, allocations: 0.5271 MB / 0.6202 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.5111, allocations: 219 kB / 0.6204 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0921/0.6032, allocations: 47.66 MB / 0.667 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.506e-05/0.6033, allocations: 50.48 kB / 0.667 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 4.118e-06/0.6033, allocations: 0 / 0.667 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.0073/0.6106, allocations: 2.167 MB / 0.6691 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.6107, allocations: 191.8 kB / 0.6693 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009417/0.6117, allocations: 0.6407 MB / 0.67 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.6118, allocations: 33.7 kB / 0.67 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.6121, allocations: 404.3 kB / 0.6704 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.6123, allocations: 170.6 kB / 0.6705 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.6126, allocations: 170.5 kB / 0.6707 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6127, allocations: 374.8 kB / 0.6711 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.6132, allocations: 237.8 kB / 0.6713 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.6138, allocations: 0.5861 MB / 0.6719 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.615, allocations: 0.8638 MB / 0.6727 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.615, allocations: 4 kB / 0.6727 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001556/0.6166, allocations: 0.9004 MB / 0.6736 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.6166, allocations: 8 kB / 0.6736 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.6167, allocations: 12 kB / 0.6736 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00321/0.6199, allocations: 264.5 kB / 0.6739 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.6211, allocations: 291.7 kB / 0.6741 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.6231, allocations: 2.117 MB / 0.6762 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.6237, allocations: 28 kB / 0.6762 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.6238, allocations: 40 kB / 0.6763 GB, free: 4.359 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005006/0.6243, allocations: 277.5 kB / 0.6765 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.6245, allocations: 75.56 kB / 0.6766 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.627, allocations: 2.003 MB / 0.6786 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.627, allocations: 11.98 kB / 0.6786 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.627, allocations: 4 kB / 0.6786 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.6273, allocations: 228.1 kB / 0.6788 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6275, allocations: 31.78 kB / 0.6788 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.6279, allocations: 19.98 kB / 0.6788 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.628, allocations: 32.39 kB / 0.6789 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002113/0.6301, allocations: 1.39 MB / 0.6802 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002081/0.6322, allocations: 1.896 MB / 0.6821 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000597/0.6328, allocations: 0.4963 MB / 0.6826 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007546/0.6336, allocations: 0.5732 MB / 0.6831 GB, free: 13.25 MB / 0.545 GB Notification: Performance of Backend: time 6.91e-07/0.6336, allocations: 0 / 0.6831 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008516/0.6421, allocations: 2.002 MB / 0.6851 GB, free: 11.25 MB / 0.545 GB Notification: Performance of SimCode: time 0.004013/0.6462, allocations: 2.422 MB / 0.6874 GB, free: 8.793 MB / 0.545 GB Notification: Performance of Templates: time 0.3553/1.002, allocations: 49.72 MB / 0.736 GB, free: 195.8 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches