Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",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.001324/0.001325, allocations: 109.4 kB / 17.73 MB, free: 5.34 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.001236/0.001236, allocations: 184.1 kB / 18.66 MB, free: 4.414 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.447/1.447, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001654/0.001654, allocations: 52.14 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08557, allocations: 46.61 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.1904/0.276, allocations: 24.58 MB / 399.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.2798, allocations: 2.496 MB / 401.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.2802, allocations: 3.75 kB / 401.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.2809, allocations: 167.1 kB / 401.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007437/0.2816, allocations: 315.1 kB / 402.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.284, allocations: 0.9751 MB / 403.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.2851, allocations: 0.8893 MB / 404.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.2853, allocations: 105.6 kB / 404.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.29, allocations: 2.729 MB / 406.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.2906, allocations: 269.2 kB / 407.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.2907, allocations: 30.25 kB / 407.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.2913, allocations: 243.7 kB / 407.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.2914, allocations: 97.62 kB / 407.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.2917, allocations: 191.6 kB / 407.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.2924, allocations: 0.572 MB / 408.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2924, allocations: 3.938 kB / 408.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.2924, allocations: 7.938 kB / 408.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2924, allocations: 4.844 kB / 408.3 MB, free: 9.672 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008778/0.2933, allocations: 0.627 MB / 409 MB, free: 9.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2934, allocations: 13.42 kB / 409 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.2935, allocations: 60.23 kB / 409 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.2938, allocations: 48.83 kB / 409.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.2943, allocations: 308.5 kB / 409.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2943, allocations: 19.19 kB / 409.4 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.2944, allocations: 28.48 kB / 409.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.2949, allocations: 335.2 kB / 409.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2949, allocations: 1.125 kB / 409.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.295, allocations: 12.44 kB / 409.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.295, allocations: 7.625 kB / 409.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.2953, allocations: 195.5 kB / 410 MB, free: 8.355 MB / 334.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.002374/0.2977, allocations: 2.112 MB / 412.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.298, allocations: 186.8 kB / 412.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.2982, allocations: 86.61 kB / 412.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.2984, allocations: 254.4 kB / 412.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2984, allocations: 36.78 kB / 412.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.953e-06/0.2984, allocations: 3.938 kB / 412.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002553/0.301, allocations: 1.027 MB / 413.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3011, allocations: 54.5 kB / 413.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3013, allocations: 262.2 kB / 414 MB, free: 4.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.3014, allocations: 30.98 kB / 414 MB, free: 4.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3015, allocations: 183.8 kB / 414.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3016, allocations: 123.4 kB / 414.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3017, allocations: 65.17 kB / 414.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3019, allocations: 341.2 kB / 414.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3021, allocations: 89.64 kB / 414.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.3023, allocations: 171.6 kB / 415 MB, free: 3.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.3027, allocations: 282.2 kB / 415.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3027, allocations: 1.562 kB / 415.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005998/0.3033, allocations: 384.8 kB / 415.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3033, allocations: 6.375 kB / 415.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3033, allocations: 1.969 kB / 415.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.3037, allocations: 92.59 kB / 415.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.304, allocations: 70.81 kB / 415.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006544/0.3046, allocations: 0.6588 MB / 416.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.3049, allocations: 8.562 kB / 416.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3049, allocations: 22.2 kB / 416.5 MB, free: 2.805 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.3051, allocations: 158.6 kB / 416.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.3052, allocations: 35.66 kB / 416.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006649/0.3059, allocations: 370.2 kB / 417 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3059, allocations: 6.844 kB / 417 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3059, allocations: 4.062 kB / 417 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005846/0.3065, allocations: 0.5479 MB / 417.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.3076, allocations: 0.74 MB / 418.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3076, allocations: 0 / 418.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3078, allocations: 47.41 kB / 418.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/0.3083, allocations: 95.34 kB / 418.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3083, allocations: 7.75 kB / 418.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005715/0.3089, allocations: 0.6441 MB / 419.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3089, allocations: 5.156 kB / 419.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007702/0.3097, allocations: 0.4921 MB / 419.6 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.3098, allocations: 96.16 kB / 419.7 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.3099, allocations: 7.984 kB / 419.7 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.3101, allocations: 12.94 kB / 419.7 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.3101, allocations: 11.61 kB / 419.7 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.3102, allocations: 18.67 kB / 419.8 MB, free: 84 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.3104, allocations: 194.8 kB / 419.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3104, allocations: 2.938 kB / 419.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.3108, allocations: 111.1 kB / 420.1 MB, free: 15.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/0.312, allocations: 1.06 MB / 421.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.3126, allocations: 251.2 kB / 421.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3126, allocations: 0 / 421.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.3129, allocations: 123.6 kB / 421.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009554/0.3138, allocations: 169.7 kB / 421.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.3181, allocations: 3.11 MB / 424.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.3184, allocations: 0.7622 MB / 425.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.3187, allocations: 64.09 kB / 425.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3189, allocations: 102.4 kB / 425.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3189, allocations: 1.281 kB / 425.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.3567, allocations: 10.29 MB / 436 MB, free: 1.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.13, allocations: 3.984 kB / 436 MB, free: 1.391 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_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_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches