Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.00144, allocations: 111.7 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.001859/0.001859, allocations: 207.9 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.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05042/0.3519, allocations: 44.11 MB / 0.5747 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008335/0.3603, allocations: 4.375 MB / 0.579 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000844/0.3612, allocations: 19.88 kB / 0.579 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.3625, allocations: 314 kB / 0.5793 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.3656, allocations: 0.8589 MB / 0.5802 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.3692, allocations: 0.8951 MB / 0.5811 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.3722, allocations: 1.797 MB / 0.5828 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.3733, allocations: 457.3 kB / 0.5832 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1067/0.48, allocations: 44.58 MB / 0.6268 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01641/0.4964, allocations: 7.967 MB / 0.6346 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.4967, allocations: 60 kB / 0.6346 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02352/0.5203, allocations: 10.68 MB / 0.645 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.5208, allocations: 259.3 kB / 0.6453 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006611/0.5215, allocations: 398.2 kB / 0.6457 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.5234, allocations: 1.083 MB / 0.6467 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5234, allocations: 3.938 kB / 0.6467 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5234, allocations: 4 kB / 0.6467 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.5235, allocations: 0 / 0.6467 GB, free: 11.04 MB / 0.4981 GB 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.00241/0.5259, allocations: 1.044 MB / 0.6478 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5259, allocations: 8.031 kB / 0.6478 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.5263, allocations: 91.98 kB / 0.6478 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.5273, allocations: 0.5288 MB / 0.6484 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.5274, allocations: 104.9 kB / 0.6485 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5275, allocations: 56.11 kB / 0.6485 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.5288, allocations: 0.8175 MB / 0.6493 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.5288, allocations: 4 kB / 0.6493 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.5289, allocations: 20 kB / 0.6493 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.529, allocations: 40.92 kB / 0.6494 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.5301, allocations: 0.6478 MB / 0.65 GB, free: 7.508 MB / 0.4981 GB 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.004901/0.535, allocations: 4.217 MB / 0.6541 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.5359, allocations: 424.5 kB / 0.6545 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.5362, allocations: 205.4 kB / 0.6547 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/0.5367, allocations: 0.5029 MB / 0.6552 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.5368, allocations: 38.89 kB / 0.6553 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.5368, allocations: 0 / 0.6553 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003311/0.5401, allocations: 1.524 MB / 0.6567 GB, free: 144 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.5402, allocations: 136.5 kB / 0.6569 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.5409, allocations: 0.5654 MB / 0.6574 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.541, allocations: 37.7 kB / 0.6575 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.5413, allocations: 351 kB / 0.6578 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.5414, allocations: 173.6 kB / 0.658 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.5416, allocations: 134.6 kB / 0.6581 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5418, allocations: 378.7 kB / 0.6585 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.5422, allocations: 225.9 kB / 0.6587 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.5427, allocations: 0.5165 MB / 0.6592 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.5438, allocations: 0.7794 MB / 0.6599 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.5438, allocations: 8 kB / 0.6599 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001853/0.5457, allocations: 0.9412 MB / 0.6609 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5457, allocations: 10.19 kB / 0.6609 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5457, allocations: 11.94 kB / 0.6609 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5468, allocations: 264.9 kB / 0.6611 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.5473, allocations: 123.8 kB / 0.6613 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009398/0.5482, allocations: 0.8683 MB / 0.6621 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.5487, allocations: 27.98 kB / 0.6621 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.5488, allocations: 36 kB / 0.6622 GB, free: 10.22 MB / 0.5137 GB 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 (73): * Single equations (assignments): 72 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003239/0.5491, allocations: 245.5 kB / 0.6624 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5492, allocations: 67.23 kB / 0.6625 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.5506, allocations: 0.7045 MB / 0.6631 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.5506, allocations: 7.984 kB / 0.6632 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5506, allocations: 0 / 0.6632 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.5509, allocations: 200.1 kB / 0.6633 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.551, allocations: 8 kB / 0.6634 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.5513, allocations: 16 kB / 0.6634 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.5514, allocations: 32.39 kB / 0.6634 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001758/0.5532, allocations: 0.7276 MB / 0.6641 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001299/0.5545, allocations: 0.9741 MB / 0.6651 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003717/0.5549, allocations: 235.4 kB / 0.6653 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006988/0.5556, allocations: 394.8 kB / 0.6657 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of Backend: time 5.61e-07/0.5556, allocations: 0 / 0.6657 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.5573, allocations: 0.6371 MB / 0.6663 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002996/0.5603, allocations: 1.878 MB / 0.6681 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.02537/0.5857, allocations: 14.49 MB / 0.6823 GB, free: 5.668 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:T_start,X_start[1],ambient.T,ambient.X[1],ambient.d,ambient.flowDirection,ambient.h,ambient.medium.T,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.nPorts,ambient.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.T,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,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_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.T,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