Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006689/0.0006689, allocations: 90.42 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 12 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1769, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.01584/0.1928, allocations: 22.57 MB / 397.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1947, allocations: 2.353 MB / 400.1 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1948, allocations: 7.938 kB / 400.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1952, allocations: 127.3 kB / 400.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1955, allocations: 294.4 kB / 400.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.1969, allocations: 0.8203 MB / 401.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.1976, allocations: 1.117 MB / 402.5 MB, free: 21.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1977, allocations: 77.75 kB / 402.6 MB, free: 21.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.2007, allocations: 2.845 MB / 405.4 MB, free: 18.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.201, allocations: 270.9 kB / 405.7 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.201, allocations: 16 kB / 405.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.2014, allocations: 207.7 kB / 405.9 MB, free: 17.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.2015, allocations: 79.7 kB / 406 MB, free: 17.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.2016, allocations: 197 kB / 406.2 MB, free: 17.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.2019, allocations: 438.9 kB / 406.6 MB, free: 17.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2019, allocations: 0 / 406.6 MB, free: 17.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2019, allocations: 0 / 406.6 MB, free: 17.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2019, allocations: 3.938 kB / 406.6 MB, free: 17.22 MB / 298.7 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.0005297/0.2025, allocations: 0.5575 MB / 407.2 MB, free: 16.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2025, allocations: 8.031 kB / 407.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.2026, allocations: 62.73 kB / 407.2 MB, free: 16.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.2029, allocations: 52.55 kB / 407.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.2031, allocations: 291.5 kB / 407.6 MB, free: 16.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2031, allocations: 20.94 kB / 407.6 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.2032, allocations: 24.38 kB / 407.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.2035, allocations: 338.2 kB / 407.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2036, allocations: 3.938 kB / 407.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.2036, allocations: 12 kB / 407.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2036, allocations: 12 kB / 408 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.2039, allocations: 189.5 kB / 408.1 MB, free: 15.54 MB / 298.7 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.001334/0.2052, allocations: 2.119 MB / 410.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.2054, allocations: 184.9 kB / 410.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.2055, allocations: 80.83 kB / 410.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.2056, allocations: 251.3 kB / 410.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.2057, allocations: 42.56 kB / 410.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.2057, allocations: 3.938 kB / 410.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001924/0.2076, allocations: 1.012 MB / 411.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.2076, allocations: 55.41 kB / 411.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.2078, allocations: 266.5 kB / 412.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.2078, allocations: 29.7 kB / 412.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.2079, allocations: 184.2 kB / 412.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.208, allocations: 102.5 kB / 412.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.208, allocations: 16 kB / 412.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.208, allocations: 334.8 kB / 412.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.2082, allocations: 84.7 kB / 412.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2083, allocations: 170.6 kB / 413 MB, free: 10.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.2086, allocations: 281.2 kB / 413.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2086, allocations: 0 / 413.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004235/0.209, allocations: 381.8 kB / 413.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.209, allocations: 8.031 kB / 413.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.209, allocations: 4 kB / 413.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.2094, allocations: 92.8 kB / 413.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.2096, allocations: 71.83 kB / 413.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003456/0.2099, allocations: 0.6537 MB / 414.5 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.2101, allocations: 24.05 kB / 414.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.2101, allocations: 20 kB / 414.6 MB, free: 8.605 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.2103, allocations: 145.8 kB / 414.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.2103, allocations: 31.66 kB / 414.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.2108, allocations: 383.3 kB / 415.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2108, allocations: 3.984 kB / 415.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2108, allocations: 0 / 415.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003257/0.2111, allocations: 0.5476 MB / 415.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.2119, allocations: 0.7507 MB / 416.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2119, allocations: 0 / 416.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.212, allocations: 39.91 kB / 416.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.2124, allocations: 100.7 kB / 416.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2124, allocations: 4 kB / 416.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003063/0.2128, allocations: 0.646 MB / 417.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2128, allocations: 0 / 417.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.2133, allocations: 485.4 kB / 417.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.2134, allocations: 108.8 kB / 417.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.2134, allocations: 4 kB / 417.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.2137, allocations: 19.89 kB / 417.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.2137, allocations: 15.98 kB / 417.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.2137, allocations: 11.98 kB / 417.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.2139, allocations: 206 kB / 418 MB, free: 4.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2139, allocations: 0 / 418 MB, free: 4.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.2142, allocations: 115.9 kB / 418.1 MB, free: 4.758 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007665/0.215, allocations: 1.046 MB / 419.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.2154, allocations: 235.7 kB / 419.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2154, allocations: 4 kB / 419.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.2156, allocations: 128.5 kB / 419.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.2164, allocations: 156.7 kB / 419.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.2183, allocations: 1.831 MB / 421.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.2185, allocations: 0.7723 MB / 422.3 MB, free: 464 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2186, allocations: 91.41 kB / 422.4 MB, free: 372 kB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2186, allocations: 0 / 422.4 MB, free: 372 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.179/4.397, allocations: 6.779 MB / 429.2 MB, free: 9.578 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches