Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001746/0.001746, allocations: 110.5 kB / 17.73 MB, free: 5.316 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.001714/0.001714, allocations: 187 kB / 18.67 MB, free: 4.387 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.409/1.409, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001625/0.001625, allocations: 52.14 kB / 328.1 MB, free: 3.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09525, allocations: 46.62 MB / 374.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.2031/0.2984, allocations: 12.85 MB / 387.6 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3006, allocations: 1.708 MB / 389.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.301, allocations: 6.75 kB / 389.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006398/0.3016, allocations: 171.2 kB / 389.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007873/0.3024, allocations: 309 kB / 389.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3035, allocations: 413.9 kB / 390.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009032/0.3044, allocations: 0.8231 MB / 391 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.3046, allocations: 92.86 kB / 391.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005873/0.3052, allocations: 399.3 kB / 391.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.3055, allocations: 261.1 kB / 391.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.3056, allocations: 28.09 kB / 391.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.3059, allocations: 101.1 kB / 391.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.306, allocations: 91.73 kB / 391.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.3062, allocations: 181 kB / 392.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.3069, allocations: 477.1 kB / 392.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3069, allocations: 4 kB / 392.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3069, allocations: 1.094 kB / 392.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3069, allocations: 0 / 392.6 MB, free: 3.641 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008112/0.3077, allocations: 0.5865 MB / 393.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3078, allocations: 9.312 kB / 393.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.3079, allocations: 65.92 kB / 393.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.3081, allocations: 47.75 kB / 393.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.3085, allocations: 298.2 kB / 393.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.3086, allocations: 19.53 kB / 393.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.3086, allocations: 25 kB / 393.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.3091, allocations: 320.5 kB / 393.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3091, allocations: 4.938 kB / 393.9 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.3091, allocations: 16.12 kB / 393.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3092, allocations: 6.375 kB / 393.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.3095, allocations: 188.5 kB / 394.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.3111, allocations: 1.739 MB / 395.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.3113, allocations: 136 kB / 396 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.3114, allocations: 66.05 kB / 396.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3115, allocations: 169.8 kB / 396.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3116, allocations: 37.64 kB / 396.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.3116, allocations: 3.938 kB / 396.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001616/0.3132, allocations: 0.8013 MB / 397.1 MB, free: 88 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.3132, allocations: 54.38 kB / 397.1 MB, free: 24 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.3136, allocations: 287.6 kB / 397.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3136, allocations: 27.3 kB / 397.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.3138, allocations: 195.7 kB / 397.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.206e-05/0.3139, allocations: 79.53 kB / 397.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.314, allocations: 68.83 kB / 397.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3142, allocations: 337.3 kB / 398.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.3143, allocations: 68.36 kB / 398.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.3146, allocations: 194.2 kB / 398.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.315, allocations: 280.7 kB / 398.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.315, allocations: 1.094 kB / 398.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005158/0.3155, allocations: 332.1 kB / 399 MB, free: 14.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3155, allocations: 7.922 kB / 399 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3156, allocations: 6.844 kB / 399 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/0.3157, allocations: 28.28 kB / 399 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.316, allocations: 83.84 kB / 399.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3172, allocations: 1.4 MB / 400.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3174, allocations: 13.06 kB / 400.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.3175, allocations: 18.23 kB / 400.5 MB, free: 13.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.3176, allocations: 158.5 kB / 400.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.3177, allocations: 32.08 kB / 400.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.3181, allocations: 205.6 kB / 400.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3181, allocations: 3.25 kB / 400.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3181, allocations: 4.062 kB / 400.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004655/0.3186, allocations: 483.7 kB / 401.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.3198, allocations: 0.7804 MB / 402.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3198, allocations: 3.5 kB / 402.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.32, allocations: 48.05 kB / 402.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.32, allocations: 3.469 kB / 402.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.32, allocations: 13.14 kB / 402.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.32, allocations: 4.125 kB / 402.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.32, allocations: 2.375 kB / 402.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.3205, allocations: 405 kB / 402.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.3206, allocations: 103.9 kB / 402.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.3207, allocations: 9.422 kB / 402.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3209, allocations: 9.047 kB / 402.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3209, allocations: 22.48 kB / 402.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.321, allocations: 13.06 kB / 402.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.3212, allocations: 206 kB / 403 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3212, allocations: 4.062 kB / 403 MB, free: 11.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004599/0.3217, allocations: 96.69 kB / 403.1 MB, free: 11.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009561/0.3226, allocations: 0.9612 MB / 404 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.3231, allocations: 311.4 kB / 404.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3232, allocations: 1.188 kB / 404.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3233, allocations: 72.42 kB / 404.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.3242, allocations: 160.2 kB / 404.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.3279, allocations: 3.079 MB / 407.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.3284, allocations: 0.7586 MB / 408.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.3286, allocations: 61.98 kB / 408.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3288, allocations: 91.72 kB / 408.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of SimCode: time 2.264e-06/0.3288, allocations: 0 / 408.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.3676, allocations: 8.752 MB / 417.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.17, allocations: 6.094 kB / 417.3 MB, free: 3.098 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches