Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001018/0.001018, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.221/1.221, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007455/0.0007455, allocations: 99.89 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002831, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1715, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.007739/0.1793, allocations: 11.76 MB / 387 MB, free: 36.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1806, allocations: 1.607 MB / 388.6 MB, free: 34.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1808, allocations: 3.438 kB / 388.6 MB, free: 34.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.1811, allocations: 129.7 kB / 388.7 MB, free: 34.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.1815, allocations: 296.5 kB / 389 MB, free: 34.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.1821, allocations: 348.7 kB / 389.3 MB, free: 34.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000709/0.1828, allocations: 1.065 MB / 390.4 MB, free: 33.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.183, allocations: 64.7 kB / 390.5 MB, free: 33.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.1834, allocations: 346.7 kB / 390.8 MB, free: 33.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1836, allocations: 255 kB / 391 MB, free: 32.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.1836, allocations: 12 kB / 391.1 MB, free: 32.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.1838, allocations: 107.8 kB / 391.2 MB, free: 32.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.1839, allocations: 79.7 kB / 391.2 MB, free: 32.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.184, allocations: 181.1 kB / 391.4 MB, free: 32.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1842, allocations: 360.3 kB / 391.8 MB, free: 32.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1843, allocations: 0 / 391.8 MB, free: 32.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1843, allocations: 0 / 391.8 MB, free: 32.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1843, allocations: 4 kB / 391.8 MB, free: 32.11 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0004811/0.1848, allocations: 0.5108 MB / 392.3 MB, free: 31.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1848, allocations: 8.031 kB / 392.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.1849, allocations: 62.72 kB / 392.4 MB, free: 31.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.1851, allocations: 48.55 kB / 392.4 MB, free: 31.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1853, allocations: 279.7 kB / 392.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1853, allocations: 16.94 kB / 392.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1854, allocations: 28.38 kB / 392.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.1857, allocations: 317.3 kB / 393 MB, free: 30.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1857, allocations: 0 / 393 MB, free: 30.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.1858, allocations: 12 kB / 393 MB, free: 30.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1858, allocations: 12 kB / 393.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.186, allocations: 193.5 kB / 393.2 MB, free: 30.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.1872, allocations: 1.736 MB / 395 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1874, allocations: 134.6 kB / 395.1 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.1875, allocations: 72.72 kB / 395.2 MB, free: 28.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.824e-05/0.1876, allocations: 170.2 kB / 395.3 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.1876, allocations: 38.56 kB / 395.4 MB, free: 28.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.1876, allocations: 0 / 395.4 MB, free: 28.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001349/0.189, allocations: 0.8022 MB / 396.2 MB, free: 27.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.189, allocations: 59.28 kB / 396.2 MB, free: 27.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1892, allocations: 278.5 kB / 396.5 MB, free: 26.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1892, allocations: 29.7 kB / 396.5 MB, free: 26.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.1893, allocations: 191.5 kB / 396.7 MB, free: 26.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.1893, allocations: 86.92 kB / 396.8 MB, free: 26.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.1893, allocations: 4 kB / 396.8 MB, free: 26.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.1894, allocations: 338.8 kB / 397.2 MB, free: 26.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.1895, allocations: 67.75 kB / 397.2 MB, free: 26.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1896, allocations: 191.2 kB / 397.4 MB, free: 25.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.1898, allocations: 279.2 kB / 397.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1898, allocations: 0 / 397.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003584/0.1902, allocations: 333.8 kB / 398 MB, free: 25.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1902, allocations: 11.94 kB / 398 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1902, allocations: 4 kB / 398 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.408e-05/0.1903, allocations: 24.8 kB / 398 MB, free: 25.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1906, allocations: 88.39 kB / 398.1 MB, free: 25.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005838/0.1912, allocations: 1.292 MB / 399.4 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1913, allocations: 20.14 kB / 399.4 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1914, allocations: 16 kB / 399.5 MB, free: 23.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.1915, allocations: 157.6 kB / 399.6 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.1915, allocations: 27.72 kB / 399.6 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.1918, allocations: 204.3 kB / 399.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1918, allocations: 4 kB / 399.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1918, allocations: 0 / 399.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002105/0.192, allocations: 487.7 kB / 400.3 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.1928, allocations: 0.7721 MB / 401.1 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1928, allocations: 0 / 401.1 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1929, allocations: 51.91 kB / 401.1 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1929, allocations: 4 kB / 401.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.193, allocations: 4 kB / 401.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.193, allocations: 11.94 kB / 401.2 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.193, allocations: 3.938 kB / 401.2 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1933, allocations: 399.8 kB / 401.6 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1933, allocations: 104.8 kB / 401.7 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1934, allocations: 8 kB / 401.7 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.1936, allocations: 15.92 kB / 401.7 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1936, allocations: 24.05 kB / 401.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.1936, allocations: 19.92 kB / 401.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1938, allocations: 194 kB / 401.9 MB, free: 21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1938, allocations: 3.938 kB / 401.9 MB, free: 20.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.1941, allocations: 107.9 kB / 402 MB, free: 20.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005297/0.1947, allocations: 0.9773 MB / 403 MB, free: 19.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.195, allocations: 291.3 kB / 403.3 MB, free: 19.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.195, allocations: 4 kB / 403.3 MB, free: 19.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.1951, allocations: 75.97 kB / 403.4 MB, free: 19.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.196, allocations: 153.4 kB / 403.5 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1976, allocations: 1.763 MB / 405.3 MB, free: 17.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.1978, allocations: 0.7602 MB / 406 MB, free: 16.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1979, allocations: 95.41 kB / 406.1 MB, free: 16.55 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1979, allocations: 4 kB / 406.1 MB, free: 16.55 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.289/3.487, allocations: 5.569 MB / 411.7 MB, free: 10.98 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches