Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 110.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.1 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 76.16 kB / 482 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3187, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02273/0.3414, allocations: 20.36 MB / 0.5516 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006042/0.3475, allocations: 4.29 MB / 0.5557 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007343/0.3483, allocations: 19.88 kB / 0.5558 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009615/0.3493, allocations: 310 kB / 0.5561 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.3514, allocations: 0.8511 MB / 0.5569 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.3536, allocations: 0.9042 MB / 0.5578 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.3557, allocations: 1.797 MB / 0.5595 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007854/0.3565, allocations: 469.2 kB / 0.56 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.3584, allocations: 0.9417 MB / 0.5609 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3596, allocations: 0.6383 MB / 0.5615 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.3598, allocations: 60 kB / 0.5616 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.361, allocations: 311.6 kB / 0.5619 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003408/0.3613, allocations: 255.3 kB / 0.5621 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.3618, allocations: 390.2 kB / 0.5625 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.3633, allocations: 1.088 MB / 0.5636 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3633, allocations: 0 / 0.5636 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3633, allocations: 0 / 0.5636 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.3633, allocations: 0 / 0.5636 GB, free: 0.9492 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.002343/0.3657, allocations: 1.052 MB / 0.5646 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3657, allocations: 8.031 kB / 0.5646 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/0.3661, allocations: 88.08 kB / 0.5647 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008236/0.3669, allocations: 0.5326 MB / 0.5652 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.3671, allocations: 101 kB / 0.5653 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/0.3672, allocations: 48.38 kB / 0.5653 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3684, allocations: 0.8244 MB / 0.5661 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3684, allocations: 3.938 kB / 0.5661 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.3685, allocations: 27.94 kB / 0.5662 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/0.3686, allocations: 40.97 kB / 0.5662 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3696, allocations: 0.6478 MB / 0.5668 GB, free: 13.41 MB / 430.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.004989/0.3746, allocations: 4.209 MB / 0.571 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/0.3755, allocations: 412 kB / 0.5713 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.3759, allocations: 205.4 kB / 0.5715 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005175/0.3764, allocations: 0.5029 MB / 0.572 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3765, allocations: 34.89 kB / 0.5721 GB, free: 7.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.344e-06/0.3765, allocations: 0 / 0.5721 GB, free: 7.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003409/0.3799, allocations: 1.532 MB / 0.5736 GB, free: 6.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.38, allocations: 132.5 kB / 0.5737 GB, free: 5.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/0.3807, allocations: 0.5693 MB / 0.5742 GB, free: 5.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.3808, allocations: 33.7 kB / 0.5743 GB, free: 5.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.3811, allocations: 351 kB / 0.5746 GB, free: 4.922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.3812, allocations: 169.7 kB / 0.5748 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.3814, allocations: 138.5 kB / 0.5749 GB, free: 4.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.3817, allocations: 378.6 kB / 0.5753 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.3822, allocations: 233.9 kB / 0.5755 GB, free: 4.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008226/0.3831, allocations: 0.5201 MB / 0.576 GB, free: 3.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.3844, allocations: 0.7796 MB / 0.5768 GB, free: 2.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.3844, allocations: 4 kB / 0.5768 GB, free: 2.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002138/0.3865, allocations: 0.9337 MB / 0.5777 GB, free: 1.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.3866, allocations: 10.5 kB / 0.5777 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3866, allocations: 8 kB / 0.5777 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.3879, allocations: 271.2 kB / 0.5779 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.3884, allocations: 127.8 kB / 0.5781 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.3895, allocations: 0.8605 MB / 0.5789 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.3901, allocations: 27.98 kB / 0.5789 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.3902, allocations: 40.06 kB / 0.579 GB, free: 144 kB / 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 (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.000408/0.3906, allocations: 245.5 kB / 0.5792 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3907, allocations: 67.28 kB / 0.5793 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.3921, allocations: 0.7144 MB / 0.58 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3921, allocations: 3.984 kB / 0.58 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3921, allocations: 0 / 0.58 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.3924, allocations: 200.2 kB / 0.5802 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3925, allocations: 4 kB / 0.5802 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.3929, allocations: 16 kB / 0.5802 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.393, allocations: 36.38 kB / 0.5802 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001798/0.3948, allocations: 0.7159 MB / 0.5809 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001403/0.3962, allocations: 0.974 MB / 0.5819 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003395/0.3965, allocations: 243.3 kB / 0.5821 GB, free: 12.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004386/0.397, allocations: 394.8 kB / 0.5825 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Backend: time 3.41e-07/0.397, allocations: 0 / 0.5825 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.3987, allocations: 0.6421 MB / 0.5831 GB, free: 11.84 MB / 446.1 MB Notification: Performance of SimCode: time 0.002757/0.4014, allocations: 1.886 MB / 0.5849 GB, free: 9.926 MB / 446.1 MB Notification: Performance of Templates: time 0.02321/0.4247, allocations: 14.49 MB / 0.5991 GB, free: 11.59 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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