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/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.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/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1971/0.1971, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 75.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3334, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1591/0.4925, allocations: 150.5 MB / 0.6787 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007869/0.5004, allocations: 5.6 MB / 0.6841 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008607/0.5013, allocations: 19.88 kB / 0.6841 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.5026, allocations: 318 kB / 0.6844 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.5055, allocations: 0.8589 MB / 0.6853 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.5089, allocations: 1.023 MB / 0.6863 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002825/0.5117, allocations: 1.801 MB / 0.688 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009607/0.5127, allocations: 469.2 kB / 0.6885 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.5146, allocations: 0.7785 MB / 0.6893 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.5162, allocations: 0.7164 MB / 0.69 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.5165, allocations: 64 kB / 0.69 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.5181, allocations: 0.5342 MB / 0.6905 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004422/0.5186, allocations: 263.3 kB / 0.6908 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008353/0.5194, allocations: 398.2 kB / 0.6912 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.5211, allocations: 1.135 MB / 0.6923 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5211, allocations: 4 kB / 0.6923 GB, free: 12.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.113e-06/0.5211, allocations: 3.938 kB / 0.6923 GB, free: 12.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.5212, allocations: 0 / 0.6923 GB, free: 12.69 MB / 0.545 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.00226/0.5234, allocations: 1.056 MB / 0.6933 GB, free: 11.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.5235, allocations: 8.031 kB / 0.6933 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.5239, allocations: 88.08 kB / 0.6934 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008729/0.5248, allocations: 0.5366 MB / 0.6939 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.794e-05/0.5249, allocations: 101 kB / 0.694 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.525, allocations: 52.36 kB / 0.6941 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.5262, allocations: 0.8145 MB / 0.6949 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.5262, allocations: 7.938 kB / 0.6949 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.5263, allocations: 20 kB / 0.6949 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/0.5263, allocations: 40.97 kB / 0.6949 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.5275, allocations: 0.6595 MB / 0.6956 GB, free: 9.148 MB / 0.545 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.005944/0.5334, allocations: 3.96 MB / 0.6994 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5345, allocations: 426.5 kB / 0.6999 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.535, allocations: 205.4 kB / 0.7001 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006479/0.5356, allocations: 0.7327 MB / 0.7008 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.5357, allocations: 42.89 kB / 0.7008 GB, free: 3.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.926e-06/0.5357, allocations: 0 / 0.7008 GB, free: 3.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.004153/0.5399, allocations: 1.546 MB / 0.7023 GB, free: 1.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.5399, allocations: 136.5 kB / 0.7024 GB, free: 1.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/0.5409, allocations: 0.577 MB / 0.703 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.5409, allocations: 37.64 kB / 0.703 GB, free: 0.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.5413, allocations: 351 kB / 0.7034 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.5415, allocations: 161.7 kB / 0.7035 GB, free: 420 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.5417, allocations: 138.5 kB / 0.7037 GB, free: 276 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5419, allocations: 374.8 kB / 0.704 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.5425, allocations: 213.9 kB / 0.7042 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.5433, allocations: 0.5201 MB / 0.7047 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.5447, allocations: 0.7679 MB / 0.7055 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5447, allocations: 0 / 0.7055 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002232/0.547, allocations: 0.9099 MB / 0.7064 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.547, allocations: 11.94 kB / 0.7064 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.547, allocations: 12 kB / 0.7064 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.5489, allocations: 281 kB / 0.7067 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.5494, allocations: 127.8 kB / 0.7068 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.5507, allocations: 0.8824 MB / 0.7076 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/0.5513, allocations: 28 kB / 0.7077 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.5514, allocations: 39.98 kB / 0.7077 GB, free: 11.82 MB / 0.5606 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 (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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000408/0.5518, allocations: 249.5 kB / 0.708 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.552, allocations: 67.23 kB / 0.708 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.5535, allocations: 0.7636 MB / 0.7088 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5535, allocations: 7.984 kB / 0.7088 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5535, allocations: 0 / 0.7088 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.5538, allocations: 196.2 kB / 0.709 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5539, allocations: 11.94 kB / 0.709 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.5543, allocations: 19.98 kB / 0.709 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.5543, allocations: 32.39 kB / 0.709 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001628/0.556, allocations: 0.6807 MB / 0.7097 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001309/0.5573, allocations: 0.9266 MB / 0.7106 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003195/0.5576, allocations: 223.4 kB / 0.7108 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004709/0.5581, allocations: 415 kB / 0.7112 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of Backend: time 3.81e-07/0.5581, allocations: 0 / 0.7112 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.5599, allocations: 0.6699 MB / 0.7119 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002865/0.5628, allocations: 1.888 MB / 0.7137 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of Templates: time 0.2691/0.8319, allocations: 14.88 MB / 0.7282 GB, free: 178.9 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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.T,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.nPorts,ambient.p,ambient.ports[1].h_outflow,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.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_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