Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3367, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04116/0.3779, allocations: 39.18 MB / 0.5699 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02437/0.4023, allocations: 20.18 MB / 0.5896 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008744/0.4032, allocations: 23.88 kB / 0.5897 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.4045, allocations: 445.3 kB / 0.5901 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.419, allocations: 5.118 MB / 0.5951 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006983/0.426, allocations: 2.57 MB / 0.5976 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.4285, allocations: 2 MB / 0.5996 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000718/0.4292, allocations: 0.4936 MB / 0.6 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008377/0.4376, allocations: 4.172 MB / 0.6041 GB, free: 7.332 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009726/0.4474, allocations: 5.436 MB / 0.6094 GB, free: 1.812 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.4476, allocations: 72 kB / 0.6095 GB, free: 1.742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.4617, allocations: 7.395 MB / 0.6167 GB, free: 10.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.4621, allocations: 287.2 kB / 0.617 GB, free: 10.06 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006097/0.4628, allocations: 454 kB / 0.6174 GB, free: 9.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.4737, allocations: 5.126 MB / 0.6224 GB, free: 4.477 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4737, allocations: 0 / 0.6224 GB, free: 4.477 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4738, allocations: 4 kB / 0.6224 GB, free: 4.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.4738, allocations: 0 / 0.6224 GB, free: 4.473 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.004271/0.4781, allocations: 1.664 MB / 0.6241 GB, free: 2.758 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4781, allocations: 12.03 kB / 0.6241 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.4803, allocations: 295.7 kB / 0.6243 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/0.4812, allocations: 0.5755 MB / 0.6249 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.4813, allocations: 125.2 kB / 0.625 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.4815, allocations: 64.11 kB / 0.6251 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.4839, allocations: 1.158 MB / 0.6262 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.4839, allocations: 0 / 0.6262 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.484, allocations: 31.98 kB / 0.6262 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.4841, allocations: 49.23 kB / 0.6263 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.4857, allocations: 0.8479 MB / 0.6271 GB, free: 15.46 MB / 494.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.005738/0.4915, allocations: 5.482 MB / 0.6325 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.4927, allocations: 0.5939 MB / 0.6331 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.4931, allocations: 229.5 kB / 0.6333 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09766/0.5907, allocations: 51.53 MB / 0.6836 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.5908, allocations: 46.55 kB / 0.6836 GB, free: 14.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 3.196e-06/0.5909, allocations: 3.938 kB / 0.6836 GB, free: 14.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=46): time 0.005734/0.5966, allocations: 1.917 MB / 0.6855 GB, free: 12.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.5967, allocations: 162.2 kB / 0.6857 GB, free: 12.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.5976, allocations: 0.621 MB / 0.6863 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.5977, allocations: 37.73 kB / 0.6863 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.598, allocations: 399.1 kB / 0.6867 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.5982, allocations: 169.7 kB / 0.6869 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.5984, allocations: 150.5 kB / 0.687 GB, free: 11.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.5986, allocations: 374.8 kB / 0.6874 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.599, allocations: 229.9 kB / 0.6876 GB, free: 10.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.5998, allocations: 0.5795 MB / 0.6881 GB, free: 9.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6009, allocations: 0.8368 MB / 0.689 GB, free: 8.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.6009, allocations: 0 / 0.689 GB, free: 8.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001461/0.6024, allocations: 0.8744 MB / 0.6898 GB, free: 8.031 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.6024, allocations: 12.97 kB / 0.6898 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.6024, allocations: 8 kB / 0.6898 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.6027, allocations: 60.83 kB / 0.6899 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.6039, allocations: 283.5 kB / 0.6902 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.6055, allocations: 2.072 MB / 0.6922 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.606, allocations: 39.91 kB / 0.6922 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.6061, allocations: 36 kB / 0.6923 GB, free: 5.367 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003732/0.6065, allocations: 273.4 kB / 0.6925 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.6067, allocations: 71.16 kB / 0.6926 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.6092, allocations: 2.216 MB / 0.6948 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.6093, allocations: 4 kB / 0.6948 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6093, allocations: 0 / 0.6948 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.6096, allocations: 243.4 kB / 0.695 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.6097, allocations: 27.75 kB / 0.695 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.6102, allocations: 31.97 kB / 0.695 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.6103, allocations: 32.39 kB / 0.6951 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002258/0.6126, allocations: 1.4 MB / 0.6964 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002218/0.6148, allocations: 1.93 MB / 0.6983 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006449/0.6155, allocations: 0.5399 MB / 0.6989 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006699/0.6162, allocations: 0.5107 MB / 0.6994 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Backend: time 2.1e-07/0.6162, allocations: 0 / 0.6994 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007902/0.6241, allocations: 2.071 MB / 0.7014 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003476/0.6276, allocations: 2.39 MB / 0.7037 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of Templates: time 0.2894/0.917, allocations: 51.61 MB / 0.7541 GB, free: 177 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.h,volume.medium.p Variables in the result:$cse1.R_s,$cse1.T,$cse1.cp,$cse1.cv,$cse1.dpT,$cse1.h,$cse1.p,$cse1.pd,$cse1.phase,$cse1.pt,$cse1.region,$cse1.rho,$cse1.s,$cse1.vp,$cse1.vt,$cse1.x,$cse8.R_s,$cse8.T,$cse8.cp,$cse8.cv,$cse8.dpT,$cse8.h,$cse8.p,$cse8.pd,$cse8.phase,$cse8.pt,$cse8.region,$cse8.rho,$cse8.s,$cse8.vp,$cse8.vt,$cse8.x,T_start,X_start[1],ambient.T,ambient.X[1],ambient.d,ambient.flowDirection,ambient.h,ambient.medium.p,ambient.medium.preferredMediumStates,ambient.medium.sat.psat,ambient.medium.standardOrderComponents,ambient.medium.state.p,ambient.nPorts,ambient.p,ambient.ports[1].p,ambient.state.T,ambient.state.p,ambient.use_T,ambient.use_p,fixedMassFlowRate.T,fixedMassFlowRate.T_in_internal,fixedMassFlowRate.X[1],fixedMassFlowRate.X_in_internal[1],fixedMassFlowRate.flowDirection,fixedMassFlowRate.m_flow,fixedMassFlowRate.m_flow_in_internal,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.nPorts,fixedMassFlowRate.ports[1].m_flow,h_start,p_start,shortPipe.V,shortPipe.allowFlowReversal,shortPipe.crossArea,shortPipe.diameter,shortPipe.flowModel.Re_turbulent,shortPipe.flowModel.allowFlowReversal,shortPipe.flowModel.crossAreas[1],shortPipe.flowModel.crossAreas[2],shortPipe.flowModel.dheights[1],shortPipe.flowModel.dp_nominal,shortPipe.flowModel.g,shortPipe.flowModel.m,shortPipe.flowModel.m_flow_nominal,shortPipe.flowModel.m_flow_start,shortPipe.flowModel.momentumDynamics,shortPipe.flowModel.mu_nominal,shortPipe.flowModel.mus[1],shortPipe.flowModel.mus[2],shortPipe.flowModel.mus_act[1],shortPipe.flowModel.n,shortPipe.flowModel.nParallel,shortPipe.flowModel.p_a_start,shortPipe.flowModel.p_b_start,shortPipe.flowModel.pathLengths[1],shortPipe.flowModel.rho_nominal,shortPipe.flowModel.roughnesses[1],shortPipe.flowModel.roughnesses[2],shortPipe.flowModel.show_Res,shortPipe.flowModel.states[2].p,shortPipe.flowModel.useUpstreamScheme,shortPipe.flowModel.use_Ib_flows,shortPipe.flowModel.use_mu_nominal,shortPipe.flowModel.use_rho_nominal,shortPipe.height_ab,shortPipe.isCircular,shortPipe.length,shortPipe.m_flow_start,shortPipe.nParallel,shortPipe.p_a_start,shortPipe.p_b_start,shortPipe.perimeter,shortPipe.port_a_exposesState,shortPipe.port_b.p,shortPipe.port_b_exposesState,shortPipe.roughness,shortPipe.showDesignFlowDirection,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time,volume.T_start,volume.V,volume.X_start[1],volume.energyDynamics,volume.fluidLevel_max,volume.fluidVolume,volume.h_start,volume.heatTransfer.T_ambient,volume.heatTransfer.k,volume.heatTransfer.n,volume.heatTransfer.use_k,volume.initialize_p,volume.m_flow_nominal,volume.m_flow_small,volume.massDynamics,volume.medium.h,volume.medium.p,volume.medium.preferredMediumStates,volume.medium.standardOrderComponents,volume.nPorts,volume.p_start,volume.ports[1].m_flow,volume.substanceDynamics,volume.traceDynamics,volume.use_HeatTransfer,volume.use_Re,volume.use_T_start,volume.use_portsData,volume.vesselArea