Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 108.9 kB / 17.09 MB, free: 6.016 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.001074/0.001074, allocations: 199.3 kB / 18.02 MB, free: 5.094 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.505/1.505, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2198/0.2198, allocations: 43.53 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.001676/0.001676, allocations: 71.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1124, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01802/0.1304, allocations: 16.43 MB / 0.5046 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007327/0.1378, allocations: 5.469 MB / 0.5099 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000837/0.1387, allocations: 19.88 kB / 0.51 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009957/0.1397, allocations: 314 kB / 0.5103 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.1418, allocations: 0.816 MB / 0.5111 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.1444, allocations: 1.013 MB / 0.5121 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.1469, allocations: 1.778 MB / 0.5138 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1481, allocations: 469.3 kB / 0.5142 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.1505, allocations: 0.7474 MB / 0.515 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.152, allocations: 0.6111 MB / 0.5156 GB, free: 44 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.1523, allocations: 64.03 kB / 0.5156 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1536, allocations: 347.5 kB / 0.516 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.1541, allocations: 267.2 kB / 0.5162 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.1549, allocations: 394.2 kB / 0.5166 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.1569, allocations: 1.102 MB / 0.5177 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.1569, allocations: 4 kB / 0.5177 GB, free: 13.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1569, allocations: 0 / 0.5177 GB, free: 13.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.737e-05/0.157, allocations: 8 kB / 0.5177 GB, free: 13.88 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002636/0.1596, allocations: 1.036 MB / 0.5187 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1597, allocations: 23.88 kB / 0.5187 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/0.1601, allocations: 88.09 kB / 0.5188 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/0.161, allocations: 0.5287 MB / 0.5193 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.1612, allocations: 108.9 kB / 0.5194 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/0.1613, allocations: 48.31 kB / 0.5195 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.1627, allocations: 0.8423 MB / 0.5203 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1627, allocations: 0 / 0.5203 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.1628, allocations: 27.92 kB / 0.5203 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/0.1629, allocations: 36.98 kB / 0.5203 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1639, allocations: 0.6477 MB / 0.521 GB, free: 10.31 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.004813/0.1688, allocations: 4.332 MB / 0.5252 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.1694, allocations: 343.9 kB / 0.5255 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.1697, allocations: 177.3 kB / 0.5257 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001911/0.1716, allocations: 1.709 MB / 0.5274 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.1717, allocations: 34.56 kB / 0.5274 GB, free: 3.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.1717, allocations: 0 / 0.5274 GB, free: 3.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.003609/0.1753, allocations: 1.393 MB / 0.5288 GB, free: 1.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.1754, allocations: 132.5 kB / 0.5289 GB, free: 1.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.1761, allocations: 0.6328 MB / 0.5295 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.1761, allocations: 29.7 kB / 0.5295 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.1764, allocations: 394.4 kB / 0.5299 GB, free: 488 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1765, allocations: 146 kB / 0.5301 GB, free: 340 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.1767, allocations: 142.5 kB / 0.5302 GB, free: 192 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.2293/0.4061, allocations: 374.8 kB / 0.5305 GB, free: 41.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.4065, allocations: 185.7 kB / 0.5307 GB, free: 41.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.407, allocations: 0.5543 MB / 0.5313 GB, free: 41.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007616/0.4078, allocations: 0.7871 MB / 0.532 GB, free: 41.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.4078, allocations: 4 kB / 0.532 GB, free: 41.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001348/0.4092, allocations: 0.8208 MB / 0.5328 GB, free: 40.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.4092, allocations: 10.69 kB / 0.5329 GB, free: 40.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.4092, allocations: 11.22 kB / 0.5329 GB, free: 40.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.4096, allocations: 104.6 kB / 0.533 GB, free: 40.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.4103, allocations: 180 kB / 0.5331 GB, free: 40.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004751/0.4108, allocations: 0.6669 MB / 0.5338 GB, free: 40.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.4113, allocations: 27.81 kB / 0.5338 GB, free: 40.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.4114, allocations: 42.55 kB / 0.5339 GB, free: 40.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003239/0.4117, allocations: 263.5 kB / 0.5341 GB, free: 40.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4119, allocations: 72.25 kB / 0.5342 GB, free: 40.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008147/0.4127, allocations: 0.4966 MB / 0.5347 GB, free: 40.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4127, allocations: 1.922 kB / 0.5347 GB, free: 40.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.4127, allocations: 0.6094 kB / 0.5347 GB, free: 40.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.4129, allocations: 182.8 kB / 0.5348 GB, free: 40.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.413, allocations: 17.66 kB / 0.5349 GB, free: 40.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.4133, allocations: 15.62 kB / 0.5349 GB, free: 40.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.4134, allocations: 21.81 kB / 0.5349 GB, free: 40.05 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009026/0.4143, allocations: 491 kB / 0.5354 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008875/0.4152, allocations: 0.7117 MB / 0.536 GB, free: 39.69 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002505/0.4154, allocations: 148.9 kB / 0.5362 GB, free: 39.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005432/0.416, allocations: 446.6 kB / 0.5366 GB, free: 39.59 MB / 414.1 MB Notification: Performance of Backend: time 4.91e-07/0.416, allocations: 0 / 0.5366 GB, free: 39.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.4177, allocations: 0.6331 MB / 0.5372 GB, free: 39.48 MB / 414.1 MB Notification: Performance of SimCode: time 0.002593/0.4203, allocations: 1.848 MB / 0.539 GB, free: 38.48 MB / 414.1 MB Notification: Performance of Templates: time 0.02871/0.4491, allocations: 13.67 MB / 0.5524 GB, free: 34.35 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches