Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.2 MB / 245 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 107.2 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3139/0.3139, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002567, allocations: 8.219 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3257, allocations: 63.24 MB / 0.5192 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9703/1.296, allocations: 431.6 MB / 0.9407 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/1.296, allocations: 99.22 kB / 0.9408 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2684/1.565, allocations: 136.5 MB / 1.074 GB, free: 31.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.573e-06/1.565, allocations: 0 / 1.074 GB, free: 31.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.374e-05/1.565, allocations: 16 kB / 1.074 GB, free: 31.18 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002836/1.568, allocations: 0.9822 MB / 1.075 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.568, allocations: 8.031 kB / 1.075 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006367/1.568, allocations: 106.9 kB / 1.075 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/1.57, allocations: 0.5365 MB / 1.076 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/1.57, allocations: 104.4 kB / 1.076 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/1.57, allocations: 47.94 kB / 1.076 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/1.572, allocations: 0.8219 MB / 1.077 GB, free: 28.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.572, allocations: 3.938 kB / 1.077 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.986e-05/1.572, allocations: 24 kB / 1.077 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/1.572, allocations: 36.98 kB / 1.077 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/1.573, allocations: 0.64 MB / 1.077 GB, free: 27.71 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/1.577, allocations: 3.665 MB / 1.081 GB, free: 23.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/1.577, allocations: 404.1 kB / 1.081 GB, free: 23.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/1.578, allocations: 0.7366 MB / 1.082 GB, free: 22.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.578, allocations: 34.89 kB / 1.082 GB, free: 22.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 2.374e-06/1.578, allocations: 7.984 kB / 1.082 GB, free: 22.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.002887/1.581, allocations: 1.525 MB / 1.083 GB, free: 20.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.581, allocations: 136.5 kB / 1.084 GB, free: 20.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/1.581, allocations: 0.4982 MB / 1.084 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/1.581, allocations: 33.7 kB / 1.084 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/1.582, allocations: 358.9 kB / 1.084 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.582, allocations: 161.7 kB / 1.085 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/1.582, allocations: 16 kB / 1.085 GB, free: 19.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/1.582, allocations: 374.8 kB / 1.085 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/1.582, allocations: 205.9 kB / 1.085 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/1.583, allocations: 0.5045 MB / 1.086 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/1.583, allocations: 300.6 kB / 1.086 GB, free: 18.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.583, allocations: 4 kB / 1.086 GB, free: 18.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001334/1.584, allocations: 0.8908 MB / 1.087 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.584, allocations: 8 kB / 1.087 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.584, allocations: 11.95 kB / 1.087 GB, free: 17.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/1.586, allocations: 292.5 kB / 1.087 GB, free: 16.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/1.586, allocations: 119.8 kB / 1.087 GB, free: 16.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008079/1.587, allocations: 0.8848 MB / 1.088 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/1.588, allocations: 48.03 kB / 1.088 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/1.588, allocations: 36 kB / 1.088 GB, free: 15.8 MB / 0.5417 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 (71): * Single equations (assignments): 70 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/1.588, allocations: 245.5 kB / 1.088 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.588, allocations: 71.16 kB / 1.089 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.589, allocations: 0.7639 MB / 1.089 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.589, allocations: 4 kB / 1.089 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.589, allocations: 0 / 1.089 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.589, allocations: 7.984 kB / 1.089 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/1.591, allocations: 1.399 MB / 1.091 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.591, allocations: 7.891 kB / 1.091 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009807/1.592, allocations: 207.8 kB / 1.091 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.717e-05/1.592, allocations: 25.03 kB / 1.091 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/1.592, allocations: 16 kB / 1.091 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.593, allocations: 2.7 MB / 1.094 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.593, allocations: 4.031 kB / 1.094 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/1.594, allocations: 1.049 MB / 1.095 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/1.595, allocations: 200.3 kB / 1.095 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/1.595, allocations: 20.06 kB / 1.095 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/1.595, allocations: 39.81 kB / 1.095 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/1.595, allocations: 39.84 kB / 1.095 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/1.595, allocations: 23.98 kB / 1.095 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003714/1.596, allocations: 407 kB / 1.095 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.596, allocations: 0 / 1.095 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008045/1.597, allocations: 243.9 kB / 1.095 GB, free: 7.832 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006499/1.597, allocations: 362.2 kB / 1.096 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.598, allocations: 0.5869 MB / 1.096 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.598, allocations: 0.5 kB / 1.096 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008989/1.599, allocations: 442.5 kB / 1.097 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/1.6, allocations: 331.6 kB / 1.097 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/1.602, allocations: 1.615 MB / 1.099 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/1.603, allocations: 0.9543 MB / 1.1 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006292/1.604, allocations: 201.5 kB / 1.1 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/1.604, allocations: 63.41 kB / 1.1 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of SimCode: time 6.92e-07/1.604, allocations: 0 / 1.1 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of Templates: time 0.3048/1.908, allocations: 14.95 MB / 1.115 GB, free: 128.1 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.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.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