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.001021/0.001021, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001259/0.001258, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.1946/0.1946, allocations: 44.2 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3774, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0383/0.4158, allocations: 39.04 MB / 0.557 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.4384, allocations: 20.15 MB / 0.5767 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.4395, allocations: 23.81 kB / 0.5767 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.4409, allocations: 449.3 kB / 0.5772 GB, free: 268 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.4548, allocations: 5.105 MB / 0.5821 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007076/0.4619, allocations: 2.571 MB / 0.5847 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.4645, allocations: 1.958 MB / 0.5866 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006525/0.4651, allocations: 485.5 kB / 0.587 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009093/0.4742, allocations: 4.133 MB / 0.5911 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.4852, allocations: 5.42 MB / 0.5964 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.4856, allocations: 64 kB / 0.5964 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0139/0.4995, allocations: 7.251 MB / 0.6035 GB, free: 5.113 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.5, allocations: 283.2 kB / 0.6038 GB, free: 4.836 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.5006, allocations: 438.1 kB / 0.6042 GB, free: 4.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.5118, allocations: 4.98 MB / 0.6091 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5119, allocations: 0 / 0.6091 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5119, allocations: 0 / 0.6091 GB, free: 15.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.5119, allocations: 0 / 0.6091 GB, free: 15.41 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.004009/0.5159, allocations: 1.668 MB / 0.6107 GB, free: 13.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.516, allocations: 8.031 kB / 0.6107 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.5173, allocations: 228.2 kB / 0.6109 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.5182, allocations: 0.5681 MB / 0.6115 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.5183, allocations: 109.3 kB / 0.6116 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.5185, allocations: 68.11 kB / 0.6116 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.5203, allocations: 1.075 MB / 0.6127 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.5203, allocations: 4 kB / 0.6127 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.5204, allocations: 31.98 kB / 0.6127 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.5204, allocations: 44.92 kB / 0.6128 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.5219, allocations: 0.8155 MB / 0.6136 GB, free: 10.59 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.005378/0.5273, allocations: 5.57 MB / 0.619 GB, free: 4.652 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.5285, allocations: 0.5387 MB / 0.6195 GB, free: 4.086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.5288, allocations: 207.1 kB / 0.6197 GB, free: 3.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09606/0.6249, allocations: 47.67 MB / 0.6663 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.625, allocations: 38.5 kB / 0.6663 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 3.056e-06/0.625, allocations: 4 kB / 0.6663 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.007048/0.6321, allocations: 2.163 MB / 0.6684 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6322, allocations: 187.9 kB / 0.6686 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.6331, allocations: 0.6447 MB / 0.6692 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.6332, allocations: 33.7 kB / 0.6693 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.6335, allocations: 408.3 kB / 0.6697 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.6337, allocations: 178.5 kB / 0.6698 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.6339, allocations: 158.5 kB / 0.67 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6341, allocations: 378.8 kB / 0.6703 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.6345, allocations: 229.9 kB / 0.6706 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.6352, allocations: 0.59 MB / 0.6711 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6364, allocations: 0.8638 MB / 0.672 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6364, allocations: 0 / 0.672 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001513/0.6379, allocations: 0.8961 MB / 0.6729 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.638, allocations: 8 kB / 0.6729 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.638, allocations: 15.98 kB / 0.6729 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/0.641, allocations: 269.1 kB / 0.6731 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.6422, allocations: 287.6 kB / 0.6734 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.6441, allocations: 2.117 MB / 0.6755 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.6446, allocations: 28 kB / 0.6755 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.6447, allocations: 47.98 kB / 0.6755 GB, free: 4.426 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.0004336/0.6452, allocations: 273.5 kB / 0.6758 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.6454, allocations: 71.58 kB / 0.6759 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.6478, allocations: 2.015 MB / 0.6778 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.6478, allocations: 23.91 kB / 0.6779 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.6478, allocations: 0 / 0.6779 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6479, allocations: 3.984 kB / 0.6779 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.6514, allocations: 3.003 MB / 0.6808 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6515, allocations: 0 / 0.6808 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.6523, allocations: 187.8 kB / 0.681 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.654, allocations: 299.9 kB / 0.6813 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.654, allocations: 15.98 kB / 0.6813 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.6557, allocations: 2.18 MB / 0.6834 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6557, allocations: 0 / 0.6834 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.6579, allocations: 1.953 MB / 0.6853 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.6583, allocations: 236.1 kB / 0.6855 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.6584, allocations: 27.84 kB / 0.6856 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.6589, allocations: 20.11 kB / 0.6856 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.659, allocations: 32.34 kB / 0.6856 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.659, allocations: 19.98 kB / 0.6856 GB, free: 9.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007325/0.6598, allocations: 0.5693 MB / 0.6862 GB, free: 9.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6598, allocations: 0 / 0.6862 GB, free: 9.211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003257/0.663, allocations: 1.1 MB / 0.6873 GB, free: 8.109 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.005143/0.6682, allocations: 1.201 MB / 0.6884 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.6703, allocations: 0.9207 MB / 0.6893 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6703, allocations: 4.125 kB / 0.6893 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.6715, allocations: 0.6474 MB / 0.69 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.6736, allocations: 413.5 kB / 0.6904 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.6771, allocations: 2.135 MB / 0.6925 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.6779, allocations: 1.097 MB / 0.6935 GB, free: 1.652 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008148/0.6787, allocations: 346.2 kB / 0.6939 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.6788, allocations: 63.44 kB / 0.6939 GB, free: 1.246 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.6789, allocations: 0 / 0.6939 GB, free: 1.246 MB / 0.545 GB Notification: Performance of Templates: time 0.3143/0.9932, allocations: 45.48 MB / 0.7383 GB, free: 194.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/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