Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.00119, allocations: 210.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3125, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1877/0.5003, allocations: 177.3 MB / 0.7048 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008679/0.509, allocations: 5.335 MB / 0.71 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008278/0.5099, allocations: 23.81 kB / 0.7101 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.5111, allocations: 314 kB / 0.7104 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00407/0.5152, allocations: 1.252 MB / 0.7116 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.5179, allocations: 0.9626 MB / 0.7125 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.5205, allocations: 1.856 MB / 0.7143 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.5213, allocations: 457.4 kB / 0.7148 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.5237, allocations: 1.09 MB / 0.7158 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.525, allocations: 0.6617 MB / 0.7165 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.5253, allocations: 60 kB / 0.7165 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.5269, allocations: 0.6281 MB / 0.7172 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.5272, allocations: 263.3 kB / 0.7174 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006122/0.5279, allocations: 398.2 kB / 0.7178 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.53, allocations: 1.301 MB / 0.7191 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.53, allocations: 4 kB / 0.7191 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.203e-06/0.53, allocations: 0 / 0.7191 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.073e-05/0.5301, allocations: 0 / 0.7191 GB, free: 1.125 MB / 0.5606 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.2807/0.8108, allocations: 1.097 MB / 0.7201 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.8109, allocations: 8.969 kB / 0.7201 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.8121, allocations: 137.5 kB / 0.7203 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.8132, allocations: 0.5314 MB / 0.7208 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.8133, allocations: 107.2 kB / 0.7209 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.8135, allocations: 43.78 kB / 0.7209 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.815, allocations: 0.8257 MB / 0.7217 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.815, allocations: 1.719 kB / 0.7217 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.8151, allocations: 23.56 kB / 0.7218 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.412e-05/0.8152, allocations: 40.53 kB / 0.7218 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.8163, allocations: 0.6234 MB / 0.7224 GB, free: 185.4 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.82, allocations: 3.918 MB / 0.7262 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.8206, allocations: 361.6 kB / 0.7266 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.8209, allocations: 172.3 kB / 0.7267 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.821, allocations: 95.52 kB / 0.7268 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.8211, allocations: 41.31 kB / 0.7269 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.344e-06/0.8211, allocations: 2.656 kB / 0.7269 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005354/0.8264, allocations: 1.677 MB / 0.7285 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.8265, allocations: 141.1 kB / 0.7287 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.8272, allocations: 0.6098 MB / 0.7292 GB, free: 180 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.8272, allocations: 37.39 kB / 0.7293 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.8274, allocations: 362 kB / 0.7296 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.8275, allocations: 149.4 kB / 0.7298 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.8278, allocations: 160.4 kB / 0.7299 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8279, allocations: 373.8 kB / 0.7303 GB, free: 179 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.8282, allocations: 201.6 kB / 0.7305 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.8287, allocations: 0.5172 MB / 0.731 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.8295, allocations: 0.7449 MB / 0.7317 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.8295, allocations: 3.812 kB / 0.7317 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001342/0.8309, allocations: 0.8915 MB / 0.7326 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.8309, allocations: 9.906 kB / 0.7326 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.8309, allocations: 10.5 kB / 0.7326 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.8322, allocations: 307.2 kB / 0.7329 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.8327, allocations: 125.7 kB / 0.733 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000949/0.8336, allocations: 0.9326 MB / 0.7339 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.8341, allocations: 31.11 kB / 0.734 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.592e-05/0.8342, allocations: 65.03 kB / 0.734 GB, free: 176.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.8345, allocations: 252.6 kB / 0.7343 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.8346, allocations: 66 kB / 0.7343 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.8361, allocations: 0.8627 MB / 0.7352 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8361, allocations: 3.938 kB / 0.7352 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8361, allocations: 0 / 0.7352 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.8363, allocations: 187.9 kB / 0.7353 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.8364, allocations: 7.938 kB / 0.7354 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.8368, allocations: 19.92 kB / 0.7354 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.8368, allocations: 39.55 kB / 0.7354 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00134/0.8382, allocations: 0.6191 MB / 0.736 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008778/0.8391, allocations: 0.8233 MB / 0.7368 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002254/0.8393, allocations: 187.6 kB / 0.737 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003771/0.8397, allocations: 431.7 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of Backend: time 3.91e-07/0.8397, allocations: 4 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.8415, allocations: 0.7504 MB / 0.7381 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002201/0.8437, allocations: 1.921 MB / 0.74 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.0234/0.8671, allocations: 18.68 MB / 0.7583 GB, free: 153.2 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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:$cse3,T_start,X_start[1],ambient.T,ambient.X[1],ambient.d,ambient.flowDirection,ambient.h,ambient.medium.T,ambient.medium.p,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.medium.state.T,ambient.medium.state.p,ambient.nPorts,ambient.p,ambient.ports[1].h_outflow,ambient.ports[1].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].h_outflow,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].p,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.p,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