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.001794/0.001794, 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.002246/0.002246, 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.332/1.332, allocations: 207.6 MB / 235.2 MB, free: 10 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.001941/0.001941, allocations: 55.92 kB / 347.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2499, allocations: 49.17 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02603/0.2759, allocations: 24.88 MB / 421.3 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.2794, allocations: 2.521 MB / 423.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.2797, allocations: 12.31 kB / 423.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.2803, allocations: 161.5 kB / 424 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007725/0.2811, allocations: 337.4 kB / 424.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.2835, allocations: 0.9918 MB / 425.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.2846, allocations: 0.9126 MB / 426.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2848, allocations: 86.09 kB / 426.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004588/0.2894, allocations: 2.78 MB / 429.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.2899, allocations: 297 kB / 429.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-05/0.29, allocations: 34.41 kB / 429.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000673/0.2907, allocations: 251.6 kB / 429.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2908, allocations: 98 kB / 429.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.2911, allocations: 200 kB / 429.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.292, allocations: 0.5779 MB / 430.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.292, allocations: 0 / 430.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.292, allocations: 0 / 430.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.292, allocations: 1.188 kB / 430.5 MB, free: 1.043 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.00101/0.293, allocations: 0.563 MB / 431.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2931, allocations: 15.98 kB / 431.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.629e-05/0.2931, allocations: 62.72 kB / 431.1 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.2935, allocations: 48.73 kB / 431.2 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.294, allocations: 245.7 kB / 431.4 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2941, allocations: 25.03 kB / 431.5 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.2941, allocations: 24.38 kB / 431.5 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.2947, allocations: 339.5 kB / 431.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2947, allocations: 0 / 431.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.2947, allocations: 12 kB / 431.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.2947, allocations: 12 kB / 431.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.2951, allocations: 189.5 kB / 432 MB, free: 15.51 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.00198/0.297, allocations: 1.637 MB / 433.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.2974, allocations: 170.5 kB / 433.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.2975, allocations: 84.77 kB / 433.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.403e-05/0.2976, allocations: 15.98 kB / 433.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2976, allocations: 34.56 kB / 434 MB, free: 13.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.2976, allocations: 0 / 434 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.00284/0.3004, allocations: 0.8762 MB / 434.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3005, allocations: 59.41 kB / 434.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.3008, allocations: 269.8 kB / 435.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.3009, allocations: 29.7 kB / 435.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.301, allocations: 188.5 kB / 435.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/0.3011, allocations: 107.1 kB / 435.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3012, allocations: 74.06 kB / 435.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3014, allocations: 334.8 kB / 435.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3016, allocations: 84.72 kB / 436 MB, free: 11.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.3018, allocations: 174.8 kB / 436.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.3022, allocations: 277.2 kB / 436.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3022, allocations: 4 kB / 436.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006752/0.3029, allocations: 377.8 kB / 436.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3029, allocations: 4 kB / 436.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3029, allocations: 4 kB / 436.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/0.3034, allocations: 97.09 kB / 436.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.3036, allocations: 71.84 kB / 436.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006106/0.3042, allocations: 0.6538 MB / 437.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3044, allocations: 8 kB / 437.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3044, allocations: 20 kB / 437.6 MB, free: 9.59 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.000212/0.3047, allocations: 157.9 kB / 437.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.3047, allocations: 39.69 kB / 437.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.3054, allocations: 364.9 kB / 438.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3054, allocations: 4 kB / 438.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3054, allocations: 0 / 438.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00064/0.3061, allocations: 0.5482 MB / 438.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3073, allocations: 0.7104 MB / 439.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3073, allocations: 0 / 439.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3074, allocations: 43.91 kB / 439.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/0.3079, allocations: 96.72 kB / 439.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3079, allocations: 4.062 kB / 439.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006005/0.3085, allocations: 0.646 MB / 440.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3085, allocations: 0 / 440.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.3093, allocations: 489.7 kB / 440.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.3094, allocations: 23.88 kB / 440.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.3094, allocations: 11.98 kB / 440.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3096, allocations: 8 kB / 440.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3097, allocations: 15.91 kB / 440.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.3097, allocations: 19.98 kB / 440.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.3099, allocations: 193.2 kB / 441 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3099, allocations: 4.062 kB / 441 MB, free: 6.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004699/0.3104, allocations: 115.9 kB / 441.1 MB, free: 5.891 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.00131/0.3117, allocations: 1.06 MB / 442.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.3122, allocations: 227.5 kB / 442.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3122, allocations: 0 / 442.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.3125, allocations: 112.6 kB / 442.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.3134, allocations: 176.7 kB / 442.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.3177, allocations: 3.108 MB / 445.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3181, allocations: 0.7606 MB / 446.5 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.3184, allocations: 67.22 kB / 446.6 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3185, allocations: 95.41 kB / 446.7 MB, free: 92 kB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3185, allocations: 0 / 446.7 MB, free: 92 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.3626, allocations: 10.61 MB / 457.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.09, allocations: 7.922 kB / 457.3 MB, free: 5.406 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 & /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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.4516894381959]