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.001102/0.001102, allocations: 101.6 kB / 17.72 MB, free: 5.371 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.001138/0.001138, allocations: 188.1 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.294/1.294, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001273/0.001273, allocations: 47.94 kB / 328.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08419, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.1916/0.2758, allocations: 24.57 MB / 399.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.2793, allocations: 2.492 MB / 401.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.2797, allocations: 3.188 kB / 401.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005975/0.2803, allocations: 162.6 kB / 401.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007898/0.2811, allocations: 319.5 kB / 402.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.2837, allocations: 1.025 MB / 403.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2851, allocations: 0.894 MB / 404.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.2854, allocations: 108.7 kB / 404.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005054/0.2904, allocations: 3.062 MB / 407.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.291, allocations: 269.7 kB / 407.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.2912, allocations: 30.19 kB / 407.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008026/0.292, allocations: 239.1 kB / 407.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.2921, allocations: 94.03 kB / 407.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.2925, allocations: 198.3 kB / 408.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008671/0.2934, allocations: 0.5786 MB / 408.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2934, allocations: 0 / 408.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2934, allocations: 3.938 kB / 408.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2934, 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.001011/0.2944, allocations: 0.6214 MB / 409.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2945, allocations: 12.16 kB / 409.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.756e-05/0.2946, allocations: 60.92 kB / 409.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.295, allocations: 49.11 kB / 409.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.2955, allocations: 304.7 kB / 409.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.2955, allocations: 19.03 kB / 409.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.2956, allocations: 28.78 kB / 409.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.2961, allocations: 340.1 kB / 410.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2961, allocations: 1.469 kB / 410.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.2962, allocations: 17.41 kB / 410.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2962, allocations: 6.25 kB / 410.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.2965, allocations: 188.8 kB / 410.3 MB, free: 8.223 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.002266/0.2988, allocations: 2.116 MB / 412.4 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.2991, allocations: 178.9 kB / 412.6 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.2993, allocations: 94.98 kB / 412.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.2995, allocations: 257.1 kB / 413 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.2996, allocations: 33.06 kB / 413 MB, free: 5.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.2996, allocations: 0 / 413 MB, free: 5.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002757/0.3023, allocations: 1.022 MB / 414 MB, free: 4.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3024, allocations: 55.06 kB / 414.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.3027, allocations: 265.4 kB / 414.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.3028, allocations: 31.02 kB / 414.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3029, allocations: 186.1 kB / 414.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.303, allocations: 104.2 kB / 414.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3032, allocations: 69.36 kB / 414.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3033, allocations: 346.1 kB / 415 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3035, allocations: 84.41 kB / 415.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.3037, allocations: 174.2 kB / 415.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.3042, allocations: 285.5 kB / 415.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3042, allocations: 1.25 kB / 415.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007328/0.3049, allocations: 381.4 kB / 415.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.305, allocations: 6.281 kB / 416 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.305, allocations: 2.719 kB / 416 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005151/0.3055, allocations: 92.66 kB / 416 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.3058, allocations: 66.62 kB / 416.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006697/0.3065, allocations: 0.6551 MB / 416.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.3068, allocations: 7.594 kB / 416.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.3069, allocations: 22.92 kB / 416.8 MB, free: 2.688 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.0002618/0.3071, allocations: 158.6 kB / 417 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.3072, allocations: 34.97 kB / 417 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.3079, allocations: 375.5 kB / 417.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3079, allocations: 6.5 kB / 417.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3079, allocations: 0 / 417.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005111/0.3084, allocations: 0.556 MB / 417.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.3097, allocations: 0.7314 MB / 418.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3097, allocations: 2.688 kB / 418.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3099, allocations: 47.25 kB / 418.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005625/0.3105, allocations: 94.91 kB / 418.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3105, allocations: 6.656 kB / 418.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005883/0.3111, allocations: 0.6427 MB / 419.4 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3111, allocations: 1.438 kB / 419.4 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007914/0.3119, allocations: 491.1 kB / 419.9 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3121, allocations: 95.2 kB / 420 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.3122, allocations: 15.5 kB / 420 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.3125, allocations: 6.719 kB / 420 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3125, allocations: 15.61 kB / 420 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.3125, allocations: 15.33 kB / 420.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.3128, allocations: 200.9 kB / 420.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3128, allocations: 0 / 420.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.3133, allocations: 114 kB / 420.4 MB, free: 15.82 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.001163/0.3145, allocations: 1.072 MB / 421.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.3151, allocations: 248.9 kB / 421.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3151, allocations: 1.312 kB / 421.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.3153, allocations: 118.6 kB / 421.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009948/0.3163, allocations: 165.3 kB / 422 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.3202, allocations: 3.097 MB / 425.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3206, allocations: 0.7683 MB / 425.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002797/0.3209, allocations: 63.19 kB / 425.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.321, allocations: 99.39 kB / 426 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.321, allocations: 3.938 kB / 426 MB, free: 11.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.3518, allocations: 10.42 MB / 436.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.67, allocations: 11.8 kB / 436.4 MB, free: 0.9375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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