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.001021/0.001021, allocations: 97.78 kB / 17.3 MB, free: 6.109 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.001278/0.001278, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.289/1.289, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004499/0.0004499, allocations: 20 kB / 281.5 MB, free: 3.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07465/0.07511, allocations: 47.57 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02445/0.09961, allocations: 24.44 MB / 353.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.1025, allocations: 2.511 MB / 356 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.1028, allocations: 4 kB / 356 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.1032, allocations: 135.3 kB / 356.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005303/0.1038, allocations: 310.4 kB / 356.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1056, allocations: 0.885 MB / 357.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1066, allocations: 1.355 MB / 358.7 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1068, allocations: 64.7 kB / 358.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.1106, allocations: 2.954 MB / 361.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.111, allocations: 286.8 kB / 362 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.111, allocations: 16 kB / 362 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.1115, allocations: 219.6 kB / 362.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.1116, allocations: 83.7 kB / 362.3 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.1118, allocations: 201 kB / 362.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.1123, allocations: 0.553 MB / 363.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1123, allocations: 4 kB / 363.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1123, allocations: 0 / 363.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1123, allocations: 0 / 363.1 MB, free: 1.535 MB / 302.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.0006746/0.113, allocations: 0.5497 MB / 363.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1131, allocations: 8.031 kB / 363.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.1131, allocations: 66.73 kB / 363.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.1135, allocations: 48.55 kB / 363.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1138, allocations: 287.6 kB / 364 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1138, allocations: 24.88 kB / 364 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.1139, allocations: 28.38 kB / 364.1 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.1143, allocations: 334.2 kB / 364.4 MB, free: 76 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1143, allocations: 4 kB / 364.4 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.1144, allocations: 12 kB / 364.4 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1144, allocations: 4 kB / 364.4 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.1147, allocations: 193.5 kB / 364.6 MB, free: 15.86 MB / 318.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.001742/0.1164, allocations: 2.119 MB / 366.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1167, allocations: 202.4 kB / 366.9 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1168, allocations: 88.77 kB / 367 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.117, allocations: 247.5 kB / 367.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.117, allocations: 38.56 kB / 367.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.117, allocations: 0 / 367.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002248/0.1193, allocations: 1.019 MB / 368.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1193, allocations: 67.39 kB / 368.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1196, allocations: 266.5 kB / 368.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1196, allocations: 33.7 kB / 368.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1197, allocations: 180.2 kB / 368.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.1198, allocations: 102.5 kB / 368.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.1199, allocations: 37.7 kB / 369 MB, free: 11.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.12, allocations: 334.8 kB / 369.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1201, allocations: 92.64 kB / 369.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.1203, allocations: 174.6 kB / 369.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.1206, allocations: 273.2 kB / 369.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1206, allocations: 4 kB / 369.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000537/0.1212, allocations: 377.6 kB / 370.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1212, allocations: 8 kB / 370.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1212, allocations: 0 / 370.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.1216, allocations: 101.1 kB / 370.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.1219, allocations: 63.91 kB / 370.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004991/0.1224, allocations: 0.6576 MB / 371 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.1225, allocations: 20.02 kB / 371 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.1226, allocations: 16 kB / 371.1 MB, free: 8.871 MB / 318.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.000141/0.1227, allocations: 157.8 kB / 371.2 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.1228, allocations: 35.66 kB / 371.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.1234, allocations: 364.9 kB / 371.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1234, allocations: 4 kB / 371.6 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1234, allocations: 3.984 kB / 371.6 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004527/0.1239, allocations: 0.5592 MB / 372.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.1248, allocations: 0.7391 MB / 372.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1248, allocations: 4 kB / 372.9 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.125, allocations: 31.97 kB / 372.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.1254, allocations: 104.8 kB / 373 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.1255, allocations: 11.94 kB / 373.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004653/0.1259, allocations: 0.6342 MB / 373.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1259, allocations: 7.969 kB / 373.7 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.1266, allocations: 489.4 kB / 374.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.1267, allocations: 108.7 kB / 374.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.1268, allocations: 7.938 kB / 374.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.127, allocations: 23.98 kB / 374.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.127, allocations: 15.98 kB / 374.3 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.1271, allocations: 15.98 kB / 374.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.1273, allocations: 201.9 kB / 374.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1273, allocations: 0 / 374.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004242/0.1277, allocations: 104 kB / 374.6 MB, free: 5.016 MB / 318.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.001071/0.1288, allocations: 1.066 MB / 375.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.1292, allocations: 236.2 kB / 375.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1292, allocations: 0 / 375.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.1295, allocations: 127.6 kB / 376.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/0.1305, allocations: 169.1 kB / 376.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1347/0.2651, allocations: 3.256 MB / 379.5 MB, free: 55.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.2654, allocations: 0.7612 MB / 380.3 MB, free: 55.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003671/0.2658, allocations: 65.66 kB / 380.3 MB, free: 55.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.266, allocations: 96.02 kB / 380.4 MB, free: 55.05 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.266, allocations: 0 / 380.4 MB, free: 55.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.176/2.442, allocations: 9.612 MB / 390 MB, free: 52.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/2.443, allocations: 261.5 kB / 390.3 MB, free: 52.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/4.792, allocations: 0 / 390.3 MB, free: 52.07 MB / 318.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","../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