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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.262/1.262, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007202/0.0007202, allocations: 96.91 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 12 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1928, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.008934/0.2017, allocations: 11.7 MB / 386.3 MB, free: 36.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2035, allocations: 1.611 MB / 387.9 MB, free: 34.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.2037, allocations: 3.625 kB / 387.9 MB, free: 34.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.2041, allocations: 137.5 kB / 388 MB, free: 34.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.2045, allocations: 288.6 kB / 388.3 MB, free: 34.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.2053, allocations: 340.9 kB / 388.6 MB, free: 34.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.2063, allocations: 1.052 MB / 389.7 MB, free: 33.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.2064, allocations: 71.22 kB / 389.8 MB, free: 33.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.2069, allocations: 348.8 kB / 390.1 MB, free: 33.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.2072, allocations: 255 kB / 390.3 MB, free: 33.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.2072, allocations: 12 kB / 390.4 MB, free: 33.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.2074, allocations: 39.98 kB / 390.4 MB, free: 32.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.2075, allocations: 79.7 kB / 390.5 MB, free: 32.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.2075, allocations: 93.58 kB / 390.6 MB, free: 32.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.2078, allocations: 356.1 kB / 390.9 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2078, allocations: 0 / 390.9 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2078, allocations: 0 / 390.9 MB, free: 32.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2078, allocations: 0 / 390.9 MB, free: 32.46 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.0005997/0.2085, allocations: 0.5106 MB / 391.4 MB, free: 31.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2085, allocations: 8.031 kB / 391.4 MB, free: 31.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.2087, allocations: 47.61 kB / 391.5 MB, free: 31.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.209, allocations: 274.5 kB / 391.7 MB, free: 31.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.209, allocations: 16.56 kB / 391.8 MB, free: 31.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.2091, allocations: 24 kB / 391.8 MB, free: 31.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.2095, allocations: 317.4 kB / 392.1 MB, free: 31.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2095, allocations: 7.953 kB / 392.1 MB, free: 31.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.2095, allocations: 12 kB / 392.1 MB, free: 31.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2095, allocations: 7.938 kB / 392.1 MB, free: 31.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.2098, allocations: 185.6 kB / 392.3 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.2112, allocations: 1.744 MB / 394.1 MB, free: 29.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.2113, allocations: 130.6 kB / 394.2 MB, free: 28.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.2114, allocations: 72.77 kB / 394.2 MB, free: 28.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.2115, allocations: 166.2 kB / 394.4 MB, free: 28.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.2116, allocations: 42.52 kB / 394.5 MB, free: 28.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2116, allocations: 0 / 394.5 MB, free: 28.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001443/0.213, allocations: 0.7986 MB / 395.3 MB, free: 27.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.213, allocations: 59.34 kB / 395.3 MB, free: 27.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.2133, allocations: 282.5 kB / 395.6 MB, free: 27.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.2133, allocations: 33.7 kB / 395.6 MB, free: 27.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.2134, allocations: 191.6 kB / 395.8 MB, free: 27.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.2134, allocations: 78.84 kB / 395.9 MB, free: 27.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.2134, allocations: 4 kB / 395.9 MB, free: 27.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.2135, allocations: 338.8 kB / 396.2 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.2136, allocations: 67.75 kB / 396.3 MB, free: 26.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2138, allocations: 195.1 kB / 396.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.2139, allocations: 95.95 kB / 396.6 MB, free: 26.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2139, allocations: 7.938 kB / 396.6 MB, free: 26.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004054/0.2143, allocations: 329.9 kB / 396.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2143, allocations: 4.5 kB / 396.9 MB, free: 25.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2143, allocations: 8 kB / 396.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.483e-05/0.2144, allocations: 28.84 kB / 396.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.2147, allocations: 79.91 kB / 397 MB, free: 25.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006452/0.2154, allocations: 1.299 MB / 398.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2156, allocations: 19.89 kB / 398.3 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.2156, allocations: 20 kB / 398.4 MB, free: 24.38 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 0.0001136/0.2157, allocations: 157.7 kB / 398.5 MB, free: 24.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.2158, allocations: 27.81 kB / 398.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.216, allocations: 204.5 kB / 398.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2161, allocations: 7.938 kB / 398.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.2161, allocations: 0 / 398.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002342/0.2163, allocations: 475.8 kB / 399.2 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.2171, allocations: 0.776 MB / 400 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2171, allocations: 4 kB / 400 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.2173, allocations: 47.91 kB / 400 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2173, allocations: 4.281 kB / 400 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2173, allocations: 11.95 kB / 400 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2173, allocations: 4 kB / 400.1 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2173, allocations: 4 kB / 400.1 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.2177, allocations: 398.8 kB / 400.4 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.2177, allocations: 108.8 kB / 400.6 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.2178, allocations: 15.94 kB / 400.6 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.218, allocations: 12.06 kB / 400.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2181, allocations: 19.92 kB / 400.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.2181, allocations: 15.98 kB / 400.6 MB, free: 21.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.2182, allocations: 205.9 kB / 400.8 MB, free: 21.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2182, allocations: 0 / 400.8 MB, free: 21.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.2186, allocations: 96 kB / 400.9 MB, free: 21.56 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.0001528/0.2188, allocations: 131.1 kB / 401 MB, free: 21.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.2191, allocations: 303.1 kB / 401.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2191, allocations: 1 kB / 401.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.2192, allocations: 76.23 kB / 401.4 MB, free: 21.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.2201, allocations: 162.6 kB / 401.6 MB, free: 20.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.2209, allocations: 0.7818 MB / 402.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.2211, allocations: 0.7563 MB / 403.1 MB, free: 19.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.2211, allocations: 35.42 kB / 403.1 MB, free: 19.21 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2211, allocations: 0 / 403.1 MB, free: 19.21 MB / 298.7 MB Notification: Performance of Templates: time 0.005573/0.2267, allocations: 5.123 MB / 408.3 MB, free: 14.1 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater --alarm=480 -emit_protected > 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/jenkins/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