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.001533/0.001533, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001958/0.001958, allocations: 217.1 kB / 24.47 MB, free: 3.777 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.7 MB / 235.3 MB, free: 9.801 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.001849/0.001849, allocations: 55.92 kB / 347.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2416, allocations: 49.15 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02537/0.267, allocations: 22.39 MB / 418.8 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.2705, allocations: 2.317 MB / 421.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.2707, allocations: 3.531 kB / 421.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005704/0.2713, allocations: 160.1 kB / 421.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007481/0.272, allocations: 333.7 kB / 421.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.2745, allocations: 0.9984 MB / 422.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.2756, allocations: 0.9113 MB / 423.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.2758, allocations: 79.61 kB / 423.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004596/0.2804, allocations: 2.777 MB / 426.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005591/0.2809, allocations: 273.4 kB / 426.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.652e-05/0.281, allocations: 30.5 kB / 426.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006868/0.2817, allocations: 245.9 kB / 426.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.2819, allocations: 106.7 kB / 427 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.2821, allocations: 169.6 kB / 427.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00084/0.283, allocations: 0.58 MB / 427.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.283, allocations: 0 / 427.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.283, allocations: 0 / 427.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.283, allocations: 0 / 427.7 MB, free: 3.711 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.000982/0.284, allocations: 0.5557 MB / 428.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.284, allocations: 19.97 kB / 428.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.406e-05/0.2841, allocations: 66.67 kB / 428.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003826/0.2845, allocations: 52.73 kB / 428.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.285, allocations: 237.8 kB / 428.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.285, allocations: 25.02 kB / 428.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.2851, allocations: 32.36 kB / 428.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.2858, allocations: 0.5573 MB / 429.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2858, allocations: 4 kB / 429.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.2859, allocations: 15.94 kB / 429.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2859, allocations: 8 kB / 429.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.2862, allocations: 189.5 kB / 429.5 MB, free: 1.801 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.001994/0.2882, allocations: 1.441 MB / 430.9 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.2885, allocations: 170.6 kB / 431.1 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.2887, allocations: 76.77 kB / 431.2 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.2887, allocations: 27.98 kB / 431.2 MB, free: 0 / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.2888, allocations: 38.55 kB / 431.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.2888, allocations: 0 / 431.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002494/0.2913, allocations: 0.8723 MB / 432.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2913, allocations: 51.41 kB / 432.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.2916, allocations: 273.7 kB / 432.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.2917, allocations: 33.7 kB / 432.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2918, allocations: 184.5 kB / 432.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/0.2919, allocations: 107.1 kB / 432.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.292, allocations: 74.02 kB / 432.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2922, allocations: 334.8 kB / 433.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.2923, allocations: 92.7 kB / 433.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.2926, allocations: 162.8 kB / 433.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.293, allocations: 285.1 kB / 433.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.293, allocations: 0 / 433.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006238/0.2936, allocations: 381.7 kB / 434 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2936, allocations: 4 kB / 434 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2936, allocations: 4 kB / 434 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.2941, allocations: 92.8 kB / 434.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.2943, allocations: 72.2 kB / 434.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006037/0.2949, allocations: 0.6577 MB / 434.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.2951, allocations: 12 kB / 434.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.2951, allocations: 20 kB / 434.9 MB, free: 12.09 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.0001788/0.2953, allocations: 157.6 kB / 435.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.2954, allocations: 35.75 kB / 435.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/0.296, allocations: 369 kB / 435.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.296, allocations: 0 / 435.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.296, allocations: 4 kB / 435.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006194/0.2967, allocations: 0.5554 MB / 436 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.2978, allocations: 0.6676 MB / 436.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2978, allocations: 0 / 436.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.2979, allocations: 35.92 kB / 436.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/0.2984, allocations: 100.8 kB / 436.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.2984, allocations: 12.06 kB / 436.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006022/0.299, allocations: 0.6304 MB / 437.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.299, allocations: 0 / 437.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.2999, allocations: 489.6 kB / 437.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.3, allocations: 27.88 kB / 438 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.3, allocations: 7.938 kB / 438 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3002, allocations: 8 kB / 438 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3003, allocations: 24.09 kB / 438 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3003, allocations: 15.92 kB / 438 MB, free: 8.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.3006, allocations: 197.2 kB / 438.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3006, allocations: 4 kB / 438.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005059/0.3011, allocations: 115.9 kB / 438.3 MB, free: 8.434 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.00146/0.3025, allocations: 1.057 MB / 439.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005853/0.3031, allocations: 235.5 kB / 439.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3031, allocations: 0 / 439.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.3034, allocations: 111.9 kB / 439.7 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/0.3044, allocations: 173.3 kB / 439.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.3089, allocations: 3.101 MB / 443 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.3091, allocations: 163.8 kB / 443.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.3094, allocations: 59.19 kB / 443.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.3096, allocations: 103.4 kB / 443.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3096, allocations: 0 / 443.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.3519, allocations: 11.19 MB / 454.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.57, allocations: 4.062 kB / 454.5 MB, free: 7.965 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: 14.887869037687778]