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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 48.44 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2739, allocations: 49.17 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02864/0.3026, allocations: 24.89 MB / 421.3 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.3066, allocations: 2.523 MB / 423.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.3069, allocations: 7.938 kB / 423.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.3076, allocations: 169.5 kB / 424 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007806/0.3084, allocations: 325.4 kB / 424.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.3111, allocations: 0.9993 MB / 425.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.3125, allocations: 0.9164 MB / 426.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.3127, allocations: 86.69 kB / 426.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005361/0.3181, allocations: 2.78 MB / 429.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.3187, allocations: 294.1 kB / 429.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.3187, allocations: 33.25 kB / 429.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.3195, allocations: 259.5 kB / 429.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.3196, allocations: 98.5 kB / 429.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.3198, allocations: 191.4 kB / 429.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.3207, allocations: 0.5783 MB / 430.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3207, allocations: 0 / 430.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3207, allocations: 0 / 430.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3207, allocations: 0 / 430.5 MB, free: 1.035 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.0009074/0.3216, allocations: 0.5644 MB / 431.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3216, allocations: 16.08 kB / 431.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.157e-05/0.3217, allocations: 58.73 kB / 431.1 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.3221, allocations: 52.73 kB / 431.2 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.3226, allocations: 241.7 kB / 431.4 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.3226, allocations: 25.03 kB / 431.5 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.3226, allocations: 24.38 kB / 431.5 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.3232, allocations: 343.4 kB / 431.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.3232, allocations: 3.938 kB / 431.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.3233, allocations: 12 kB / 431.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.3233, allocations: 12 kB / 431.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.3236, allocations: 189.5 kB / 432 MB, free: 15.53 MB / 350.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.002058/0.3257, allocations: 1.625 MB / 433.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.326, allocations: 182.5 kB / 433.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3261, allocations: 76.83 kB / 433.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/0.3262, allocations: 19.98 kB / 433.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.3262, allocations: 34.5 kB / 434 MB, free: 13.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.3263, allocations: 0 / 434 MB, free: 13.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002517/0.3288, allocations: 0.8724 MB / 434.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3288, allocations: 63.34 kB / 434.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.3291, allocations: 269.8 kB / 435.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.3291, allocations: 33.69 kB / 435.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3293, allocations: 184.4 kB / 435.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.3294, allocations: 115 kB / 435.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3295, allocations: 66.08 kB / 435.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3297, allocations: 342.8 kB / 435.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3298, allocations: 80.72 kB / 436 MB, free: 11.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.33, allocations: 170.9 kB / 436.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.3305, allocations: 277.1 kB / 436.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3305, allocations: 4 kB / 436.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006459/0.3311, allocations: 377.8 kB / 436.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3311, allocations: 4 kB / 436.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.3312, allocations: 7.938 kB / 436.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004375/0.3316, allocations: 101.1 kB / 436.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.3319, allocations: 63.91 kB / 436.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006308/0.3325, allocations: 0.6538 MB / 437.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.3327, allocations: 12.09 kB / 437.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3327, allocations: 15.94 kB / 437.6 MB, free: 9.609 MB / 350.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.0002085/0.3329, allocations: 157.8 kB / 437.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.333, allocations: 35.75 kB / 437.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/0.3337, allocations: 364.9 kB / 438.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3337, allocations: 4 kB / 438.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3337, allocations: 3.984 kB / 438.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005848/0.3343, allocations: 0.5514 MB / 438.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.3354, allocations: 0.7104 MB / 439.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3354, allocations: 4 kB / 439.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.3356, allocations: 35.91 kB / 439.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.3361, allocations: 96.78 kB / 439.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3361, allocations: 12.06 kB / 439.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005814/0.3367, allocations: 0.6381 MB / 440.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3367, allocations: 3.938 kB / 440.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.3374, allocations: 489.7 kB / 440.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.3375, allocations: 23.89 kB / 440.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.3375, allocations: 4 kB / 440.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.3378, allocations: 7.984 kB / 440.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.3378, allocations: 23.91 kB / 440.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.3378, allocations: 19.98 kB / 440.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.3381, allocations: 193.3 kB / 441 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 4 kB / 441 MB, free: 6.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.3385, allocations: 111.9 kB / 441.1 MB, free: 5.91 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.001255/0.3398, allocations: 1.053 MB / 442.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005367/0.3403, allocations: 235.4 kB / 442.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3403, allocations: 0 / 442.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.3406, allocations: 112.7 kB / 442.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/0.3415, allocations: 172.6 kB / 442.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.3459, allocations: 3.105 MB / 445.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.3463, allocations: 0.7645 MB / 446.5 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.3467, allocations: 63.23 kB / 446.6 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.3468, allocations: 99.33 kB / 446.7 MB, free: 116 kB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3468, allocations: 0 / 446.7 MB, free: 116 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.3905, allocations: 10.62 MB / 457.3 MB, free: 5.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.12, allocations: 3.938 kB / 457.3 MB, free: 5.43 MB / 366.1 MB " [Timeout remaining time 647] (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.000201919 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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.481296707999718]