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.00181/0.00181, allocations: 114.3 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.002246/0.002247, allocations: 206.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.573/1.573, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 71.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3366, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1669/0.5036, allocations: 150.5 MB / 0.6787 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007862/0.5115, allocations: 5.601 MB / 0.6841 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007473/0.5123, allocations: 19.88 kB / 0.6842 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5133, allocations: 326 kB / 0.6845 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.5156, allocations: 0.8707 MB / 0.6853 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.5185, allocations: 1.02 MB / 0.6863 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.5207, allocations: 1.805 MB / 0.6881 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007189/0.5214, allocations: 465.2 kB / 0.6885 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.5228, allocations: 0.7825 MB / 0.6893 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009972/0.5238, allocations: 0.7125 MB / 0.69 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.5239, allocations: 63.94 kB / 0.69 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.5252, allocations: 0.542 MB / 0.6906 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.5255, allocations: 255.3 kB / 0.6908 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.5259, allocations: 402.2 kB / 0.6912 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.5274, allocations: 1.135 MB / 0.6923 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5275, allocations: 11.94 kB / 0.6923 GB, free: 12.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5275, allocations: 0 / 0.6923 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5275, allocations: 0 / 0.6923 GB, free: 12.68 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.002042/0.5295, allocations: 1.056 MB / 0.6933 GB, free: 11.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5296, allocations: 8.031 kB / 0.6934 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.5299, allocations: 88.09 kB / 0.6934 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.5308, allocations: 0.5365 MB / 0.694 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.5309, allocations: 101 kB / 0.6941 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.436e-05/0.531, allocations: 48.36 kB / 0.6941 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5323, allocations: 0.8224 MB / 0.6949 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5323, allocations: 0 / 0.6949 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/0.5324, allocations: 27.97 kB / 0.6949 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/0.5325, allocations: 44.91 kB / 0.695 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.5335, allocations: 0.6518 MB / 0.6956 GB, free: 9.145 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.004529/0.5381, allocations: 3.96 MB / 0.6995 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.5388, allocations: 432.3 kB / 0.6999 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.5392, allocations: 205.4 kB / 0.7001 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/0.5398, allocations: 0.7288 MB / 0.7008 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5398, allocations: 42.88 kB / 0.7008 GB, free: 3.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 3.116e-06/0.5398, allocations: 0 / 0.7008 GB, free: 3.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003208/0.543, allocations: 1.542 MB / 0.7023 GB, free: 1.711 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.5431, allocations: 140.5 kB / 0.7025 GB, free: 1.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/0.5439, allocations: 0.5731 MB / 0.703 GB, free: 0.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.5439, allocations: 37.7 kB / 0.7031 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.5442, allocations: 355 kB / 0.7034 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.5444, allocations: 157.7 kB / 0.7036 GB, free: 416 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.5446, allocations: 142.5 kB / 0.7037 GB, free: 268 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5447, allocations: 374.8 kB / 0.7041 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.5451, allocations: 217.9 kB / 0.7043 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.5457, allocations: 0.5084 MB / 0.7048 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.5467, allocations: 0.7601 MB / 0.7055 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.5468, allocations: 4 kB / 0.7055 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00167/0.5484, allocations: 0.9099 MB / 0.7064 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5485, allocations: 11.94 kB / 0.7064 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.5485, allocations: 8 kB / 0.7064 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.5499, allocations: 292.9 kB / 0.7067 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.5504, allocations: 123.8 kB / 0.7068 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.5514, allocations: 0.8861 MB / 0.7077 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.5519, allocations: 31.98 kB / 0.7077 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.552, allocations: 36 kB / 0.7077 GB, free: 11.81 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.0003475/0.5523, allocations: 249.5 kB / 0.708 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.5525, allocations: 67.25 kB / 0.708 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.5538, allocations: 0.7675 MB / 0.7088 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5538, allocations: 7.984 kB / 0.7088 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5538, allocations: 0 / 0.7088 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.5542, allocations: 196.2 kB / 0.709 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5543, allocations: 15.94 kB / 0.709 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.5547, allocations: 15.98 kB / 0.709 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.5547, allocations: 32.39 kB / 0.709 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001666/0.5564, allocations: 0.6769 MB / 0.7097 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001293/0.5577, allocations: 0.9305 MB / 0.7106 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003739/0.5581, allocations: 219.4 kB / 0.7108 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00053/0.5586, allocations: 415.1 kB / 0.7112 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of Backend: time 3.81e-07/0.5587, allocations: 3.938 kB / 0.7112 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.5606, allocations: 0.6658 MB / 0.7119 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003182/0.5638, allocations: 1.897 MB / 0.7137 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of Templates: time 0.2915/0.8553, allocations: 14.63 MB / 0.728 GB, free: 179.3 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