Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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) 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 118.3 kB / 17.28 MB, free: 6.219 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.001301/0.001301, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.326/1.326, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.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.001079/0.001079, allocations: 55.92 kB / 280.3 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08122/0.08231, allocations: 46.63 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03113/0.1135, allocations: 32.49 MB / 359.4 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02349/0.137, allocations: 15.77 MB / 375.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.1376, allocations: 7.938 kB / 375.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1387, allocations: 242.8 kB / 375.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1398, allocations: 338.2 kB / 375.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1782/0.318, allocations: 5.126 MB / 380.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.3194, allocations: 0.9773 MB / 381.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.3196, allocations: 112.1 kB / 381.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004949/0.3246, allocations: 2.171 MB / 384.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.325, allocations: 311 kB / 384.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.3251, allocations: 35.66 kB / 384.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007261/0.3324, allocations: 3.523 MB / 388 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.3326, allocations: 107.1 kB / 388.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.333, allocations: 219.6 kB / 388.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.3369, allocations: 2.358 MB / 390.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3369, allocations: 0 / 390.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3369, allocations: 2.406 kB / 390.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.3369, allocations: 0 / 390.7 MB, free: 11.81 MB / 318.1 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.001586/0.3385, allocations: 0.8112 MB / 391.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3386, allocations: 11.22 kB / 391.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.863e-05/0.3386, allocations: 73.77 kB / 391.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007499/0.3394, allocations: 84.95 kB / 391.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.3397, allocations: 298.7 kB / 391.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3398, allocations: 23.78 kB / 391.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.3398, allocations: 35.23 kB / 392 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.3406, allocations: 449 kB / 392.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3406, allocations: 5.531 kB / 392.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.3406, allocations: 18.94 kB / 392.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3406, allocations: 6.156 kB / 392.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.3412, allocations: 319.7 kB / 392.8 MB, free: 10.88 MB / 318.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.002127/0.3433, allocations: 2.623 MB / 395.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.3439, allocations: 245.1 kB / 395.6 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.344, allocations: 107.1 kB / 395.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02827/0.3723, allocations: 15.48 MB / 411.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.3724, allocations: 39.56 kB / 411.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.255e-06/0.3724, allocations: 0 / 411.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004721/0.3771, allocations: 1.311 MB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3772, allocations: 58.12 kB / 412.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.3775, allocations: 270.4 kB / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.3775, allocations: 28.45 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3776, allocations: 197.8 kB / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.3777, allocations: 112.2 kB / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3778, allocations: 80.22 kB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.378, allocations: 339.4 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3781, allocations: 98.12 kB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.3784, allocations: 219.5 kB / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.3788, allocations: 360.1 kB / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3788, allocations: 2.906 kB / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006949/0.3795, allocations: 434.9 kB / 414.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3795, allocations: 5.438 kB / 414.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3796, allocations: 5.156 kB / 414.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/0.3826, allocations: 270.1 kB / 415 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.383, allocations: 81.55 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.3846, allocations: 1.979 MB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.385, allocations: 22.67 kB / 417.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.3851, allocations: 19.56 kB / 417.1 MB, free: 10.14 MB / 334.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.3853, allocations: 182.4 kB / 417.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.3854, allocations: 30.5 kB / 417.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3864, allocations: 0.9435 MB / 418.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.3864, allocations: 9.422 kB / 418.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3864, allocations: 0 / 418.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008723/0.3873, allocations: 1.12 MB / 419.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.3892, allocations: 1.582 MB / 420.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3892, allocations: 4 kB / 420.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3894, allocations: 54.81 kB / 421 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.3911, allocations: 284.1 kB / 421.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.3912, allocations: 18.42 kB / 421.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005449/0.3917, allocations: 0.6571 MB / 422 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3917, allocations: 6.109 kB / 422 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3928, allocations: 0.962 MB / 422.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.393, allocations: 112.6 kB / 423 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.393, allocations: 19.66 kB / 423.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3933, allocations: 19.86 kB / 423.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.3933, allocations: 15.97 kB / 423.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3934, allocations: 11.88 kB / 423.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.3936, allocations: 239.7 kB / 423.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3936, allocations: 4 kB / 423.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002052/0.3957, allocations: 0.4886 MB / 423.8 MB, free: 5.691 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004472/0.4001, allocations: 1.905 MB / 425.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.4013, allocations: 0.5393 MB / 426.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4013, allocations: 4 kB / 426.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.4018, allocations: 295 kB / 426.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4029, allocations: 201.2 kB / 426.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/0.4097, allocations: 4.145 MB / 430.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.4102, allocations: 0.8284 MB / 431.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.4106, allocations: 110.2 kB / 431.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.4108, allocations: 143.4 kB / 432 MB, free: 13.9 MB / 350.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4109, allocations: 0 / 432 MB, free: 13.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/0.4596, allocations: 23.07 MB / 455.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.4598, allocations: 252.3 kB / 455.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.099, allocations: 4 kB / 455.3 MB, free: 6.586 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches