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.001036/0.001036, 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.308/1.308, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008828/0.0008828, allocations: 97.55 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.2032/0.2032, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.589e-05, allocations: 4 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.182, allocations: 430.8 MB / 0.9251 GB, free: 23.71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.182, allocations: 91.5 kB / 0.9252 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6133/1.795, allocations: 134.9 MB / 1.057 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/1.795, allocations: 3.938 kB / 1.057 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.381e-05/1.796, allocations: 16 kB / 1.057 GB, free: 110.6 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00252/1.798, allocations: 0.904 MB / 1.058 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.798, allocations: 16.02 kB / 1.058 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006039/1.799, allocations: 87.83 kB / 1.058 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.8, allocations: 0.5425 MB / 1.059 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/1.8, allocations: 88.7 kB / 1.059 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/1.8, allocations: 32 kB / 1.059 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001065/1.802, allocations: 0.557 MB / 1.059 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/1.803, allocations: 0.7236 MB / 1.06 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/1.803, allocations: 0 / 1.06 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/1.803, allocations: 4 kB / 1.06 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/1.803, allocations: 45.23 kB / 1.06 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004563/1.808, allocations: 3.79 MB / 1.064 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/1.808, allocations: 311.6 kB / 1.064 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/1.808, allocations: 157.4 kB / 1.064 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/1.809, allocations: 0.4988 MB / 1.065 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.809, allocations: 42.78 kB / 1.065 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.815e-06/1.809, allocations: 0 / 1.065 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.003353/1.812, allocations: 1.288 MB / 1.066 GB, free: 101 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/1.812, allocations: 140.5 kB / 1.066 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/1.813, allocations: 446 kB / 1.066 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/1.813, allocations: 25.7 kB / 1.066 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/1.813, allocations: 383 kB / 1.067 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.813, allocations: 138 kB / 1.067 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/1.813, allocations: 0 / 1.067 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/1.813, allocations: 370.8 kB / 1.067 GB, free: 99.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/1.813, allocations: 189.5 kB / 1.067 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/1.814, allocations: 494.8 kB / 1.068 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/1.815, allocations: 312.5 kB / 1.068 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.815, allocations: 4 kB / 1.068 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001886/1.816, allocations: 0.8553 MB / 1.069 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.816, allocations: 8 kB / 1.069 GB, free: 97.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.817, allocations: 12 kB / 1.069 GB, free: 97.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000958/1.817, allocations: 242.9 kB / 1.069 GB, free: 97.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/1.818, allocations: 123.8 kB / 1.069 GB, free: 97.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/1.819, allocations: 0.8958 MB / 1.07 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/1.819, allocations: 39.83 kB / 1.07 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/1.819, allocations: 40.05 kB / 1.07 GB, free: 96.09 MB / 0.5261 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 () * 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.0001729/1.82, allocations: 132.7 kB / 1.071 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.82, allocations: 63.28 kB / 1.071 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/1.821, allocations: 0.6329 MB / 1.071 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.821, allocations: 7.984 kB / 1.071 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.821, allocations: 7.953 kB / 1.071 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.821, allocations: 0 / 1.071 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/1.823, allocations: 1.516 MB / 1.073 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.823, allocations: 4 kB / 1.073 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009346/1.824, allocations: 200 kB / 1.073 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.173e-05/1.824, allocations: 16.84 kB / 1.073 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.824, allocations: 15.98 kB / 1.073 GB, free: 93.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/1.826, allocations: 2.577 MB / 1.075 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.826, allocations: 4 kB / 1.075 GB, free: 90.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/1.827, allocations: 1.001 MB / 1.076 GB, free: 89.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/1.827, allocations: 204.1 kB / 1.077 GB, free: 89.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.827, allocations: 4 kB / 1.077 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/1.828, allocations: 15.98 kB / 1.077 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/1.828, allocations: 43.91 kB / 1.077 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/1.828, allocations: 27.97 kB / 1.077 GB, free: 89.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003538/1.828, allocations: 322.9 kB / 1.077 GB, free: 88.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.828, allocations: 0 / 1.077 GB, free: 88.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001008/1.829, allocations: 227.8 kB / 1.077 GB, free: 88.6 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * 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.0007714/1.83, allocations: 365.7 kB / 1.078 GB, free: 88.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009544/1.831, allocations: 0.518 MB / 1.078 GB, free: 87.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.831, allocations: 0 / 1.078 GB, free: 87.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008241/1.832, allocations: 410.6 kB / 1.078 GB, free: 87.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.833, allocations: 267.6 kB / 1.079 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/1.835, allocations: 0.9343 MB / 1.08 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/1.836, allocations: 0.9536 MB / 1.081 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007907/1.837, allocations: 197 kB / 1.081 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/1.837, allocations: 59.41 kB / 1.081 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of SimCode: time 3.036e-06/1.837, allocations: 0 / 1.081 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of Templates: time 0.02107/1.858, allocations: 12.72 MB / 1.093 GB, free: 72.29 MB / 0.5261 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.use_T,ambient.use_p,fixedMassFlowRate.T,fixedMassFlowRate.X[1],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.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.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