Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,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.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 114.9 kB / 17.09 MB, free: 6.004 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.001963/0.001963, allocations: 190.2 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.573/1.573, 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.2233/0.2233, allocations: 43.53 MB / 314.8 MB, free: 456 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.001534/0.001534, allocations: 72.45 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1244, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03841/0.1628, allocations: 30.09 MB / 0.518 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00757/0.1704, allocations: 4.589 MB / 0.5224 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.1713, allocations: 19.88 kB / 0.5225 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.1725, allocations: 298.1 kB / 0.5227 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.1777, allocations: 1.798 MB / 0.5245 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004892/0.1826, allocations: 1.508 MB / 0.526 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002848/0.1854, allocations: 1.844 MB / 0.5278 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1865, allocations: 477.3 kB / 0.5282 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2764/0.4628, allocations: 3.173 MB / 0.5313 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.4654, allocations: 1.265 MB / 0.5326 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.4657, allocations: 60.94 kB / 0.5326 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.4689, allocations: 1.445 MB / 0.534 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.4692, allocations: 270.6 kB / 0.5343 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.4698, allocations: 400.9 kB / 0.5347 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.472, allocations: 1.489 MB / 0.5361 GB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.472, allocations: 0.6094 kB / 0.5361 GB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4721, allocations: 0 / 0.5361 GB, free: 6.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4721, allocations: 1.375 kB / 0.5361 GB, free: 6.652 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002144/0.4742, allocations: 1.142 MB / 0.5372 GB, free: 6.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4743, allocations: 12.27 kB / 0.5372 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4753, allocations: 147.5 kB / 0.5374 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/0.4761, allocations: 0.5504 MB / 0.5379 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/0.4762, allocations: 102 kB / 0.538 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.4763, allocations: 51.28 kB / 0.5381 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.4777, allocations: 0.8425 MB / 0.5389 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.4778, allocations: 5.531 kB / 0.5389 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.4779, allocations: 21.3 kB / 0.5389 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.4779, allocations: 40.11 kB / 0.539 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.479, allocations: 0.6032 MB / 0.5395 GB, free: 5.508 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.004289/0.4833, allocations: 4.885 MB / 0.5443 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.484, allocations: 333.2 kB / 0.5446 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.4842, allocations: 137.7 kB / 0.5448 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.4846, allocations: 0.6073 MB / 0.5454 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.4846, allocations: 47.73 kB / 0.5454 GB, free: 1.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.404e-06/0.4846, allocations: 0 / 0.5454 GB, free: 1.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00402/0.4886, allocations: 1.529 MB / 0.5469 GB, free: 16.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.4887, allocations: 136.2 kB / 0.547 GB, free: 16.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.4896, allocations: 0.6625 MB / 0.5477 GB, free: 16.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.4896, allocations: 37.02 kB / 0.5477 GB, free: 16.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.4899, allocations: 387.3 kB / 0.5481 GB, free: 16.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.49, allocations: 133.9 kB / 0.5482 GB, free: 16.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.4902, allocations: 151.6 kB / 0.5484 GB, free: 16.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4903, allocations: 377.2 kB / 0.5487 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.4907, allocations: 204.4 kB / 0.5489 GB, free: 15.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/0.4911, allocations: 0.4968 MB / 0.5494 GB, free: 15.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.4921, allocations: 0.7166 MB / 0.5501 GB, free: 14.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4921, allocations: 2.281 kB / 0.5501 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001641/0.4938, allocations: 0.8982 MB / 0.551 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4938, allocations: 9.266 kB / 0.551 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4938, allocations: 9.969 kB / 0.551 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.4951, allocations: 298.3 kB / 0.5513 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.4955, allocations: 121.9 kB / 0.5514 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.4969, allocations: 1.399 MB / 0.5528 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.4975, allocations: 26.33 kB / 0.5528 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.4976, allocations: 45.39 kB / 0.5528 GB, free: 13.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.498, allocations: 249.4 kB / 0.5531 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4981, allocations: 74.86 kB / 0.5531 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.4997, allocations: 0.6464 MB / 0.5538 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4997, allocations: 1.734 kB / 0.5538 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4997, allocations: 1.125 kB / 0.5538 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.5001, allocations: 187.6 kB / 0.5539 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5002, allocations: 8.125 kB / 0.554 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.5005, allocations: 16.84 kB / 0.554 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.5006, allocations: 26.34 kB / 0.554 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001508/0.5021, allocations: 0.619 MB / 0.5546 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001065/0.5032, allocations: 0.7599 MB / 0.5553 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002792/0.5035, allocations: 169 kB / 0.5555 GB, free: 13.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005702/0.5041, allocations: 455.4 kB / 0.5559 GB, free: 12.92 MB / 430.1 MB Notification: Performance of Backend: time 5.21e-07/0.5041, allocations: 0 / 0.5559 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.5067, allocations: 0.843 MB / 0.5568 GB, free: 12.77 MB / 430.1 MB Notification: Performance of SimCode: time 0.00283/0.5096, allocations: 1.944 MB / 0.5587 GB, free: 11.73 MB / 430.1 MB Notification: Performance of Templates: time 0.02832/0.5379, allocations: 17.47 MB / 0.5757 GB, free: 5.285 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches