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.001552/0.001552, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001736/0.001736, allocations: 194 kB / 18.12 MB, free: 5.383 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.407/1.407, allocations: 222.9 MB / 241.8 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 44.19 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.3 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04164/0.1595, allocations: 40.26 MB / 0.4969 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2439/0.4034, allocations: 21.23 MB / 0.5176 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.4051, allocations: 29.88 kB / 0.5176 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.4069, allocations: 398.4 kB / 0.518 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.421, allocations: 4.183 MB / 0.5221 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006499/0.4275, allocations: 2.242 MB / 0.5243 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003958/0.4315, allocations: 2.821 MB / 0.527 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.4323, allocations: 416 kB / 0.5274 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009284/0.4416, allocations: 4.036 MB / 0.5314 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.4522, allocations: 5.447 MB / 0.5367 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.4525, allocations: 37.41 kB / 0.5367 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01404/0.4665, allocations: 7.128 MB / 0.5437 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.467, allocations: 244.5 kB / 0.5439 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008155/0.4678, allocations: 416.3 kB / 0.5443 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.4803, allocations: 4.95 MB / 0.5491 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4804, allocations: 0 / 0.5491 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4804, allocations: 0 / 0.5491 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.4804, allocations: 4 kB / 0.5491 GB, free: 13.2 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.004723/0.4851, allocations: 1.627 MB / 0.5507 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4852, allocations: 11.97 kB / 0.5507 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.4867, allocations: 211.9 kB / 0.551 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.4875, allocations: 0.5395 MB / 0.5515 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.4876, allocations: 117 kB / 0.5516 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.4877, allocations: 56.38 kB / 0.5516 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.4896, allocations: 1.076 MB / 0.5527 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4896, allocations: 3.938 kB / 0.5527 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.4897, allocations: 31.44 kB / 0.5527 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/0.4898, allocations: 44.97 kB / 0.5528 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.4914, allocations: 0.8193 MB / 0.5536 GB, free: 8.516 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.005468/0.4969, allocations: 5.57 MB / 0.559 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.4981, allocations: 0.531 MB / 0.5595 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.4984, allocations: 206.5 kB / 0.5597 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09128/0.5897, allocations: 47.45 MB / 0.6061 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.5898, allocations: 38.56 kB / 0.6061 GB, free: 12.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 4.138e-06/0.5898, allocations: 4 kB / 0.6061 GB, free: 12.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006776/0.5966, allocations: 2.133 MB / 0.6082 GB, free: 10.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.5967, allocations: 187.9 kB / 0.6084 GB, free: 10.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.5975, allocations: 0.6407 MB / 0.609 GB, free: 9.699 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.5976, allocations: 33.7 kB / 0.609 GB, free: 9.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.5979, allocations: 396.8 kB / 0.6094 GB, free: 9.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.598, allocations: 170 kB / 0.6096 GB, free: 9.109 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.5983, allocations: 158.5 kB / 0.6097 GB, free: 8.949 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5984, allocations: 382.8 kB / 0.6101 GB, free: 8.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.5988, allocations: 225.9 kB / 0.6103 GB, free: 8.344 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.5995, allocations: 0.5938 MB / 0.6109 GB, free: 7.578 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.6007, allocations: 0.8677 MB / 0.6117 GB, free: 6.547 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-06/0.6007, allocations: 4 kB / 0.6117 GB, free: 6.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001823/0.6025, allocations: 0.8932 MB / 0.6126 GB, free: 5.641 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.6026, allocations: 12.03 kB / 0.6126 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/0.6026, allocations: 12 kB / 0.6126 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/0.6061, allocations: 264.5 kB / 0.6129 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6073, allocations: 291.5 kB / 0.6132 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.6093, allocations: 2.02 MB / 0.6151 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/0.61, allocations: 63.94 kB / 0.6152 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.6101, allocations: 39.98 kB / 0.6152 GB, free: 2.801 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 (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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004736/0.6106, allocations: 285.9 kB / 0.6155 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.6108, allocations: 71.16 kB / 0.6156 GB, free: 2.441 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.6132, allocations: 2.01 MB / 0.6175 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.6132, allocations: 23.97 kB / 0.6176 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.6132, allocations: 4 kB / 0.6176 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.6132, allocations: 3.984 kB / 0.6176 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.6168, allocations: 2.997 MB / 0.6205 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6168, allocations: 0 / 0.6205 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000915/0.6178, allocations: 179.8 kB / 0.6207 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.6196, allocations: 307.8 kB / 0.621 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.6197, allocations: 19.92 kB / 0.621 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.6214, allocations: 2.085 MB / 0.623 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6214, allocations: 0 / 0.623 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.6237, allocations: 1.94 MB / 0.6249 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.6241, allocations: 231.7 kB / 0.6251 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.6243, allocations: 27.69 kB / 0.6252 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.6248, allocations: 31.92 kB / 0.6252 GB, free: 8.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.6249, allocations: 36.33 kB / 0.6252 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.6249, allocations: 23.98 kB / 0.6252 GB, free: 8.258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007971/0.6257, allocations: 0.5693 MB / 0.6258 GB, free: 7.699 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6258, allocations: 0 / 0.6258 GB, free: 7.699 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003447/0.6292, allocations: 1.089 MB / 0.6269 GB, free: 6.609 MB / 478.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 (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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005189/0.6344, allocations: 1.2 MB / 0.628 GB, free: 5.504 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.6366, allocations: 0.9165 MB / 0.6289 GB, free: 4.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6366, allocations: 4 kB / 0.6289 GB, free: 4.586 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.638, allocations: 0.6402 MB / 0.6296 GB, free: 3.949 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.6402, allocations: 388.4 kB / 0.6299 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.6443, allocations: 2.539 MB / 0.6324 GB, free: 1.016 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/0.6451, allocations: 1.093 MB / 0.6335 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.6461, allocations: 346 kB / 0.6338 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.6463, allocations: 63.38 kB / 0.6339 GB, free: 15.49 MB / 494.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6463, allocations: 0 / 0.6339 GB, free: 15.49 MB / 494.1 MB Notification: Performance of Templates: time 0.06786/0.7141, allocations: 44.66 MB / 0.6775 GB, free: 2.988 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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