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.001223/0.001223, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009866/0.0009866, allocations: 98.69 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3625/0.3625, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 8 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3513, allocations: 63.25 MB / 0.5192 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.397/6.748, allocations: 3.549 GB / 4.068 GB, free: 93.86 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/6.749, allocations: 102.9 kB / 4.068 GB, free: 93.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.391/8.139, allocations: 409.4 MB / 4.468 GB, free: 80.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.312e-06/8.139, allocations: 0 / 4.468 GB, free: 80.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.721e-05/8.139, allocations: 20.53 kB / 4.468 GB, free: 80.7 MB / 0.5417 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.008378/8.148, allocations: 2.33 MB / 4.47 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/8.148, allocations: 10.69 kB / 4.47 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007279/8.148, allocations: 110.4 kB / 4.47 GB, free: 79.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/8.15, allocations: 0.6263 MB / 4.471 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/8.15, allocations: 120.8 kB / 4.471 GB, free: 79.01 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/8.151, allocations: 75.66 kB / 4.471 GB, free: 79.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/8.153, allocations: 1.147 MB / 4.472 GB, free: 78.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/8.153, allocations: 7.719 kB / 4.472 GB, free: 78.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/8.153, allocations: 32.3 kB / 4.472 GB, free: 78.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.778e-05/8.153, allocations: 55.72 kB / 4.472 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/8.155, allocations: 1.141 MB / 4.473 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006613/8.161, allocations: 4.674 MB / 4.478 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/8.163, allocations: 0.8114 MB / 4.478 GB, free: 76.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/8.164, allocations: 1.637 MB / 4.48 GB, free: 74.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/8.164, allocations: 43.41 kB / 4.48 GB, free: 74.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 3.437e-06/8.164, allocations: 0 / 4.48 GB, free: 74.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.01303/8.177, allocations: 4.276 MB / 4.484 GB, free: 73.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/8.177, allocations: 112.9 kB / 4.484 GB, free: 73.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/8.178, allocations: 0.5809 MB / 4.485 GB, free: 72.81 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/8.178, allocations: 43.64 kB / 4.485 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/8.178, allocations: 387.8 kB / 4.485 GB, free: 72.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/8.179, allocations: 292.9 kB / 4.486 GB, free: 72.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/8.179, allocations: 19.56 kB / 4.486 GB, free: 72.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001211/8.179, allocations: 391.5 kB / 4.486 GB, free: 71.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008774/8.18, allocations: 496.8 kB / 4.486 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009777/8.181, allocations: 0.745 MB / 4.487 GB, free: 71.22 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009743/8.182, allocations: 0.5807 MB / 4.488 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/8.182, allocations: 3.844 kB / 4.488 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002895/8.185, allocations: 1.668 MB / 4.489 GB, free: 70.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/8.185, allocations: 10.48 kB / 4.489 GB, free: 70.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/8.185, allocations: 10.25 kB / 4.489 GB, free: 70.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00733/8.192, allocations: 1.425 MB / 4.491 GB, free: 70.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/8.193, allocations: 159.8 kB / 4.491 GB, free: 70.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/8.195, allocations: 1.537 MB / 4.492 GB, free: 69.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/8.196, allocations: 93.77 kB / 4.493 GB, free: 69.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/8.196, allocations: 57.03 kB / 4.493 GB, free: 69.26 MB / 0.5417 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 () * Number of clocked 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.0006547/8.197, allocations: 298.6 kB / 4.493 GB, free: 69.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/8.197, allocations: 85.88 kB / 4.493 GB, free: 69.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/8.2, allocations: 1.684 MB / 4.495 GB, free: 68.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/8.2, allocations: 7.875 kB / 4.495 GB, free: 68.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/8.2, allocations: 3.953 kB / 4.495 GB, free: 68.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/8.2, allocations: 6.094 kB / 4.495 GB, free: 68.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/8.204, allocations: 2.643 MB / 4.497 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/8.204, allocations: 3.938 kB / 4.497 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/8.205, allocations: 255.3 kB / 4.497 GB, free: 67.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/8.207, allocations: 400 kB / 4.498 GB, free: 67.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/8.207, allocations: 33.61 kB / 4.498 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/8.209, allocations: 2.273 MB / 4.5 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/8.209, allocations: 3.938 kB / 4.5 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/8.212, allocations: 2.104 MB / 4.502 GB, free: 64.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/8.213, allocations: 296.8 kB / 4.502 GB, free: 63.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/8.213, allocations: 29 kB / 4.502 GB, free: 63.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008045/8.214, allocations: 72.86 kB / 4.503 GB, free: 63.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/8.214, allocations: 60.73 kB / 4.503 GB, free: 63.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.29e-05/8.214, allocations: 44.17 kB / 4.503 GB, free: 63.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005284/8.215, allocations: 486.3 kB / 4.503 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/8.215, allocations: 3 kB / 4.503 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002692/8.217, allocations: 0.81 MB / 4.504 GB, free: 63.34 MB / 0.5417 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 () * Number of clocked 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.002626/8.22, allocations: 1.504 MB / 4.505 GB, free: 62.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00224/8.222, allocations: 1.235 MB / 4.507 GB, free: 62.47 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/8.222, allocations: 3.953 kB / 4.507 GB, free: 62.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/8.224, allocations: 0.7001 MB / 4.507 GB, free: 62.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/8.226, allocations: 482.6 kB / 4.508 GB, free: 62.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/8.23, allocations: 2.512 MB / 4.51 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/8.23, allocations: 1.056 MB / 4.511 GB, free: 60.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001015/8.231, allocations: 345.4 kB / 4.512 GB, free: 60.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/8.231, allocations: 91.02 kB / 4.512 GB, free: 60.05 MB / 0.5417 GB Notification: Performance of SimCode: time 8.11e-07/8.231, allocations: 0 / 4.512 GB, free: 60.05 MB / 0.5417 GB Notification: Performance of Templates: time 0.04735/8.279, allocations: 40.96 MB / 4.552 GB, free: 25.21 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