Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 112.7 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.001215/0.001215, 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.35/1.35, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 80.16 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3203, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.183/0.5034, allocations: 178.2 MB / 0.7057 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007299/0.5107, allocations: 5.353 MB / 0.7109 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000792/0.5116, allocations: 19.88 kB / 0.7109 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.5127, allocations: 318 kB / 0.7112 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00379/0.5165, allocations: 1.338 MB / 0.7125 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.5195, allocations: 1.075 MB / 0.7136 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002692/0.5222, allocations: 1.852 MB / 0.7154 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008765/0.5231, allocations: 465.3 kB / 0.7158 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.5256, allocations: 1.082 MB / 0.7169 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.5272, allocations: 0.7666 MB / 0.7176 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.5275, allocations: 63.94 kB / 0.7177 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.529, allocations: 0.6275 MB / 0.7183 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.5293, allocations: 259.3 kB / 0.7185 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005866/0.5299, allocations: 390.2 kB / 0.7189 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3405/0.8705, allocations: 1.304 MB / 0.7202 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.8705, allocations: 0.8125 kB / 0.7202 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8705, allocations: 0.9062 kB / 0.7202 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.594e-05/0.8706, allocations: 3.719 kB / 0.7202 GB, free: 7.09 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.002837/0.8734, allocations: 1.096 MB / 0.7213 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.8735, allocations: 9.625 kB / 0.7213 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/0.8745, allocations: 137.1 kB / 0.7214 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.8755, allocations: 0.5326 MB / 0.7219 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.8756, allocations: 105.3 kB / 0.722 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.8757, allocations: 46.03 kB / 0.7221 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.8771, allocations: 0.8176 MB / 0.7229 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.8771, allocations: 4.844 kB / 0.7229 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/0.8772, allocations: 23.81 kB / 0.7229 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.437e-05/0.8773, allocations: 38.81 kB / 0.7229 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.8783, allocations: 0.6199 MB / 0.7235 GB, free: 6.023 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.004357/0.8827, allocations: 3.938 MB / 0.7274 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.8833, allocations: 359.8 kB / 0.7277 GB, free: 19.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.8836, allocations: 169.8 kB / 0.7279 GB, free: 19.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.8837, allocations: 95.03 kB / 0.728 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.8838, allocations: 41.22 kB / 0.728 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.8838, allocations: 0.7188 kB / 0.728 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00562/0.8894, allocations: 1.669 MB / 0.7296 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.8895, allocations: 133.6 kB / 0.7298 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000729/0.8902, allocations: 0.62 MB / 0.7304 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.8903, allocations: 33.12 kB / 0.7304 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.8905, allocations: 368.5 kB / 0.7308 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.8906, allocations: 146.1 kB / 0.7309 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.8909, allocations: 159.2 kB / 0.7311 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.891, allocations: 374.1 kB / 0.7314 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.8913, allocations: 203.7 kB / 0.7316 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.8918, allocations: 0.514 MB / 0.7321 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.8926, allocations: 0.7413 MB / 0.7328 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8926, allocations: 3.781 kB / 0.7328 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001287/0.8939, allocations: 0.8876 MB / 0.7337 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.894, allocations: 15.91 kB / 0.7337 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.894, allocations: 12.11 kB / 0.7337 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.8954, allocations: 307.5 kB / 0.734 GB, free: 17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.8958, allocations: 123.3 kB / 0.7341 GB, free: 17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/0.8968, allocations: 0.9332 MB / 0.735 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.8973, allocations: 26.77 kB / 0.7351 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.8974, allocations: 66.83 kB / 0.7351 GB, free: 16.48 MB / 0.5762 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.0003211/0.8978, allocations: 245.3 kB / 0.7354 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.8979, allocations: 72.25 kB / 0.7354 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.8993, allocations: 0.8724 MB / 0.7363 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.8994, allocations: 6.172 kB / 0.7363 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.8994, allocations: 1.094 kB / 0.7363 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.8996, allocations: 182.4 kB / 0.7365 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.8997, allocations: 10.28 kB / 0.7365 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.9001, allocations: 15.52 kB / 0.7365 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.9002, allocations: 42.88 kB / 0.7365 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001472/0.9017, allocations: 0.6234 MB / 0.7371 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001008/0.9027, allocations: 0.8228 MB / 0.738 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002837/0.903, allocations: 182.1 kB / 0.7381 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004643/0.9035, allocations: 437.7 kB / 0.7385 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of Backend: time 3e-07/0.9035, allocations: 0.9688 kB / 0.7385 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002051/0.9055, allocations: 0.7475 MB / 0.7393 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002628/0.9082, allocations: 1.908 MB / 0.7411 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of Templates: time 0.02838/0.9366, allocations: 18.7 MB / 0.7594 GB, free: 13.04 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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