Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002928/0.002934, allocations: 182.6 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.528/3.528, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 104.4 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006693/0.0006694, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3863, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03629/0.4227, allocations: 27.28 MB / 401.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.4424, allocations: 13.36 MB / 415.2 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.4429, allocations: 4 kB / 415.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009549/0.4438, allocations: 235 kB / 415.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.4446, allocations: 251.3 kB / 415.6 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01761/0.4622, allocations: 4.525 MB / 420.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.4632, allocations: 0.5545 MB / 420.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.4635, allocations: 88.94 kB / 420.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008918/0.4724, allocations: 3.278 MB / 424.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.4729, allocations: 191.3 kB / 424.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.4729, allocations: 16 kB / 424.3 MB, free: 15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01644/0.4894, allocations: 5.939 MB / 430.2 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.4897, allocations: 83.7 kB / 430.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.4899, allocations: 109.6 kB / 430.4 MB, free: 8.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006539/0.4964, allocations: 2.58 MB / 433 MB, free: 6.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4965, allocations: 0 / 433 MB, free: 6.277 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.4965, allocations: 0 / 433 MB, free: 6.277 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.4965, allocations: 0 / 433 MB, free: 6.277 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002805/0.4994, allocations: 0.9084 MB / 433.9 MB, free: 5.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4994, allocations: 12.02 kB / 433.9 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.5013, allocations: 159.4 kB / 434.1 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.5018, allocations: 311.5 kB / 434.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.5019, allocations: 28.61 kB / 434.4 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/0.502, allocations: 31.94 kB / 434.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.5038, allocations: 0.5229 MB / 435 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.5038, allocations: 0 / 435 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.5039, allocations: 16 kB / 435 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5039, allocations: 8 kB / 435 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.5049, allocations: 329.9 kB / 435.3 MB, free: 3.84 MB / 314.7 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.004587/0.5095, allocations: 2.565 MB / 437.9 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.5105, allocations: 281.2 kB / 438.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1126/0.6231, allocations: 31.2 MB / 469.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.6232, allocations: 34.56 kB / 469.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.635e-06/0.6232, allocations: 0 / 469.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.00524/0.6285, allocations: 1.219 MB / 470.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.6286, allocations: 63.33 kB / 470.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.629, allocations: 266.5 kB / 470.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.6291, allocations: 37.64 kB / 471 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.6293, allocations: 242.5 kB / 471.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.6294, allocations: 110.4 kB / 471.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.6295, allocations: 8 kB / 471.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6297, allocations: 326.8 kB / 471.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.63, allocations: 88.84 kB / 471.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.6303, allocations: 210.9 kB / 471.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.6307, allocations: 127.9 kB / 472 MB, free: 11.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6307, allocations: 4 kB / 472.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001188/0.6319, allocations: 395.8 kB / 472.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.632, allocations: 8 kB / 472.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.632, allocations: 15.89 kB / 472.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.6325, allocations: 65.67 kB / 472.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.6332, allocations: 87.84 kB / 472.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.6354, allocations: 2.434 MB / 475 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.6359, allocations: 27.98 kB / 475.1 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.6359, allocations: 19.98 kB / 475.1 MB, free: 7.863 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.6363, allocations: 165.8 kB / 475.3 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.334e-05/0.6364, allocations: 31.62 kB / 475.3 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.6381, allocations: 0.8669 MB / 476.2 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.6381, allocations: 4 kB / 476.2 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-06/0.6381, allocations: 0 / 476.2 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.6396, allocations: 1.049 MB / 477.2 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.6423, allocations: 1.485 MB / 478.7 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.6423, allocations: 4 kB / 478.7 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.6428, allocations: 47.97 kB / 478.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005864/0.6434, allocations: 84.62 kB / 478.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.6434, allocations: 7.953 kB / 478.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005031/0.6439, allocations: 0.5954 MB / 479.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.644, allocations: 0 / 479.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.6455, allocations: 0.8235 MB / 480.3 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.6457, allocations: 136.5 kB / 480.4 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.6458, allocations: 4 kB / 480.4 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.6465, allocations: 44.03 kB / 480.4 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.6465, allocations: 23.97 kB / 480.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.6466, allocations: 15.98 kB / 480.5 MB, free: 2.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003735/0.647, allocations: 235.1 kB / 480.7 MB, free: 2.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.647, allocations: 0 / 480.7 MB, free: 2.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003186/0.6502, allocations: 0.8589 MB / 481.6 MB, free: 1.148 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006156/0.6564, allocations: 0.9738 MB / 482.5 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.6579, allocations: 474.3 kB / 483 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.6579, allocations: 1 kB / 483 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.6585, allocations: 245.5 kB / 483.2 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.6603, allocations: 190.7 kB / 483.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.6629, allocations: 1.224 MB / 484.6 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.6634, allocations: 0.8328 MB / 485.5 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6636, allocations: 31.44 kB / 485.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6636, allocations: 0 / 485.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of Templates: time 0.05752/0.7211, allocations: 25.6 MB / 0.4991 GB, free: 3.492 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches