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.001358/0.001358, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001269/0.001269, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.344/1.344, 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.001748/0.001748, allocations: 51.92 kB / 328.1 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08389, 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.Glycol47): time 0.1797/0.2636, allocations: 24.58 MB / 399.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.2673, allocations: 2.497 MB / 401.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.2676, allocations: 3.938 kB / 401.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.2681, allocations: 167.4 kB / 401.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.2688, allocations: 319 kB / 402.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.2712, allocations: 0.9739 MB / 403.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.2723, allocations: 0.8936 MB / 404.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.2725, allocations: 103.5 kB / 404.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/0.2769, allocations: 2.728 MB / 406.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.2773, allocations: 270.5 kB / 407.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.2774, allocations: 30.72 kB / 407.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.278, allocations: 238.7 kB / 407.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2781, allocations: 102.6 kB / 407.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.2784, allocations: 190.9 kB / 407.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.2791, allocations: 0.5764 MB / 408.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2791, allocations: 4 kB / 408.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2791, allocations: 5.125 kB / 408.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2791, allocations: 0 / 408.3 MB, free: 9.684 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.000879/0.28, allocations: 0.6261 MB / 409 MB, free: 9.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2801, allocations: 9.688 kB / 409 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.652e-05/0.2802, allocations: 60.67 kB / 409 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.2805, allocations: 53.52 kB / 409.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.281, allocations: 308.2 kB / 409.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.281, allocations: 23.12 kB / 409.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.281, allocations: 25.69 kB / 409.4 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.2816, allocations: 335.8 kB / 409.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2816, allocations: 1.281 kB / 409.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.2816, allocations: 15.94 kB / 409.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2816, allocations: 6.719 kB / 409.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.282, allocations: 188.9 kB / 410 MB, free: 8.367 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.002197/0.2842, allocations: 2.113 MB / 412.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.2845, allocations: 191.4 kB / 412.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.2846, allocations: 89.92 kB / 412.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.2849, allocations: 254 kB / 412.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2849, allocations: 36.5 kB / 412.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.2849, allocations: 1.344 kB / 412.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002502/0.2874, allocations: 1.024 MB / 413.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2875, allocations: 54.34 kB / 413.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.2878, allocations: 260.8 kB / 414 MB, free: 4.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.2878, allocations: 32.11 kB / 414 MB, free: 4.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2879, allocations: 190.5 kB / 414.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/0.288, allocations: 112.2 kB / 414.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2881, allocations: 69.47 kB / 414.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2883, allocations: 341.8 kB / 414.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2885, allocations: 85.66 kB / 414.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.2887, allocations: 175.8 kB / 415 MB, free: 3.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2891, allocations: 281.5 kB / 415.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2891, allocations: 0.875 kB / 415.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006103/0.2898, allocations: 379.7 kB / 415.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2898, allocations: 6.25 kB / 415.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2898, allocations: 2.188 kB / 415.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004251/0.2902, allocations: 97.25 kB / 415.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.2905, allocations: 67.09 kB / 415.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000607/0.2911, allocations: 0.6629 MB / 416.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2913, allocations: 7.875 kB / 416.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.2913, allocations: 22.44 kB / 416.5 MB, free: 2.82 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.0001814/0.2915, allocations: 153.7 kB / 416.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.2916, allocations: 35.41 kB / 416.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.2923, allocations: 383.5 kB / 417 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2923, allocations: 7.781 kB / 417 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2923, allocations: 0 / 417 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006563/0.2929, allocations: 0.5476 MB / 417.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.2941, allocations: 0.743 MB / 418.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2941, allocations: 9.047 kB / 418.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.2942, allocations: 39.77 kB / 418.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.2947, allocations: 98.91 kB / 418.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2948, allocations: 7.609 kB / 418.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005473/0.2953, allocations: 0.6383 MB / 419.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2953, allocations: 5.25 kB / 419.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.2961, allocations: 490.3 kB / 419.6 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.2962, allocations: 99.67 kB / 419.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.2962, allocations: 6.938 kB / 419.7 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2965, allocations: 15.88 kB / 419.7 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2965, allocations: 19.88 kB / 419.7 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.2965, allocations: 9.781 kB / 419.7 MB, free: 100 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.2968, allocations: 203 kB / 419.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2968, allocations: 0 / 419.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000447/0.2973, allocations: 106.8 kB / 420 MB, free: 15.95 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.001187/0.2984, allocations: 1.065 MB / 421.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004788/0.2989, allocations: 250.6 kB / 421.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.299, allocations: 0 / 421.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.2992, allocations: 125.6 kB / 421.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009/0.3001, allocations: 171.6 kB / 421.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.3041, allocations: 3.104 MB / 424.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3046, allocations: 0.766 MB / 425.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.3049, allocations: 64.06 kB / 425.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3051, allocations: 98.55 kB / 425.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3051, allocations: 0 / 425.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.3436, allocations: 10.29 MB / 436 MB, free: 1.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.96, allocations: 4.062 kB / 436 MB, free: 1.41 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