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.001243/0.001243, allocations: 113.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.001334/0.001334, allocations: 184.2 kB / 18.66 MB, free: 4.418 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.323/1.323, 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.001339/0.001339, allocations: 47.94 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/0.08326, allocations: 46.62 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.1945/0.2778, allocations: 24.58 MB / 399.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.2813, allocations: 2.494 MB / 401.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.2815, allocations: 4.75 kB / 401.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.2821, allocations: 166.2 kB / 401.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.2828, allocations: 316.6 kB / 402.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.2854, allocations: 0.9713 MB / 403.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.2866, allocations: 0.8955 MB / 404.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.2869, allocations: 110.6 kB / 404.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.2913, allocations: 2.728 MB / 406.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.2918, allocations: 273.3 kB / 407.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/0.2919, allocations: 30.06 kB / 407.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.2926, allocations: 238.7 kB / 407.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.2927, allocations: 99.05 kB / 407.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.293, allocations: 194.2 kB / 407.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.2938, allocations: 0.5695 MB / 408.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2938, allocations: 1.156 kB / 408.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2938, allocations: 7.938 kB / 408.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.2938, allocations: 0 / 408.3 MB, free: 9.68 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.0009679/0.2948, allocations: 0.6243 MB / 409 MB, free: 9.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.2948, allocations: 8.969 kB / 409 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.892e-05/0.2949, allocations: 60.7 kB / 409 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.2953, allocations: 48.89 kB / 409.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.2959, allocations: 308.9 kB / 409.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2959, allocations: 18.97 kB / 409.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.296, allocations: 25.06 kB / 409.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.2965, allocations: 338 kB / 409.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2965, allocations: 1.031 kB / 409.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.2966, allocations: 16.59 kB / 409.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.2966, allocations: 10.81 kB / 409.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.2969, allocations: 188.2 kB / 410 MB, free: 8.371 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.002023/0.2989, allocations: 2.111 MB / 412.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.2993, allocations: 186.6 kB / 412.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.2994, allocations: 82.31 kB / 412.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.2996, allocations: 261.8 kB / 412.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.2997, allocations: 32.91 kB / 412.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 4.349e-06/0.2997, allocations: 0.6875 kB / 412.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002453/0.3021, allocations: 1.022 MB / 413.6 MB, free: 5.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.3022, allocations: 59.06 kB / 413.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.3024, allocations: 269.7 kB / 414 MB, free: 4.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.3025, allocations: 30.77 kB / 414 MB, free: 4.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3026, allocations: 179.4 kB / 414.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.3027, allocations: 110.9 kB / 414.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.3028, allocations: 69.64 kB / 414.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3029, allocations: 344.5 kB / 414.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.303, allocations: 86.38 kB / 414.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.3032, allocations: 171.7 kB / 414.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.3036, allocations: 281.6 kB / 415.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3036, allocations: 2.312 kB / 415.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005648/0.3042, allocations: 382.5 kB / 415.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3042, allocations: 6.906 kB / 415.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3042, allocations: 2.281 kB / 415.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.3047, allocations: 95.81 kB / 415.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.3049, allocations: 67.06 kB / 415.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005016/0.3054, allocations: 0.654 MB / 416.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3056, allocations: 8.844 kB / 416.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.3057, allocations: 18.06 kB / 416.4 MB, free: 2.836 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.0001534/0.3058, allocations: 154.7 kB / 416.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.3059, allocations: 35.09 kB / 416.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005986/0.3065, allocations: 379.4 kB / 417 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3065, allocations: 2.688 kB / 417 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.3065, allocations: 9.703 kB / 417 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004835/0.307, allocations: 0.5504 MB / 417.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3081, allocations: 0.7321 MB / 418.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3081, allocations: 1.094 kB / 418.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3082, allocations: 38.47 kB / 418.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.3087, allocations: 108.9 kB / 418.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3087, allocations: 2.594 kB / 418.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004585/0.3092, allocations: 0.6435 MB / 419.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3092, allocations: 1.188 kB / 419.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.3099, allocations: 494.9 kB / 419.6 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.31, allocations: 99.59 kB / 419.7 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3101, allocations: 6.406 kB / 419.7 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.3103, allocations: 10.78 kB / 419.7 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3103, allocations: 15.73 kB / 419.7 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.3104, allocations: 15.95 kB / 419.7 MB, free: 128 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.3106, allocations: 203.2 kB / 419.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.3106, allocations: 1.062 kB / 419.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004519/0.3111, allocations: 113.9 kB / 420 MB, free: 15.96 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.001117/0.3122, allocations: 1.059 MB / 421.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.3127, allocations: 251 kB / 421.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3127, allocations: 4 kB / 421.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.313, allocations: 119.3 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.0009215/0.3139, allocations: 167.1 kB / 421.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.3174, 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.0002909/0.3177, allocations: 0.7654 MB / 425.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.318, allocations: 67.67 kB / 425.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3181, allocations: 99.08 kB / 425.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3181, allocations: 0 / 425.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.3499, allocations: 10.43 MB / 436.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.8, allocations: 0 / 436.1 MB, free: 1.301 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