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.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 175.5 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007195/0.0007193, allocations: 88.98 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 12 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.02462/0.259, allocations: 30.2 MB / 405.3 MB, free: 18.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.2724, allocations: 14.65 MB / 420 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.2729, allocations: 7.938 kB / 420 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.2736, allocations: 210.8 kB / 420.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006903/0.2743, allocations: 338.2 kB / 420.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01414/0.2885, allocations: 4.445 MB / 424.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.2901, allocations: 1.196 MB / 426.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.2903, allocations: 90.05 kB / 426.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005658/0.296, allocations: 3.317 MB / 429.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.2964, allocations: 282.9 kB / 429.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.2965, allocations: 20 kB / 429.8 MB, free: 9.852 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006635/0.3031, allocations: 3.355 MB / 433.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.3033, allocations: 83.7 kB / 433.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.3037, allocations: 213 kB / 433.5 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.3063, allocations: 1.637 MB / 435.1 MB, free: 4.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3063, allocations: 0 / 435.1 MB, free: 4.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3063, allocations: 0 / 435.1 MB, free: 4.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3063, allocations: 0 / 435.1 MB, free: 4.559 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.001482/0.3078, allocations: 0.7526 MB / 435.9 MB, free: 3.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3079, allocations: 11.97 kB / 435.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.3086, allocations: 88.42 kB / 436 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.3089, allocations: 299.7 kB / 436.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.309, allocations: 25.03 kB / 436.3 MB, free: 3.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.309, allocations: 28.38 kB / 436.3 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.3098, allocations: 450.1 kB / 436.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3098, allocations: 0 / 436.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.3099, allocations: 16 kB / 436.8 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3099, allocations: 12 kB / 436.8 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.3105, allocations: 313.8 kB / 437.1 MB, free: 2.453 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.002629/0.3131, allocations: 2.629 MB / 439.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.3136, allocations: 250.5 kB / 440 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.3138, allocations: 106.5 kB / 440.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03011/0.3439, allocations: 15.6 MB / 455.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.344, allocations: 34.56 kB / 455.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/0.344, allocations: 0 / 455.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.004498/0.3485, allocations: 1.317 MB / 457 MB, free: 12.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3486, allocations: 51.41 kB / 457.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.3489, allocations: 278.5 kB / 457.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.349, allocations: 29.7 kB / 457.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.3491, allocations: 192 kB / 457.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.3492, allocations: 110.5 kB / 457.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.3492, allocations: 4 kB / 457.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3493, allocations: 338.8 kB / 458 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3495, allocations: 96.83 kB / 458.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.3498, allocations: 222 kB / 458.3 MB, free: 11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.3502, allocations: 354.3 kB / 458.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3502, allocations: 0 / 458.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007398/0.351, allocations: 438.5 kB / 459.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.351, allocations: 8.5 kB / 459.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.351, allocations: 8 kB / 459.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00304/0.3541, allocations: 265.4 kB / 459.4 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3544, allocations: 83.84 kB / 459.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.3559, allocations: 1.868 MB / 461.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.3562, allocations: 31.89 kB / 461.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.3562, allocations: 27.97 kB / 461.4 MB, free: 7.715 MB / 346.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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.3564, allocations: 166 kB / 461.5 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.3565, allocations: 35.66 kB / 461.6 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.3576, allocations: 0.9513 MB / 462.5 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.3577, allocations: 8 kB / 462.5 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3577, allocations: 7.922 kB / 462.5 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009632/0.3586, allocations: 1.107 MB / 463.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.3605, allocations: 1.595 MB / 465.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.3605, allocations: 0 / 465.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.3607, allocations: 55.91 kB / 465.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.3623, allocations: 295.8 kB / 465.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.3624, allocations: 7.938 kB / 465.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005412/0.3629, allocations: 0.6694 MB / 466.3 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3629, allocations: 3.938 kB / 466.3 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3642, allocations: 0.9488 MB / 467.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3643, allocations: 136.5 kB / 467.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.3644, allocations: 7.938 kB / 467.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.3646, allocations: 19.92 kB / 467.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3647, allocations: 20.05 kB / 467.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3647, allocations: 15.98 kB / 467.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.365, allocations: 235.1 kB / 467.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.365, allocations: 0 / 467.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001499/0.3665, allocations: 0.492 MB / 468.1 MB, free: 0.6953 MB / 346.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.T) * 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 (30): * Single equations (assignments): 27 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002/0.3685, allocations: 0.5143 MB / 468.6 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009052/0.3694, allocations: 0.5154 MB / 469.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3694, allocations: 0 / 469.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.3698, allocations: 300.2 kB / 469.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3709, allocations: 189 kB / 469.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3726, allocations: 1.253 MB / 470.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.373, allocations: 0.8278 MB / 471.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.3731, allocations: 31.44 kB / 471.7 MB, free: 13 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3731, allocations: 0 / 471.7 MB, free: 13 MB / 362.7 MB Notification: Performance of Templates: time 0.02191/0.395, allocations: 15.08 MB / 486.8 MB, free: 13.91 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches