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.001081/0.001081, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001051/0.001051, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.295/1.295, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2031/0.2031, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.31 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1159, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0372/0.1531, allocations: 39.03 MB / 0.4964 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.308/0.4612, allocations: 20.14 MB / 0.516 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.4625, allocations: 26.55 kB / 0.5161 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.4641, allocations: 440.6 kB / 0.5165 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01736/0.4815, allocations: 5.123 MB / 0.5215 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008398/0.4899, allocations: 2.573 MB / 0.524 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.4929, allocations: 1.954 MB / 0.5259 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.4937, allocations: 482.6 kB / 0.5264 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.5042, allocations: 4.147 MB / 0.5304 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/0.516, allocations: 5.419 MB / 0.5357 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.5163, allocations: 65.16 kB / 0.5358 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/0.5331, allocations: 7.073 MB / 0.5427 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006106/0.5338, allocations: 278.8 kB / 0.5429 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008389/0.5346, allocations: 450.4 kB / 0.5434 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.55, allocations: 4.963 MB / 0.5482 GB, free: 13.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5501, allocations: 0 / 0.5482 GB, free: 13.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5501, allocations: 0 / 0.5482 GB, free: 13.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.248e-05/0.5501, allocations: 0 / 0.5482 GB, free: 13.57 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.005471/0.5556, allocations: 1.628 MB / 0.5498 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5557, allocations: 8.031 kB / 0.5498 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.5574, allocations: 223.8 kB / 0.55 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.5583, allocations: 0.5467 MB / 0.5506 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.5585, allocations: 106 kB / 0.5507 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5586, allocations: 56.05 kB / 0.5507 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.5607, allocations: 1.086 MB / 0.5518 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.5607, allocations: 3.938 kB / 0.5518 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.5608, allocations: 35.12 kB / 0.5518 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/0.5609, allocations: 36.98 kB / 0.5519 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.5626, allocations: 0.8271 MB / 0.5527 GB, free: 8.867 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.006673/0.5693, allocations: 5.57 MB / 0.5581 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.5708, allocations: 0.531 MB / 0.5586 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.5712, allocations: 203.1 kB / 0.5588 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09889/0.6701, allocations: 47.46 MB / 0.6052 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.6702, allocations: 42.55 kB / 0.6052 GB, free: 13.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 3.286e-06/0.6702, allocations: 3.938 kB / 0.6052 GB, free: 13.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.007079/0.6773, allocations: 2.127 MB / 0.6073 GB, free: 10.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.6774, allocations: 191.8 kB / 0.6075 GB, free: 10.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.6784, allocations: 0.6444 MB / 0.6081 GB, free: 10.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.6785, allocations: 33.7 kB / 0.6081 GB, free: 10 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.6788, allocations: 400.9 kB / 0.6085 GB, free: 9.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.679, allocations: 168 kB / 0.6087 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.6793, allocations: 158.5 kB / 0.6088 GB, free: 9.285 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.6795, allocations: 374.8 kB / 0.6092 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.6799, allocations: 233.9 kB / 0.6094 GB, free: 8.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.6806, allocations: 0.59 MB / 0.61 GB, free: 7.918 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.6819, allocations: 0.8685 MB / 0.6108 GB, free: 6.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.6819, allocations: 4 kB / 0.6108 GB, free: 6.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00172/0.6837, allocations: 0.9 MB / 0.6117 GB, free: 5.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.6837, allocations: 12 kB / 0.6117 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.6837, allocations: 11.98 kB / 0.6117 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/0.687, allocations: 268.5 kB / 0.612 GB, free: 5.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.6882, allocations: 283.7 kB / 0.6123 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.69, allocations: 2.118 MB / 0.6143 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.6907, allocations: 32.12 kB / 0.6144 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.6908, allocations: 43.98 kB / 0.6144 GB, free: 3.055 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.0004461/0.6912, allocations: 269.5 kB / 0.6147 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.6914, allocations: 71.16 kB / 0.6147 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.6939, allocations: 2.014 MB / 0.6167 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.6939, allocations: 23.91 kB / 0.6167 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.6939, allocations: 0 / 0.6167 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.694, allocations: 7.984 kB / 0.6167 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.6978, allocations: 2.995 MB / 0.6197 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.6978, allocations: 0 / 0.6197 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/0.6987, allocations: 183.8 kB / 0.6198 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.7004, allocations: 307.8 kB / 0.6201 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.7005, allocations: 12 kB / 0.6201 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.7023, allocations: 2.176 MB / 0.6223 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7023, allocations: 4.031 kB / 0.6223 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.7046, allocations: 1.946 MB / 0.6242 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.7051, allocations: 231.5 kB / 0.6244 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.7053, allocations: 31.67 kB / 0.6244 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.7058, allocations: 20 kB / 0.6244 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.7059, allocations: 32.39 kB / 0.6245 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.706, allocations: 19.98 kB / 0.6245 GB, free: 8.445 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008841/0.7069, allocations: 0.5733 MB / 0.625 GB, free: 7.883 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.7069, allocations: 0 / 0.625 GB, free: 7.883 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003845/0.7107, allocations: 1.093 MB / 0.6261 GB, free: 6.789 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.006098/0.7169, allocations: 1.197 MB / 0.6273 GB, free: 5.688 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.7197, allocations: 1.003 MB / 0.6283 GB, free: 4.688 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.7198, allocations: 0 / 0.6283 GB, free: 4.688 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.7211, allocations: 0.6439 MB / 0.6289 GB, free: 4.047 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.7235, allocations: 398.1 kB / 0.6293 GB, free: 3.676 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.727, allocations: 2.161 MB / 0.6314 GB, free: 1.492 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/0.7278, allocations: 1.094 MB / 0.6324 GB, free: 380 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009368/0.7288, allocations: 346.3 kB / 0.6328 GB, free: 28 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.729, allocations: 63.48 kB / 0.6328 GB, free: 15.96 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.729, allocations: 0 / 0.6328 GB, free: 15.96 MB / 494.1 MB Notification: Performance of Templates: time 0.07368/0.8027, allocations: 45.39 MB / 0.6772 GB, free: 2.75 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