Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",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.001344/0.001344, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001357/0.001357, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.368/1.368, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00122/0.00122, allocations: 59.88 kB / 328.1 MB, free: 3.754 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08662, allocations: 46.61 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.2102/0.2969, allocations: 24.57 MB / 399.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.3004, allocations: 2.49 MB / 401.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.3006, allocations: 8.594 kB / 401.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.3012, allocations: 161.6 kB / 401.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.3019, allocations: 315.8 kB / 402.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.3043, allocations: 1.022 MB / 403.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.3053, allocations: 0.8923 MB / 404.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.3055, allocations: 114.9 kB / 404.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004709/0.3102, allocations: 3.055 MB / 407.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.3107, allocations: 281.9 kB / 407.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.3108, allocations: 29.59 kB / 407.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.3115, allocations: 242.9 kB / 407.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.3117, allocations: 86.09 kB / 407.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.312, allocations: 198.8 kB / 408.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009519/0.3129, allocations: 0.5743 MB / 408.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.313, allocations: 0 / 408.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.313, allocations: 0 / 408.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.313, allocations: 0 / 408.7 MB, free: 9.531 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.001184/0.3142, allocations: 0.6249 MB / 409.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3142, allocations: 12.62 kB / 409.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.616e-05/0.3143, allocations: 68.66 kB / 409.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004134/0.3148, allocations: 53.14 kB / 409.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.3153, allocations: 293.2 kB / 409.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3154, allocations: 18.66 kB / 409.8 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.3154, allocations: 25 kB / 409.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.316, allocations: 341.7 kB / 410.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3161, allocations: 5.031 kB / 410.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.3161, allocations: 12.56 kB / 410.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3161, allocations: 6.312 kB / 410.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.3165, allocations: 192 kB / 410.3 MB, free: 8.219 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.002274/0.3188, allocations: 2.115 MB / 412.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.3191, allocations: 182.7 kB / 412.6 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3193, allocations: 86.77 kB / 412.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.3195, allocations: 253.7 kB / 412.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3196, allocations: 40.72 kB / 413 MB, free: 5.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.3196, allocations: 0 / 413 MB, free: 5.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.00293/0.3225, allocations: 1.015 MB / 414 MB, free: 4.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3226, allocations: 59 kB / 414.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.3229, allocations: 268.2 kB / 414.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.323, allocations: 32.52 kB / 414.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.3232, allocations: 182.6 kB / 414.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.937e-05/0.3233, allocations: 99.61 kB / 414.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3234, allocations: 77.72 kB / 414.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3236, allocations: 340.5 kB / 415 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3238, allocations: 85.61 kB / 415.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.324, allocations: 172.2 kB / 415.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.3244, allocations: 281.5 kB / 415.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3245, allocations: 1.125 kB / 415.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006207/0.3251, allocations: 381.8 kB / 415.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3251, allocations: 5.781 kB / 415.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3251, allocations: 3.156 kB / 415.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.3255, allocations: 104.5 kB / 416 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3258, allocations: 68.11 kB / 416.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005616/0.3264, allocations: 0.6465 MB / 416.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3266, allocations: 11.75 kB / 416.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.3266, allocations: 15.5 kB / 416.8 MB, free: 2.691 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.0002093/0.3269, allocations: 162.5 kB / 416.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.3269, allocations: 34.72 kB / 417 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.3277, allocations: 379.1 kB / 417.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3277, allocations: 6.094 kB / 417.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3277, allocations: 0 / 417.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005516/0.3283, allocations: 0.5558 MB / 417.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.3294, allocations: 0.7395 MB / 418.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3294, allocations: 1.406 kB / 418.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.3296, allocations: 34.23 kB / 418.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.3301, allocations: 103.7 kB / 418.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3301, allocations: 9.625 kB / 418.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005171/0.3306, allocations: 0.6334 MB / 419.4 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3306, allocations: 0 / 419.4 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.3314, allocations: 497.8 kB / 419.9 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3315, allocations: 100.7 kB / 420 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.3316, allocations: 2.172 kB / 420 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.3318, allocations: 16.23 kB / 420 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.3319, allocations: 19.42 kB / 420.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.3319, allocations: 17.89 kB / 420.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.3322, allocations: 199.7 kB / 420.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3322, allocations: 0 / 420.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.3327, allocations: 122.6 kB / 420.4 MB, free: 15.8 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.001175/0.3339, allocations: 1.052 MB / 421.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.3344, allocations: 257.8 kB / 421.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3344, allocations: 1.5 kB / 421.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.3347, allocations: 113.6 kB / 421.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.3356, allocations: 168.2 kB / 422 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.3395, allocations: 3.101 MB / 425.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3399, allocations: 0.7618 MB / 425.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.3402, allocations: 67.17 kB / 425.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3403, allocations: 95.39 kB / 426 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3403, allocations: 4 kB / 426 MB, free: 11.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.3718, allocations: 10.28 MB / 436.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.55, allocations: 11.86 kB / 436.3 MB, free: 1.074 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_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_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_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/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches