Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 107.4 kB / 17.21 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.001169/0.001169, 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.404/1.404, 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.2148/0.2148, allocations: 44.17 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.66 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1222, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04279/0.165, allocations: 40.26 MB / 0.4969 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.252/0.4171, allocations: 21.22 MB / 0.5176 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.4185, allocations: 26.31 kB / 0.5176 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.4198, allocations: 396.2 kB / 0.518 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01489/0.4348, allocations: 4.186 MB / 0.5221 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00766/0.4424, allocations: 2.246 MB / 0.5243 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003741/0.4462, allocations: 2.848 MB / 0.5271 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000813/0.447, allocations: 438.6 kB / 0.5275 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.4574, allocations: 4.055 MB / 0.5314 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/0.4685, allocations: 5.464 MB / 0.5368 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.4689, allocations: 37.66 kB / 0.5368 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/0.4838, allocations: 7.262 MB / 0.5439 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.4843, allocations: 247.6 kB / 0.5441 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006772/0.485, allocations: 427.5 kB / 0.5445 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.496, allocations: 5.101 MB / 0.5495 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.496, allocations: 0 / 0.5495 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4961, allocations: 0 / 0.5495 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.804e-05/0.4961, allocations: 3.938 kB / 0.5495 GB, free: 12.86 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.004744/0.5009, allocations: 1.66 MB / 0.5511 GB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5009, allocations: 11.97 kB / 0.5512 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.5032, allocations: 295.8 kB / 0.5514 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.5041, allocations: 0.5664 MB / 0.552 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5042, allocations: 116 kB / 0.5521 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/0.5043, allocations: 56.38 kB / 0.5522 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.5068, allocations: 1.155 MB / 0.5533 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.5069, allocations: 3.938 kB / 0.5533 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/0.507, allocations: 38.64 kB / 0.5533 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/0.5071, allocations: 45.3 kB / 0.5534 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.5088, allocations: 0.8401 MB / 0.5542 GB, free: 7.93 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.006659/0.5155, allocations: 5.502 MB / 0.5596 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.5168, allocations: 0.5807 MB / 0.5601 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.5171, allocations: 217.6 kB / 0.5603 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09088/0.608, allocations: 46.19 MB / 0.6054 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/0.6081, allocations: 50.5 kB / 0.6055 GB, free: 13.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.6081, allocations: 0 / 0.6055 GB, free: 13.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.005212/0.6134, allocations: 1.93 MB / 0.6074 GB, free: 11.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.6134, allocations: 158.2 kB / 0.6075 GB, free: 11.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.6142, allocations: 0.6171 MB / 0.6081 GB, free: 10.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.6143, allocations: 41.73 kB / 0.6082 GB, free: 10.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.6145, allocations: 394 kB / 0.6085 GB, free: 10.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.6146, allocations: 169.4 kB / 0.6087 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.6149, allocations: 154.5 kB / 0.6088 GB, free: 10.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6151, allocations: 382.7 kB / 0.6092 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.6155, allocations: 221.9 kB / 0.6094 GB, free: 9.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.6161, allocations: 0.5757 MB / 0.61 GB, free: 8.852 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.6172, allocations: 0.8368 MB / 0.6108 GB, free: 7.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.6172, allocations: 4.875 kB / 0.6108 GB, free: 7.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001421/0.6186, allocations: 0.8667 MB / 0.6117 GB, free: 6.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6187, allocations: 18.48 kB / 0.6117 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.6187, allocations: 8.906 kB / 0.6117 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/0.619, allocations: 64.83 kB / 0.6117 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.6202, allocations: 283.6 kB / 0.612 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.6217, allocations: 1.976 MB / 0.6139 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.6223, allocations: 64.03 kB / 0.614 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.6224, allocations: 41.38 kB / 0.614 GB, free: 4.379 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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.0004143/0.6228, allocations: 281.9 kB / 0.6143 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.623, allocations: 67.25 kB / 0.6144 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.6254, allocations: 2.216 MB / 0.6165 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.821e-05/0.6255, allocations: 35.94 kB / 0.6166 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6255, allocations: 3.938 kB / 0.6166 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6255, allocations: 0 / 0.6166 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.6292, allocations: 3.295 MB / 0.6198 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6292, allocations: 4.031 kB / 0.6198 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009643/0.6302, allocations: 183.8 kB / 0.62 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/0.6306, allocations: 88.69 kB / 0.6201 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.6307, allocations: 15.98 kB / 0.6201 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.6322, allocations: 1.991 MB / 0.622 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6322, allocations: 0 / 0.622 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.6345, allocations: 1.989 MB / 0.624 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.6349, allocations: 243.4 kB / 0.6242 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.635, allocations: 27.91 kB / 0.6242 GB, free: 9.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.6356, allocations: 51.89 kB / 0.6243 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.6357, allocations: 40.38 kB / 0.6243 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.6357, allocations: 23.98 kB / 0.6243 GB, free: 9.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006542/0.6364, allocations: 0.5107 MB / 0.6248 GB, free: 9.059 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6364, allocations: 0 / 0.6248 GB, free: 9.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00317/0.6396, allocations: 1.089 MB / 0.6259 GB, free: 7.969 MB / 478.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.00417/0.6438, allocations: 1.215 MB / 0.6271 GB, free: 6.848 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.6457, allocations: 0.9312 MB / 0.628 GB, free: 5.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6457, allocations: 0 / 0.628 GB, free: 5.922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.6469, allocations: 0.6723 MB / 0.6286 GB, free: 5.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.6488, allocations: 368.5 kB / 0.629 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.6522, allocations: 2.691 MB / 0.6316 GB, free: 2.184 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.6529, allocations: 1.117 MB / 0.6327 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009406/0.6538, allocations: 445.3 kB / 0.6331 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.6541, allocations: 63.44 kB / 0.6332 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6541, allocations: 4 kB / 0.6332 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of Templates: time 0.06534/0.7194, allocations: 45.2 MB / 0.6773 GB, free: 3.512 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches