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.00121/0.00121, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001183/0.001183, allocations: 187 kB / 18.67 MB, free: 4.402 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.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.00133/0.00133, allocations: 48.16 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08338, allocations: 46.62 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.2016/0.2851, allocations: 24.55 MB / 399.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.2884, allocations: 2.497 MB / 401.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.2887, allocations: 4.094 kB / 401.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.2893, allocations: 166.8 kB / 401.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006254/0.2899, allocations: 323 kB / 402.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.2925, allocations: 1.025 MB / 403.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.2936, allocations: 0.9001 MB / 404.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.2938, allocations: 106.4 kB / 404.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004563/0.2984, allocations: 3.065 MB / 407.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.2989, allocations: 268.7 kB / 407.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.2989, allocations: 29.81 kB / 407.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006143/0.2995, allocations: 239 kB / 407.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2997, allocations: 102.8 kB / 407.9 MB, free: 10 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.2999, allocations: 190.5 kB / 408.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.3006, allocations: 0.5804 MB / 408.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3006, allocations: 0 / 408.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3006, allocations: 1.062 kB / 408.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3006, allocations: 0 / 408.7 MB, free: 9.508 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.0008903/0.3015, allocations: 0.6345 MB / 409.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3016, allocations: 9.156 kB / 409.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.385e-05/0.3017, allocations: 64.17 kB / 409.4 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.302, allocations: 54.08 kB / 409.5 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.3025, allocations: 304.6 kB / 409.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3025, allocations: 20.11 kB / 409.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.3026, allocations: 28.75 kB / 409.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.3031, allocations: 340.8 kB / 410.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3031, allocations: 1.25 kB / 410.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.3032, allocations: 11.5 kB / 410.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3032, allocations: 7.031 kB / 410.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.3035, allocations: 193.2 kB / 410.4 MB, free: 8.18 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.002016/0.3055, allocations: 2.115 MB / 412.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.3058, allocations: 190.8 kB / 412.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.306, allocations: 90.52 kB / 412.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.3062, allocations: 245.6 kB / 413 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3062, allocations: 36.81 kB / 413 MB, free: 5.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.864e-06/0.3062, allocations: 0 / 413 MB, free: 5.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002396/0.3086, allocations: 1.025 MB / 414 MB, free: 4.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.3087, allocations: 55.69 kB / 414.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3089, allocations: 260.6 kB / 414.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.309, allocations: 36.27 kB / 414.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3091, allocations: 186.7 kB / 414.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.3092, allocations: 115.8 kB / 414.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3093, allocations: 69.84 kB / 414.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3094, allocations: 341.5 kB / 415.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3096, allocations: 81.19 kB / 415.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.3098, allocations: 179.6 kB / 415.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.3102, allocations: 279.7 kB / 415.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3102, allocations: 1.281 kB / 415.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005943/0.3108, allocations: 378 kB / 416 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3108, allocations: 5.344 kB / 416 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3108, allocations: 3.375 kB / 416 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.3112, allocations: 103.7 kB / 416.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3115, allocations: 63.72 kB / 416.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005388/0.312, allocations: 0.6625 MB / 416.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.3122, allocations: 11.66 kB / 416.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3122, allocations: 18.16 kB / 416.9 MB, free: 2.625 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.0001599/0.3124, allocations: 151.4 kB / 417 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.3125, allocations: 38.55 kB / 417 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.3131, allocations: 384.5 kB / 417.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3131, allocations: 2.906 kB / 417.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3131, allocations: 0 / 417.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004933/0.3136, allocations: 0.5437 MB / 418 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.3147, allocations: 0.7474 MB / 418.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3147, allocations: 5.156 kB / 418.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.3148, allocations: 30.52 kB / 418.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.3153, allocations: 99.7 kB / 418.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3153, allocations: 11.02 kB / 418.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004701/0.3158, allocations: 0.639 MB / 419.5 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3158, allocations: 6.25 kB / 419.5 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.3165, allocations: 486.4 kB / 420 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/0.3166, allocations: 104.4 kB / 420.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.3167, allocations: 14.16 kB / 420.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3169, allocations: 9.156 kB / 420.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.3169, allocations: 15.12 kB / 420.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.317, allocations: 18.83 kB / 420.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.3172, allocations: 194 kB / 420.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3172, allocations: 0 / 420.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004143/0.3176, allocations: 110.8 kB / 420.4 MB, free: 15.76 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.0011/0.3187, allocations: 1.068 MB / 421.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004801/0.3192, allocations: 254.3 kB / 421.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.3192, allocations: 4 kB / 421.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.3195, allocations: 124.9 kB / 421.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/0.3204, allocations: 168.5 kB / 422 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.324, allocations: 3.1 MB / 425.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3244, allocations: 0.761 MB / 425.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.3246, allocations: 67.19 kB / 426 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3248, allocations: 99.38 kB / 426.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3248, allocations: 0 / 426.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3531, allocations: 10.28 MB / 436.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.81, allocations: 11.86 kB / 436.3 MB, free: 1.004 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