Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.008788/0.008788, allocations: 101 kB / 15.87 MB, free: 6.309 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.002454/0.002454, allocations: 191.1 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 222.6 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3433/0.3433, allocations: 43.49 MB / 313.5 MB, free: 8.195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 63.91 kB / 382 MB, free: 8.473 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1391, allocations: 57.78 MB / 439.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2654/0.4046, allocations: 40.25 MB / 480.1 MB, free: 27.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.4246, allocations: 21.24 MB / 0.4896 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.4259, allocations: 25.38 kB / 0.4896 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.4274, allocations: 414.5 kB / 0.49 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01496/0.4424, allocations: 4.151 MB / 0.494 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007612/0.45, allocations: 2.241 MB / 0.4962 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004591/0.4546, allocations: 2.864 MB / 0.499 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009126/0.4556, allocations: 433.5 kB / 0.4994 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/0.4668, allocations: 4.039 MB / 0.5034 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01392/0.4807, allocations: 5.449 MB / 0.5087 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002962/0.4811, allocations: 40.88 kB / 0.5087 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0172/0.4983, allocations: 7.264 MB / 0.5158 GB, free: 344 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006678/0.499, allocations: 257.4 kB / 0.5161 GB, free: 172 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.5, allocations: 425.1 kB / 0.5165 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.517, allocations: 5.087 MB / 0.5215 GB, free: 12.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.517, allocations: 3.938 kB / 0.5215 GB, free: 12.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.517, allocations: 4 kB / 0.5215 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.065e-05/0.5171, allocations: 0 / 0.5215 GB, free: 12.66 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.007084/0.5242, allocations: 1.665 MB / 0.5231 GB, free: 11.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.5243, allocations: 8.031 kB / 0.5231 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.5266, allocations: 302.7 kB / 0.5234 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5277, allocations: 0.5627 MB / 0.5239 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.5278, allocations: 113.6 kB / 0.524 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.5279, allocations: 56.09 kB / 0.5241 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.5304, allocations: 1.17 MB / 0.5252 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.5304, allocations: 4 kB / 0.5252 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/0.5305, allocations: 24 kB / 0.5253 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-05/0.5306, allocations: 49.17 kB / 0.5253 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.5323, allocations: 0.8518 MB / 0.5261 GB, free: 8.895 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.006453/0.5388, allocations: 5.485 MB / 0.5315 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.54, allocations: 0.5752 MB / 0.5321 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.5404, allocations: 233.6 kB / 0.5323 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09306/0.6335, allocations: 46.19 MB / 0.5774 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.6336, allocations: 46.5 kB / 0.5774 GB, free: 14.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.274e-06/0.6336, allocations: 0 / 0.5774 GB, free: 14.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.005431/0.639, allocations: 1.923 MB / 0.5793 GB, free: 12.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.6392, allocations: 162.2 kB / 0.5795 GB, free: 12.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007616/0.6399, allocations: 0.6171 MB / 0.5801 GB, free: 11.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.64, allocations: 37.7 kB / 0.5801 GB, free: 11.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.6402, allocations: 395.2 kB / 0.5805 GB, free: 11.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.6404, allocations: 173.7 kB / 0.5807 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.6406, allocations: 154.5 kB / 0.5808 GB, free: 11.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6408, allocations: 382.8 kB / 0.5812 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.6411, allocations: 225.8 kB / 0.5814 GB, free: 10.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.6417, allocations: 0.5728 MB / 0.5819 GB, free: 9.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.6427, allocations: 0.8368 MB / 0.5828 GB, free: 8.762 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6427, allocations: 4 kB / 0.5828 GB, free: 8.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001364/0.6441, allocations: 0.8631 MB / 0.5836 GB, free: 7.883 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.6441, allocations: 15.98 kB / 0.5836 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6442, allocations: 11.94 kB / 0.5836 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.6445, allocations: 65.36 kB / 0.5837 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.6457, allocations: 283.6 kB / 0.584 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.6472, allocations: 1.977 MB / 0.5859 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/0.6479, allocations: 60.09 kB / 0.586 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.648, allocations: 40 kB / 0.586 GB, free: 5.281 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.0004527/0.6484, allocations: 281.3 kB / 0.5863 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.6486, allocations: 79.16 kB / 0.5863 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.651, allocations: 2.214 MB / 0.5885 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/0.6511, allocations: 35.94 kB / 0.5885 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6511, allocations: 0 / 0.5885 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6511, allocations: 48 / 0.5885 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.6548, allocations: 3.292 MB / 0.5917 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6548, allocations: 0 / 0.5917 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000916/0.6558, allocations: 187.8 kB / 0.5919 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.6561, allocations: 92.62 kB / 0.592 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.6562, allocations: 11.98 kB / 0.592 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.6576, allocations: 2.003 MB / 0.594 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6577, allocations: 0 / 0.594 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.6599, allocations: 1.985 MB / 0.5959 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/0.6604, allocations: 243.4 kB / 0.5962 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.6605, allocations: 23.84 kB / 0.5962 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.6611, allocations: 55.95 kB / 0.5962 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.6612, allocations: 32.39 kB / 0.5963 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.6612, allocations: 23.98 kB / 0.5963 GB, free: 10.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006459/0.6619, allocations: 0.5184 MB / 0.5968 GB, free: 9.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6619, allocations: 0 / 0.5968 GB, free: 9.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005479/0.6674, allocations: 1.085 MB / 0.5979 GB, free: 8.844 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.006237/0.6736, allocations: 1.212 MB / 0.599 GB, free: 7.637 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.6758, allocations: 0.9396 MB / 0.6 GB, free: 6.703 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.6759, allocations: 0 / 0.6 GB, free: 6.703 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.677, allocations: 0.6716 MB / 0.6006 GB, free: 6.031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.6792, allocations: 379.9 kB / 0.601 GB, free: 5.664 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.6829, allocations: 2.684 MB / 0.6036 GB, free: 2.953 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.6837, allocations: 1.117 MB / 0.6047 GB, free: 1.805 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001012/0.6847, allocations: 441.8 kB / 0.6051 GB, free: 1.367 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.6849, allocations: 63.44 kB / 0.6052 GB, free: 1.305 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6849, allocations: 0 / 0.6052 GB, free: 1.305 MB / 478.1 MB Notification: Performance of Templates: time 0.2852/0.9701, allocations: 45.16 MB / 0.6493 GB, free: 164.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches