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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 168.8 kB / 16.72 MB, free: 5.051 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.252/1.252, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007047/0.0007047, allocations: 85.55 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 8 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.02163/0.2234, allocations: 30.22 MB / 405.4 MB, free: 18.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.2353, allocations: 14.63 MB / 420.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.2357, allocations: 7.938 kB / 420.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006416/0.2364, allocations: 226.8 kB / 420.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.237, allocations: 322.2 kB / 420.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01243/0.2494, allocations: 4.453 MB / 425 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2508, allocations: 1.2 MB / 426.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.251, allocations: 90.02 kB / 426.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.2564, allocations: 3.313 MB / 429.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.2568, allocations: 286.9 kB / 429.9 MB, free: 9.852 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.2569, allocations: 20 kB / 429.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006186/0.2631, allocations: 3.352 MB / 433.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.2633, allocations: 83.66 kB / 433.4 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.2636, allocations: 217 kB / 433.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.266, allocations: 1.649 MB / 435.2 MB, free: 4.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.266, allocations: 0 / 435.2 MB, free: 4.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.266, allocations: 0 / 435.2 MB, free: 4.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.266, allocations: 0 / 435.2 MB, free: 4.527 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.001314/0.2673, allocations: 0.7408 MB / 436 MB, free: 3.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2674, allocations: 8.031 kB / 436 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.2675, allocations: 70.72 kB / 436.1 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006416/0.2681, allocations: 88.41 kB / 436.1 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.2685, allocations: 303.7 kB / 436.4 MB, free: 3.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.2686, allocations: 29.03 kB / 436.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.2686, allocations: 32.12 kB / 436.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/0.2694, allocations: 442.2 kB / 436.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.2694, allocations: 3.984 kB / 436.9 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.2695, allocations: 12 kB / 437 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2695, allocations: 8 kB / 437 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.2701, allocations: 317.8 kB / 437.3 MB, free: 2.355 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.002506/0.2726, allocations: 2.622 MB / 439.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.2731, allocations: 250.5 kB / 440.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2732, allocations: 110.3 kB / 440.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03022/0.3035, allocations: 15.59 MB / 455.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.3036, allocations: 30.56 kB / 455.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/0.3036, allocations: 0 / 455.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.004258/0.3078, allocations: 1.317 MB / 457.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.3079, allocations: 59.34 kB / 457.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.3082, allocations: 266.5 kB / 457.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3082, allocations: 29.7 kB / 457.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3083, allocations: 200 kB / 457.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.3084, allocations: 98.47 kB / 457.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.3085, allocations: 12 kB / 457.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3086, allocations: 342.8 kB / 458.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.3088, allocations: 92.84 kB / 458.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.309, allocations: 222.9 kB / 458.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.3095, allocations: 350.3 kB / 458.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3095, allocations: 0 / 458.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007255/0.3102, allocations: 438.5 kB / 459.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3102, allocations: 8 kB / 459.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3103, allocations: 4 kB / 459.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/0.3131, allocations: 273.8 kB / 459.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.3134, allocations: 79.91 kB / 459.6 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.3148, allocations: 1.875 MB / 461.5 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.315, allocations: 35.95 kB / 461.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.3151, allocations: 16 kB / 461.5 MB, free: 7.629 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.0001769/0.3152, allocations: 162 kB / 461.7 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.3153, allocations: 31.66 kB / 461.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.3164, allocations: 0.9551 MB / 462.7 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.3164, allocations: 11.98 kB / 462.7 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3164, allocations: 0 / 462.7 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009781/0.3174, allocations: 1.118 MB / 463.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.3192, allocations: 1.588 MB / 465.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3192, allocations: 4 kB / 465.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.3194, allocations: 55.91 kB / 465.4 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.321, allocations: 295.8 kB / 465.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.321, allocations: 4 kB / 465.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005105/0.3215, allocations: 0.6772 MB / 466.4 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3215, allocations: 0 / 466.4 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3226, allocations: 0.9409 MB / 467.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3227, allocations: 136.5 kB / 467.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.3228, allocations: 8.062 kB / 467.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.323, allocations: 19.94 kB / 467.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.323, allocations: 23.97 kB / 467.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3231, allocations: 7.984 kB / 467.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.3233, allocations: 235.1 kB / 467.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.3233, allocations: 0 / 467.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001299/0.3246, allocations: 0.4998 MB / 468.3 MB, free: 0.6133 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.003164/0.3278, allocations: 1.915 MB / 470.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008279/0.3286, allocations: 0.5188 MB / 470.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3286, allocations: 0 / 470.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.329, allocations: 296.3 kB / 471 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.3301, allocations: 188.9 kB / 471.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.3342, allocations: 2.566 MB / 473.8 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3345, allocations: 0.8167 MB / 474.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.3348, allocations: 155.4 kB / 474.7 MB, free: 10 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3348, allocations: 0 / 474.7 MB, free: 10 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.025/4.36, allocations: 15.86 MB / 490.6 MB, free: 10.12 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > 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/jenkins1/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