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.001858/0.001858, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001031, allocations: 91.11 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 45.14 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.887e-05/1.888e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.607/8.732, allocations: 3.548 GB / 4.052 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/8.732, allocations: 94.38 kB / 4.052 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.573/10.3, allocations: 404.6 MB / 4.447 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/10.3, allocations: 6.594 kB / 4.447 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.385e-05/10.3, allocations: 18.72 kB / 4.447 GB, free: 68.73 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.008031/10.31, allocations: 2.245 MB / 4.45 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/10.31, allocations: 11.42 kB / 4.45 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008463/10.31, allocations: 108.5 kB / 4.45 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/10.32, allocations: 0.6325 MB / 4.45 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/10.32, allocations: 96.81 kB / 4.45 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/10.32, allocations: 43.44 kB / 4.45 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001804/10.32, allocations: 1.029 MB / 4.451 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/10.32, allocations: 1.028 MB / 4.452 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/10.32, allocations: 0 / 4.452 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/10.32, allocations: 2.938 kB / 4.452 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-05/10.32, allocations: 59.27 kB / 4.453 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005998/10.33, allocations: 5.007 MB / 4.457 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/10.33, allocations: 0.7064 MB / 4.458 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/10.33, allocations: 357.3 kB / 4.458 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009112/10.33, allocations: 1.127 MB / 4.46 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/10.33, allocations: 43.06 kB / 4.46 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 2.124e-06/10.33, allocations: 2.25 kB / 4.46 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01238/10.34, allocations: 3.662 MB / 4.463 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/10.34, allocations: 121.1 kB / 4.463 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/10.34, allocations: 478.7 kB / 4.464 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/10.34, allocations: 29.2 kB / 4.464 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/10.34, allocations: 417.2 kB / 4.464 GB, free: 62.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/10.34, allocations: 260.2 kB / 4.464 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/10.34, allocations: 0 / 4.464 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001029/10.34, allocations: 382.9 kB / 4.465 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/10.34, allocations: 427.4 kB / 4.465 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/10.34, allocations: 0.6835 MB / 4.466 GB, free: 61.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/10.35, allocations: 0.6843 MB / 4.467 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/10.35, allocations: 3.438 kB / 4.467 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002994/10.35, allocations: 1.589 MB / 4.468 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/10.35, allocations: 7.844 kB / 4.468 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/10.35, allocations: 6.688 kB / 4.468 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004727/10.35, allocations: 1.055 MB / 4.469 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/10.35, allocations: 155 kB / 4.469 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/10.36, allocations: 1.502 MB / 4.471 GB, free: 60.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/10.36, allocations: 81.89 kB / 4.471 GB, free: 60.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/10.36, allocations: 54.03 kB / 4.471 GB, free: 60.71 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.0002746/10.36, allocations: 136.1 kB / 4.471 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/10.36, allocations: 75.34 kB / 4.471 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/10.36, allocations: 1.476 MB / 4.473 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/10.36, allocations: 7.594 kB / 4.473 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/10.36, allocations: 2.656 kB / 4.473 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/10.36, allocations: 6.938 kB / 4.473 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/10.36, allocations: 2.705 MB / 4.475 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/10.36, allocations: 3.594 kB / 4.475 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/10.37, allocations: 256.1 kB / 4.475 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/10.37, allocations: 316.2 kB / 4.476 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-05/10.37, allocations: 23.77 kB / 4.476 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/10.37, allocations: 2.131 MB / 4.478 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/10.37, allocations: 6.641 kB / 4.478 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/10.37, allocations: 1.97 MB / 4.48 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/10.37, allocations: 285.9 kB / 4.48 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/10.37, allocations: 12.98 kB / 4.48 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/10.37, allocations: 58.09 kB / 4.48 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/10.37, allocations: 65.19 kB / 4.48 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/10.37, allocations: 46.48 kB / 4.48 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003826/10.37, allocations: 366.7 kB / 4.481 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/10.37, allocations: 0 / 4.481 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002404/10.38, allocations: 0.7632 MB / 4.481 GB, free: 57.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (77): * Single equations (assignments): 73 * 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.002508/10.38, allocations: 1.634 MB / 4.483 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001604/10.38, allocations: 1.068 MB / 4.484 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/10.38, allocations: 3.906 kB / 4.484 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/10.38, allocations: 0.6102 MB / 4.485 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/10.38, allocations: 364.3 kB / 4.485 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/10.39, allocations: 1.61 MB / 4.486 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/10.39, allocations: 1.062 MB / 4.487 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008834/10.39, allocations: 314.2 kB / 4.488 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/10.39, allocations: 88.95 kB / 4.488 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/10.39, allocations: 0 / 4.488 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.042/10.43, allocations: 31.8 MB / 4.519 GB, free: 53.92 MB / 0.5261 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.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.nPorts,ambient.p,ambient.use_T,ambient.use_p,fixedMassFlowRate.T,fixedMassFlowRate.X[1],fixedMassFlowRate.X[2],fixedMassFlowRate.flowDirection,fixedMassFlowRate.m_flow,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.nPorts,h_start,p_start,shortPipe.V,shortPipe.allowFlowReversal,shortPipe.crossArea,shortPipe.diameter,shortPipe.flowModel.Re_turbulent,shortPipe.flowModel.allowFlowReversal,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.n,shortPipe.flowModel.nParallel,shortPipe.flowModel.p_a_start,shortPipe.flowModel.p_b_start,shortPipe.flowModel.rho_nominal,shortPipe.flowModel.show_Res,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.X_start[2],volume.energyDynamics,volume.fluidLevel_max,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.substanceDynamics,volume.traceDynamics,volume.use_HeatTransfer,volume.use_Re,volume.use_T_start,volume.use_portsData,volume.vesselArea