Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 114.7 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00186/0.00186, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4634/0.4634, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002961/0.002961, allocations: 76.75 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2543, allocations: 62.45 MB / 480.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.7081/0.9625, allocations: 39.62 MB / 0.5076 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04776/1.01, allocations: 20.29 MB / 0.5274 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/1.014, allocations: 29 kB / 0.5274 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0027/1.016, allocations: 402.3 kB / 0.5278 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0332/1.05, allocations: 4.559 MB / 0.5323 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01616/1.066, allocations: 2.34 MB / 0.5346 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006608/1.073, allocations: 1.993 MB / 0.5365 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/1.074, allocations: 487.7 kB / 0.537 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01707/1.092, allocations: 4.161 MB / 0.541 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01733/1.109, allocations: 5.49 MB / 0.5464 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003874/1.109, allocations: 74.72 kB / 0.5465 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02802/1.137, allocations: 7.288 MB / 0.5536 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008576/1.138, allocations: 283.2 kB / 0.5539 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001298/1.14, allocations: 461.9 kB / 0.5543 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/1.154, allocations: 3.559 MB / 0.5578 GB, free: 8.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/1.154, allocations: 0 / 0.5578 GB, free: 8.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.158e-06/1.154, allocations: 0 / 0.5578 GB, free: 8.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.316e-05/1.154, allocations: 0 / 0.5578 GB, free: 8.668 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007565/1.162, allocations: 1.699 MB / 0.5594 GB, free: 6.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.116e-05/1.162, allocations: 8.031 kB / 0.5594 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/1.164, allocations: 295.8 kB / 0.5597 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.166, allocations: 0.5521 MB / 0.5603 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/1.166, allocations: 117.3 kB / 0.5604 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/1.166, allocations: 60.38 kB / 0.5604 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/1.169, allocations: 1.201 MB / 0.5616 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/1.169, allocations: 11.92 kB / 0.5616 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/1.169, allocations: 28 kB / 0.5616 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/1.17, allocations: 49.28 kB / 0.5617 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004455/1.174, allocations: 1.02 MB / 0.5627 GB, free: 3.445 MB / 398.1 MB 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.01218/1.186, allocations: 5.613 MB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/1.19, allocations: 0.7615 MB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.191, allocations: 285.5 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0538/1.245, allocations: 17.29 MB / 0.5861 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.606e-05/1.245, allocations: 42.52 kB / 0.5861 GB, free: 8.898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 6.172e-06/1.245, allocations: 0 / 0.5861 GB, free: 8.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.01195/1.257, allocations: 2.281 MB / 0.5883 GB, free: 6.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/1.257, allocations: 166.6 kB / 0.5885 GB, free: 6.355 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.259, allocations: 0.6132 MB / 0.5891 GB, free: 5.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.463e-05/1.259, allocations: 33.7 kB / 0.5891 GB, free: 5.699 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/1.259, allocations: 387.2 kB / 0.5895 GB, free: 5.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/1.26, allocations: 173.6 kB / 0.5897 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/1.26, allocations: 162.5 kB / 0.5898 GB, free: 4.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002943/1.26, allocations: 374.8 kB / 0.5902 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009452/1.261, allocations: 277.8 kB / 0.5904 GB, free: 4.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.263, allocations: 0.6082 MB / 0.591 GB, free: 3.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/1.265, allocations: 0.8995 MB / 0.5919 GB, free: 2.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.265, allocations: 4 kB / 0.5919 GB, free: 2.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002493/1.267, allocations: 0.9644 MB / 0.5929 GB, free: 1.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/1.267, allocations: 15.98 kB / 0.5929 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/1.267, allocations: 8 kB / 0.5929 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/1.268, allocations: 61.45 kB / 0.5929 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.269, allocations: 303.5 kB / 0.5932 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/1.272, allocations: 2.072 MB / 0.5952 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.273, allocations: 79.88 kB / 0.5953 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/1.273, allocations: 40 kB / 0.5954 GB, free: 14.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000606/1.274, allocations: 273.4 kB / 0.5956 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/1.274, allocations: 75.09 kB / 0.5957 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/1.278, allocations: 2.563 MB / 0.5982 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/1.278, allocations: 31.94 kB / 0.5982 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.278, allocations: 4 kB / 0.5982 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.278, allocations: 3.984 kB / 0.5982 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008284/1.287, allocations: 3.761 MB / 0.6019 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.287, allocations: 4 kB / 0.6019 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/1.289, allocations: 227.7 kB / 0.6021 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/1.289, allocations: 88.69 kB / 0.6022 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/1.289, allocations: 19.98 kB / 0.6022 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/1.292, allocations: 2.09 MB / 0.6043 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.292, allocations: 0 / 0.6043 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/1.297, allocations: 2.338 MB / 0.6066 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/1.298, allocations: 259.3 kB / 0.6068 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/1.298, allocations: 39.59 kB / 0.6068 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/1.299, allocations: 51.95 kB / 0.6069 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/1.3, allocations: 52.48 kB / 0.6069 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/1.3, allocations: 19.98 kB / 0.607 GB, free: 2.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001075/1.301, allocations: 0.5576 MB / 0.6075 GB, free: 2.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.301, allocations: 0 / 0.6075 GB, free: 2.074 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006782/1.308, allocations: 1.097 MB / 0.6086 GB, free: 0.9766 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0113/1.319, allocations: 1.212 MB / 0.6098 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004283/1.323, allocations: 1.19 MB / 0.6109 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.323, allocations: 7.938 kB / 0.6109 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002353/1.326, allocations: 0.805 MB / 0.6117 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/1.329, allocations: 417.9 kB / 0.6121 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/1.334, allocations: 3.025 MB / 0.6151 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.335, allocations: 1.157 MB / 0.6162 GB, free: 9.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/1.335, allocations: 75.42 kB / 0.6163 GB, free: 9.055 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/1.335, allocations: 0 / 0.6163 GB, free: 9.055 MB / 462.1 MB Notification: Performance of Templates: time 0.1099/1.445, allocations: 39.6 MB / 0.6549 GB, free: 1.477 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.h,volume.medium.p Variables in the result:time,volume.medium.h,volume.medium.p