Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001037, allocations: 95.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 9.156 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 61.91 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03452/0.1507, allocations: 33.11 MB / 0.4927 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2513/0.4021, allocations: 17.2 MB / 0.5095 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.4038, allocations: 25.66 kB / 0.5096 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.4056, allocations: 392.8 kB / 0.5099 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.4188, allocations: 4.005 MB / 0.5139 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007695/0.4265, allocations: 2.111 MB / 0.5159 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002778/0.4293, allocations: 1.155 MB / 0.517 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006408/0.43, allocations: 407.4 kB / 0.5174 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.4419, allocations: 6.272 MB / 0.5236 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.4535, allocations: 8.764 MB / 0.5321 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.4537, allocations: 38.73 kB / 0.5321 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/0.4672, allocations: 7.031 MB / 0.539 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005047/0.4677, allocations: 222.8 kB / 0.5392 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.4681, allocations: 184.5 kB / 0.5394 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007795/0.4759, allocations: 3.367 MB / 0.5427 GB, free: 3.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.476, allocations: 4 kB / 0.5427 GB, free: 3.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.476, allocations: 3.844 kB / 0.5427 GB, free: 3.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.476, allocations: 0 / 0.5427 GB, free: 3.223 MB / 382.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.004708/0.4807, allocations: 1.468 MB / 0.5441 GB, free: 1.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4808, allocations: 12.56 kB / 0.5441 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.4821, allocations: 226.2 kB / 0.5444 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008051/0.4829, allocations: 0.5152 MB / 0.5449 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.483, allocations: 109.3 kB / 0.545 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.4831, allocations: 65.62 kB / 0.545 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.4847, allocations: 1.066 MB / 0.5461 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.4847, allocations: 7 kB / 0.5461 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.4848, allocations: 32.67 kB / 0.5461 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.4848, allocations: 42.97 kB / 0.5462 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.4863, allocations: 0.8194 MB / 0.547 GB, free: 15.49 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.005757/0.4921, allocations: 5.567 MB / 0.5524 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.4933, allocations: 0.5232 MB / 0.5529 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09457/0.5879, allocations: 47.88 MB / 0.5997 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.588, allocations: 45.8 kB / 0.5997 GB, free: 5.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.897e-06/0.588, allocations: 0 / 0.5997 GB, free: 5.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006144/0.5941, allocations: 2.128 MB / 0.6018 GB, free: 3.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.5943, allocations: 188 kB / 0.602 GB, free: 3.285 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.5951, allocations: 0.6361 MB / 0.6026 GB, free: 2.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.5951, allocations: 32.58 kB / 0.6026 GB, free: 2.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.5954, allocations: 402.1 kB / 0.603 GB, free: 2.477 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.5955, allocations: 165.9 kB / 0.6032 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.5956, allocations: 13.56 kB / 0.6032 GB, free: 2.336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5958, allocations: 380.6 kB / 0.6035 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.5962, allocations: 228.6 kB / 0.6037 GB, free: 1.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.5968, allocations: 0.5847 MB / 0.6043 GB, free: 1.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.5973, allocations: 336 kB / 0.6046 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5974, allocations: 4 kB / 0.6046 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001375/0.5987, allocations: 0.8919 MB / 0.6055 GB, free: 396 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.5988, allocations: 12 kB / 0.6055 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.5988, allocations: 12 kB / 0.6055 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003071/0.6019, allocations: 279 kB / 0.6058 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.6031, allocations: 282.1 kB / 0.6061 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.6048, allocations: 2.031 MB / 0.6081 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/0.6054, allocations: 51.67 kB / 0.6081 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.6055, allocations: 51.17 kB / 0.6082 GB, free: 13.73 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003752/0.6059, allocations: 271.4 kB / 0.6084 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.6061, allocations: 71.16 kB / 0.6085 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.6082, allocations: 2.034 MB / 0.6105 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.6083, allocations: 22.28 kB / 0.6105 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.6083, allocations: 0 / 0.6105 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6083, allocations: 3.984 kB / 0.6105 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.6115, allocations: 3.002 MB / 0.6134 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6115, allocations: 0 / 0.6134 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.6125, allocations: 187.8 kB / 0.6136 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/0.6142, allocations: 307.9 kB / 0.6139 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.6142, allocations: 8 kB / 0.6139 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.616, allocations: 2.082 MB / 0.6159 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.616, allocations: 7.984 kB / 0.6159 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.6183, allocations: 1.965 MB / 0.6179 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.6188, allocations: 279.4 kB / 0.6181 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6189, allocations: 22.67 kB / 0.6182 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.6194, allocations: 35.83 kB / 0.6182 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.6195, allocations: 32.45 kB / 0.6182 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.6195, allocations: 16 kB / 0.6182 GB, free: 4.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007349/0.6202, allocations: 0.5681 MB / 0.6188 GB, free: 4.395 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6203, allocations: 0 / 0.6188 GB, free: 4.395 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004197/0.6245, allocations: 1.089 MB / 0.6198 GB, free: 3.305 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006029/0.6305, allocations: 1.189 MB / 0.621 GB, free: 2.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00241/0.633, allocations: 0.9196 MB / 0.6219 GB, free: 1.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.633, allocations: 7.5 kB / 0.6219 GB, free: 1.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.6342, allocations: 0.6473 MB / 0.6225 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.6362, allocations: 369.5 kB / 0.6229 GB, free: 352 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.6395, allocations: 2.57 MB / 0.6254 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.6402, allocations: 1.116 MB / 0.6265 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008355/0.6411, allocations: 344.8 kB / 0.6268 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.6412, allocations: 63.44 kB / 0.6269 GB, free: 12.21 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6412, allocations: 0 / 0.6269 GB, free: 12.21 MB / 478.1 MB Notification: Performance of Templates: time 0.06465/0.7059, allocations: 44.71 MB / 0.6706 GB, free: 15.72 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches