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.001382/0.001382, allocations: 104.1 kB / 17.09 MB, free: 6.02 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.001251/0.001251, 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.466/1.466, 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.2275/0.2275, allocations: 43.52 MB / 314.8 MB, free: 468 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.001567/0.001567, allocations: 72.2 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, 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.03379/0.1696, allocations: 30.09 MB / 0.5179 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007634/0.1773, allocations: 4.589 MB / 0.5224 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000965/0.1783, allocations: 19.88 kB / 0.5225 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1795, allocations: 302.1 kB / 0.5227 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005145/0.1847, allocations: 1.767 MB / 0.5245 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.1887, allocations: 1.508 MB / 0.5259 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.1911, allocations: 1.841 MB / 0.5277 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.1917, allocations: 473.4 kB / 0.5282 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2852/0.4769, allocations: 3.17 MB / 0.5313 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.4796, allocations: 1.265 MB / 0.5325 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.4799, allocations: 61.06 kB / 0.5326 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.4833, allocations: 1.445 MB / 0.534 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.4838, allocations: 263.7 kB / 0.5342 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.4845, allocations: 401.6 kB / 0.5346 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.488, allocations: 1.494 MB / 0.5361 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.488, allocations: 0 / 0.5361 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.488, allocations: 1.156 kB / 0.5361 GB, free: 6.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.4881, allocations: 0 / 0.5361 GB, free: 6.68 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.002682/0.4907, allocations: 1.145 MB / 0.5372 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4908, allocations: 11.98 kB / 0.5372 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.4919, allocations: 146.9 kB / 0.5373 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.4928, allocations: 0.5417 MB / 0.5379 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.493, allocations: 105.7 kB / 0.538 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.4931, allocations: 54.22 kB / 0.538 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4948, allocations: 0.8375 MB / 0.5388 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.4948, allocations: 1.25 kB / 0.5389 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.619e-05/0.4949, allocations: 30.94 kB / 0.5389 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.184e-05/0.495, allocations: 43.41 kB / 0.5389 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.4965, allocations: 0.6047 MB / 0.5395 GB, free: 5.535 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.005711/0.5022, allocations: 4.876 MB / 0.5443 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.5029, allocations: 332.4 kB / 0.5446 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.5032, allocations: 138.7 kB / 0.5447 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005874/0.5038, allocations: 0.6101 MB / 0.5453 GB, free: 17.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.5038, allocations: 40.56 kB / 0.5454 GB, free: 17.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 3.557e-06/0.5038, allocations: 4.219 kB / 0.5454 GB, free: 17.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.005183/0.509, allocations: 1.527 MB / 0.5469 GB, free: 16.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002253/0.5093, allocations: 133.2 kB / 0.547 GB, free: 16.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.5104, allocations: 0.6583 MB / 0.5476 GB, free: 16.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.5105, allocations: 41.94 kB / 0.5477 GB, free: 16.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.5108, allocations: 388.4 kB / 0.548 GB, free: 16.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.5109, allocations: 133.1 kB / 0.5482 GB, free: 16.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.5112, allocations: 151.3 kB / 0.5483 GB, free: 16.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.5114, allocations: 378.1 kB / 0.5487 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.5118, allocations: 202.4 kB / 0.5489 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/0.5124, allocations: 0.4967 MB / 0.5493 GB, free: 15.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5135, allocations: 0.715 MB / 0.55 GB, free: 15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.5135, allocations: 3.625 kB / 0.55 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001892/0.5154, allocations: 0.9026 MB / 0.5509 GB, free: 14.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.5155, allocations: 9.406 kB / 0.5509 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.5155, allocations: 9.984 kB / 0.5509 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.5169, allocations: 290.6 kB / 0.5512 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.5173, allocations: 125.6 kB / 0.5513 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.5188, allocations: 1.4 MB / 0.5527 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.5194, allocations: 27.36 kB / 0.5527 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.5195, allocations: 46.92 kB / 0.5528 GB, free: 13.83 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.0003816/0.5199, allocations: 249 kB / 0.553 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.52, allocations: 69.94 kB / 0.5531 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.5216, allocations: 0.648 MB / 0.5537 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.5216, allocations: 3.438 kB / 0.5537 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5216, allocations: 3.938 kB / 0.5537 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.5219, allocations: 186.4 kB / 0.5539 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5221, allocations: 11.22 kB / 0.5539 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.5224, allocations: 12.92 kB / 0.5539 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.5225, allocations: 22.45 kB / 0.5539 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001442/0.5239, allocations: 0.6175 MB / 0.5545 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001097/0.525, allocations: 0.7638 MB / 0.5553 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002793/0.5253, allocations: 168 kB / 0.5555 GB, free: 13.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005611/0.5259, allocations: 454.8 kB / 0.5559 GB, free: 12.94 MB / 430.1 MB Notification: Performance of Backend: time 4.81e-07/0.5259, allocations: 0 / 0.5559 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.5285, allocations: 0.8454 MB / 0.5567 GB, free: 12.8 MB / 430.1 MB Notification: Performance of SimCode: time 0.003056/0.5315, allocations: 1.945 MB / 0.5586 GB, free: 11.76 MB / 430.1 MB Notification: Performance of Templates: time 0.03146/0.563, allocations: 17.74 MB / 0.5759 GB, free: 5.078 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