Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",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.001379/0.001379, allocations: 111.3 kB / 16.62 MB, free: 6.949 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.001546/0.001546, allocations: 189.8 kB / 17.55 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 37.69 kB / 300.2 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.09427, allocations: 49.45 MB / 349.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006616/0.1009, allocations: 4.884 MB / 354.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.1018, allocations: 0.6231 MB / 355.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.1018, allocations: 0 / 355.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1021, allocations: 23.89 kB / 355.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.1034, allocations: 0.5336 MB / 355.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1037, allocations: 96.81 kB / 355.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1039, allocations: 183.2 kB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.104, allocations: 11.97 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.1051, allocations: 0.7014 MB / 356.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.1052, allocations: 51.83 kB / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1052, allocations: 4 kB / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.1066, allocations: 0.9711 MB / 357.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.1067, allocations: 27.84 kB / 357.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.1067, allocations: 39.86 kB / 357.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.1072, allocations: 251.5 kB / 358.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1072, allocations: 3.938 kB / 358.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1072, allocations: 0 / 358.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1072, allocations: 0 / 358.1 MB, free: 12.21 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005054/0.1077, allocations: 427.1 kB / 358.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1078, allocations: 8.031 kB / 358.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.1078, allocations: 42.73 kB / 358.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.1082, allocations: 36.81 kB / 358.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1084, allocations: 192.3 kB / 358.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1084, allocations: 12.12 kB / 358.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1085, allocations: 8 kB / 358.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1087, allocations: 143.4 kB / 358.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1087, allocations: 0 / 358.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1087, allocations: 4 kB / 358.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1088, allocations: 0 / 358.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.1089, allocations: 115.8 kB / 359 MB, free: 11.13 MB / 302.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.0006994/0.1096, allocations: 0.6643 MB / 359.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1098, allocations: 86.48 kB / 359.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.1099, allocations: 40.84 kB / 359.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006001/0.1105, allocations: 0.8037 MB / 360.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1105, allocations: 38.81 kB / 360.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1105, allocations: 0 / 360.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002931/0.1108, allocations: 129.7 kB / 360.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1109, allocations: 55.41 kB / 360.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.111, allocations: 121.7 kB / 361 MB, free: 8.895 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.111, allocations: 25.7 kB / 361 MB, free: 8.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.1111, allocations: 111.8 kB / 361.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1111, allocations: 43.38 kB / 361.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.1112, allocations: 37.62 kB / 361.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1113, allocations: 322.8 kB / 361.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.1113, allocations: 27.98 kB / 361.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.1114, allocations: 63.8 kB / 361.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1115, allocations: 105.1 kB / 361.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1116, allocations: 0 / 361.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002126/0.1118, allocations: 148.7 kB / 361.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1118, allocations: 4 kB / 361.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1118, allocations: 0 / 361.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1118, allocations: 11.88 kB / 361.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.112, allocations: 31.92 kB / 361.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.112, allocations: 4 kB / 361.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.112, allocations: 15.84 kB / 361.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1121, allocations: 7.984 kB / 361.9 MB, free: 7.891 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.478e-05/0.1122, allocations: 129.9 kB / 362 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.1122, allocations: 7.906 kB / 362 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.1125, allocations: 142.4 kB / 362.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1125, allocations: 4 kB / 362.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1125, allocations: 0 / 362.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1125, allocations: 4 kB / 362.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.113, allocations: 394.3 kB / 362.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.113, allocations: 0 / 362.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-05/0.113, allocations: 23.98 kB / 362.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1131, allocations: 0 / 362.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1131, allocations: 4 kB / 362.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1131, allocations: 0 / 362.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1131, allocations: 3.938 kB / 362.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.1133, allocations: 203.4 kB / 362.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.1134, allocations: 101 kB / 362.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1134, allocations: 0 / 362.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1135, allocations: 7.984 kB / 362.9 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.1135, allocations: 4 kB / 362.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1135, allocations: 11.98 kB / 362.9 MB, free: 6.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.135e-05/0.1136, allocations: 91.22 kB / 363 MB, free: 6.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 0 / 363 MB, free: 6.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1139, allocations: 59.98 kB / 363.1 MB, free: 6.617 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006371/0.1146, allocations: 0.8125 MB / 363.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1148, allocations: 91.84 kB / 364 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1148, allocations: 0 / 364 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.1148, allocations: 36.3 kB / 364 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1153, allocations: 51.88 kB / 364.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.1168, allocations: 1.584 MB / 365.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1171, allocations: 0.6928 MB / 366.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.1173, allocations: 37.14 kB / 366.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.1173, allocations: 31.41 kB / 366.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1173, allocations: 0 / 366.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1531/0.2704, allocations: 3.72 MB / 370.1 MB, free: 26.3 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.2706, allocations: 204.7 kB / 370.3 MB, free: 26.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.156, allocations: 1.094 kB / 370.3 MB, free: 26.05 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches