Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008919/0.000892, allocations: 93.7 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.746e-05, allocations: 7.984 kB / 460.4 MB, free: 69.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 63.25 MB / 0.5114 GB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.261/7.367, allocations: 3.548 GB / 4.06 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/7.367, allocations: 92.27 kB / 4.06 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.335/8.702, allocations: 408.6 MB / 4.459 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.22e-07/8.702, allocations: 0 / 4.459 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.995e-05/8.702, allocations: 22.81 kB / 4.459 GB, free: 70.14 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007297/8.709, allocations: 2.238 MB / 4.461 GB, free: 67.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/8.709, allocations: 8.031 kB / 4.461 GB, free: 67.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/8.71, allocations: 118.9 kB / 4.461 GB, free: 67.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/8.712, allocations: 0.6231 MB / 4.462 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/8.712, allocations: 123 kB / 4.462 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/8.712, allocations: 70.81 kB / 4.462 GB, free: 66.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/8.714, allocations: 1.127 MB / 4.463 GB, free: 65.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/8.714, allocations: 3.906 kB / 4.463 GB, free: 65.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/8.714, allocations: 32 kB / 4.463 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/8.714, allocations: 69.8 kB / 4.463 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/8.716, allocations: 1.109 MB / 4.464 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/8.722, allocations: 4.679 MB / 4.469 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/8.723, allocations: 0.8007 MB / 4.47 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/8.724, allocations: 415.4 kB / 4.47 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009493/8.725, allocations: 1.627 MB / 4.472 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/8.725, allocations: 43.06 kB / 4.472 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.056e-06/8.725, allocations: 0 / 4.472 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01025/8.735, allocations: 3.636 MB / 4.475 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/8.735, allocations: 111.6 kB / 4.475 GB, free: 52.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/8.736, allocations: 0.5751 MB / 4.476 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/8.736, allocations: 41.7 kB / 4.476 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/8.736, allocations: 387.4 kB / 4.476 GB, free: 51.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/8.736, allocations: 290.8 kB / 4.477 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/8.737, allocations: 20 kB / 4.477 GB, free: 51.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001165/8.737, allocations: 398.7 kB / 4.477 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/8.737, allocations: 445.8 kB / 4.477 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/8.738, allocations: 0.6988 MB / 4.478 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/8.739, allocations: 0.533 MB / 4.479 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/8.739, allocations: 4 kB / 4.479 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002106/8.741, allocations: 1.526 MB / 4.48 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/8.741, allocations: 10.28 kB / 4.48 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/8.741, allocations: 11.5 kB / 4.48 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006155/8.747, allocations: 1.34 MB / 4.482 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/8.748, allocations: 163.7 kB / 4.482 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/8.749, allocations: 1.405 MB / 4.483 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/8.75, allocations: 95.78 kB / 4.483 GB, free: 44.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/8.75, allocations: 55.97 kB / 4.483 GB, free: 44.44 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0002313/8.75, allocations: 160.7 kB / 4.483 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/8.751, allocations: 91.02 kB / 4.483 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/8.753, allocations: 1.551 MB / 4.485 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/8.753, allocations: 12 kB / 4.485 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/8.753, allocations: 0 / 4.485 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/8.753, allocations: 3.984 kB / 4.485 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/8.756, allocations: 2.498 MB / 4.487 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/8.756, allocations: 0 / 4.487 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/8.757, allocations: 267.9 kB / 4.488 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/8.759, allocations: 320.2 kB / 4.488 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/8.759, allocations: 27.98 kB / 4.488 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/8.76, allocations: 2.154 MB / 4.49 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/8.76, allocations: 4.031 kB / 4.49 GB, free: 37.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/8.763, allocations: 1.936 MB / 4.492 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/8.763, allocations: 292 kB / 4.492 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/8.763, allocations: 24 kB / 4.492 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/8.764, allocations: 75.88 kB / 4.492 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/8.764, allocations: 64.58 kB / 4.492 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/8.765, allocations: 43.97 kB / 4.492 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005664/8.765, allocations: 486.1 kB / 4.493 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/8.765, allocations: 0 / 4.493 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002823/8.768, allocations: 0.8078 MB / 4.494 GB, free: 33.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003408/8.771, allocations: 1.508 MB / 4.495 GB, free: 32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001878/8.773, allocations: 1.14 MB / 4.496 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/8.773, allocations: 12.27 kB / 4.496 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/8.775, allocations: 0.6446 MB / 4.497 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/8.777, allocations: 475.3 kB / 4.497 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/8.78, allocations: 1.668 MB / 4.499 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/8.781, allocations: 1.055 MB / 4.5 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001077/8.782, allocations: 347 kB / 4.5 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/8.782, allocations: 91.84 kB / 4.5 GB, free: 26.53 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/8.782, allocations: 0 / 4.5 GB, free: 26.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.3126/9.095, allocations: 43.59 MB / 4.543 GB, free: 89.33 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p Variables in the result:T_start,X_start[1],X_start[2],ambient.T,ambient.X[1],ambient.X[2],ambient.d,ambient.flowDirection,ambient.h,ambient.medium.X[1],ambient.medium.Xi[1],ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.medium.state.X[1],ambient.nPorts,ambient.p,ambient.ports[1].Xi_outflow[1],ambient.state.T,ambient.state.X[1],ambient.state.X[2],ambient.state.p,ambient.use_T,ambient.use_p,fixedMassFlowRate.T,fixedMassFlowRate.T_in_internal,fixedMassFlowRate.X[1],fixedMassFlowRate.X[2],fixedMassFlowRate.X_in_internal[1],fixedMassFlowRate.X_in_internal[2],fixedMassFlowRate.flowDirection,fixedMassFlowRate.m_flow,fixedMassFlowRate.m_flow_in_internal,fixedMassFlowRate.medium.T,fixedMassFlowRate.medium.X[1],fixedMassFlowRate.medium.Xi[1],fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,fixedMassFlowRate.medium.state.X[1],fixedMassFlowRate.nPorts,fixedMassFlowRate.ports[1].Xi_outflow[1],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].X[1],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.Xi_outflow[1],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.X_start[2],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.Xi[1],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