Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_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.001402/0.001402, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001733/0.001734, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.392/1.392, allocations: 205.1 MB / 224 MB, free: 12.45 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.001218/0.001218, allocations: 56.14 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08021/0.08144, allocations: 46.62 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00997/0.09144, allocations: 7.788 MB / 334.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.09232, allocations: 0.6153 MB / 335.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.0924, allocations: 0 / 335.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.09267, allocations: 27.83 kB / 335.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.09409, allocations: 0.5336 MB / 335.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.09435, allocations: 91.88 kB / 335.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.09462, allocations: 183.2 kB / 336.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.09467, allocations: 8 kB / 336.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.09575, allocations: 0.7096 MB / 336.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.795e-05/0.09586, allocations: 51.77 kB / 336.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.09589, allocations: 12 kB / 336.9 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.09723, allocations: 0.9591 MB / 337.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.09729, allocations: 19.92 kB / 337.9 MB, free: 9.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.09736, allocations: 51.78 kB / 337.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.09779, allocations: 243.5 kB / 338.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.0978, allocations: 0 / 338.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09781, allocations: 0 / 338.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.09782, allocations: 0 / 338.2 MB, free: 9.363 MB / 286.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.0004548/0.09828, allocations: 427.1 kB / 338.6 MB, free: 8.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.09832, allocations: 12.03 kB / 338.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.09837, allocations: 34.75 kB / 338.6 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.09875, allocations: 40.81 kB / 338.7 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.09893, allocations: 192.3 kB / 338.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.09895, allocations: 4.375 kB / 338.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.09897, allocations: 12.38 kB / 338.9 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.09921, allocations: 140.9 kB / 339 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.09922, allocations: 0 / 339 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.09924, allocations: 0 / 339 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.09926, allocations: 4 kB / 339 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.09942, allocations: 107.9 kB / 339.1 MB, free: 8.297 MB / 286.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.0006447/0.1001, allocations: 0.6721 MB / 339.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1002, allocations: 82.55 kB / 339.9 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.1003, allocations: 44.84 kB / 339.9 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.1009, allocations: 0.8154 MB / 340.7 MB, free: 6.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1009, allocations: 30.56 kB / 340.7 MB, free: 6.375 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.355e-06/0.1009, allocations: 3.984 kB / 340.8 MB, free: 6.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002684/0.1012, allocations: 129.9 kB / 340.9 MB, free: 6.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1013, allocations: 55.39 kB / 340.9 MB, free: 6.172 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.1013, allocations: 117.8 kB / 341 MB, free: 6.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1014, allocations: 33.7 kB / 341.1 MB, free: 6.008 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1014, allocations: 99.8 kB / 341.2 MB, free: 5.906 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1015, allocations: 47.39 kB / 341.2 MB, free: 5.859 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.1015, allocations: 37.61 kB / 341.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.1016, allocations: 318.8 kB / 341.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.1017, allocations: 27.98 kB / 341.6 MB, free: 5.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.1017, allocations: 76.2 kB / 341.7 MB, free: 5.379 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1019, allocations: 101 kB / 341.8 MB, free: 5.262 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1019, allocations: 4 kB / 341.8 MB, free: 5.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001949/0.1021, allocations: 141.4 kB / 341.9 MB, free: 5.113 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1021, allocations: 4 kB / 341.9 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1021, allocations: 4 kB / 341.9 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1021, allocations: 0 / 341.9 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1022, allocations: 35.98 kB / 342 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.1023, allocations: 7.875 kB / 342 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.1023, allocations: 11.84 kB / 342 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1023, allocations: 12 kB / 342 MB, free: 5.039 MB / 286.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 7.628e-05/0.1024, allocations: 122 kB / 342.1 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.1025, allocations: 7.906 kB / 342.1 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.1027, allocations: 139 kB / 342.3 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1028, allocations: 7.922 kB / 342.3 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1028, allocations: 0 / 342.3 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1028, allocations: 0 / 342.3 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.1032, allocations: 402.5 kB / 342.7 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1032, allocations: 0 / 342.7 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.1033, allocations: 23.88 kB / 342.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.1033, allocations: 0 / 342.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1033, allocations: 15.98 kB / 342.7 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1033, allocations: 0 / 342.7 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1033, allocations: 0 / 342.7 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.1035, allocations: 203.4 kB / 342.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.1036, allocations: 93.03 kB / 343 MB, free: 3.945 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1036, allocations: 4 kB / 343 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.1037, allocations: 7.984 kB / 343 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.1037, allocations: 15.92 kB / 343 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1037, allocations: 7.984 kB / 343 MB, free: 3.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.1038, allocations: 87.28 kB / 343.1 MB, free: 3.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1038, allocations: 0 / 343.1 MB, free: 3.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.1041, allocations: 63.83 kB / 343.2 MB, free: 3.762 MB / 286.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.0006035/0.1047, allocations: 0.8021 MB / 344 MB, free: 2.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.1049, allocations: 83.91 kB / 344 MB, free: 2.848 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1049, allocations: 0.5938 kB / 344 MB, free: 2.848 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.612e-05/0.105, allocations: 47.92 kB / 344.1 MB, free: 2.801 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.1054, allocations: 43.81 kB / 344.1 MB, free: 2.758 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1068, allocations: 1.6 MB / 345.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.107, allocations: 0.6928 MB / 346.4 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1072, allocations: 32.73 kB / 346.5 MB, free: 304 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.1072, allocations: 31.42 kB / 346.5 MB, free: 272 kB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1072, allocations: 0 / 346.5 MB, free: 272 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08328/0.1905, allocations: 3.757 MB / 350.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/0.1909, allocations: 205.9 kB / 350.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.178, allocations: 0 / 350.5 MB, free: 12.23 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches