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.001503/0.001503, allocations: 105.5 kB / 17.73 MB, free: 5.367 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.00159/0.00159, allocations: 192 kB / 18.66 MB, free: 4.445 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.239/1.239, 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.001371/0.001371, allocations: 60.14 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09192, 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.Glycol47): time 0.1883/0.2803, allocations: 24.57 MB / 399.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.2837, allocations: 2.499 MB / 401.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.2842, allocations: 4.219 kB / 401.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.2849, allocations: 166.8 kB / 401.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007184/0.2856, allocations: 311.1 kB / 402.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.2879, allocations: 0.9681 MB / 403.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009891/0.2889, allocations: 0.8964 MB / 404.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2891, allocations: 111.5 kB / 404.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.2934, allocations: 2.724 MB / 406.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.2938, allocations: 269.1 kB / 407.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.2939, allocations: 30.25 kB / 407.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.2944, allocations: 243.2 kB / 407.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2945, allocations: 94.47 kB / 407.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.2947, allocations: 198.6 kB / 407.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.2954, allocations: 0.5733 MB / 408.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2954, allocations: 1.25 kB / 408.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2954, allocations: 0 / 408.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2954, allocations: 0 / 408.3 MB, free: 9.676 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.0007786/0.2962, allocations: 0.6246 MB / 408.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2962, allocations: 9.031 kB / 409 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/0.2963, allocations: 63.88 kB / 409 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.2966, allocations: 57.27 kB / 409.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.297, allocations: 301.3 kB / 409.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2971, allocations: 22.11 kB / 409.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.2971, allocations: 25.19 kB / 409.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.2976, allocations: 333.1 kB / 409.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2976, allocations: 1.562 kB / 409.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.2977, allocations: 15.72 kB / 409.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2977, allocations: 6.781 kB / 409.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.298, allocations: 196.4 kB / 410 MB, free: 8.359 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.001889/0.2999, allocations: 2.108 MB / 412.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.3002, allocations: 189.2 kB / 412.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3003, allocations: 86.73 kB / 412.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.3005, allocations: 254 kB / 412.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3005, allocations: 32.88 kB / 412.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.3005, allocations: 0 / 412.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002376/0.3029, allocations: 1.024 MB / 413.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3029, allocations: 55.12 kB / 413.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.3032, allocations: 264.6 kB / 413.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3032, allocations: 36.14 kB / 414 MB, free: 4.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3033, allocations: 182.2 kB / 414.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.3034, allocations: 103.4 kB / 414.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.3035, allocations: 69.64 kB / 414.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3036, allocations: 341.1 kB / 414.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3038, allocations: 89.27 kB / 414.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.304, allocations: 177.5 kB / 414.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.3044, allocations: 282.7 kB / 415.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3044, allocations: 0 / 415.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000556/0.305, allocations: 378.2 kB / 415.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.305, allocations: 6.062 kB / 415.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.305, allocations: 3.094 kB / 415.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.3054, allocations: 99.25 kB / 415.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.3056, allocations: 68.31 kB / 415.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005007/0.3062, allocations: 0.6512 MB / 416.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3063, allocations: 10.75 kB / 416.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.3064, allocations: 23.64 kB / 416.4 MB, free: 2.832 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.0001632/0.3065, allocations: 154.3 kB / 416.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.3066, allocations: 34.47 kB / 416.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.3072, allocations: 384.2 kB / 417 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3072, allocations: 2.562 kB / 417 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3072, allocations: 1.469 kB / 417 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004811/0.3077, allocations: 0.5551 MB / 417.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.3088, allocations: 0.7352 MB / 418.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3088, allocations: 1.875 kB / 418.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3089, allocations: 37.81 kB / 418.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.3094, allocations: 101.1 kB / 418.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3094, allocations: 6.375 kB / 418.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004742/0.3099, allocations: 0.6419 MB / 419.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3099, allocations: 1.469 kB / 419.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/0.3106, allocations: 485.2 kB / 419.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.3107, allocations: 102.1 kB / 419.6 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.3108, allocations: 10.55 kB / 419.7 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.311, allocations: 11.62 kB / 419.7 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.311, allocations: 14.73 kB / 419.7 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3111, allocations: 14.33 kB / 419.7 MB, free: 128 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.3113, allocations: 199.2 kB / 419.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3113, allocations: 0 / 419.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000517/0.3118, allocations: 114 kB / 420 MB, free: 15.97 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.001038/0.3128, allocations: 1.068 MB / 421.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.3133, allocations: 253.1 kB / 421.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3133, allocations: 1.875 kB / 421.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.3136, allocations: 118 kB / 421.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.3144, allocations: 167.3 kB / 421.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.318, allocations: 3.098 MB / 424.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3183, allocations: 0.7694 MB / 425.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.3186, allocations: 67.3 kB / 425.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3187, allocations: 95.97 kB / 425.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3187, allocations: 0 / 425.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.3502, allocations: 10.43 MB / 436.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.31, allocations: 3.938 kB / 436.1 MB, free: 1.281 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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