Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003053/0.003054, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001441/0.00144, allocations: 86.81 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.933e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4023, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.25/10.66, allocations: 3.559 GB / 3.913 GB, free: 27.6 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/10.66, allocations: 97.94 kB / 3.913 GB, free: 27.54 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743/12.4, allocations: 314.1 MB / 4.22 GB, free: 56.55 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.803e-06/12.4, allocations: 0 / 4.22 GB, free: 56.55 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/12.4, allocations: 8 kB / 4.22 GB, free: 56.55 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005912/12.41, allocations: 1.561 MB / 4.221 GB, free: 54.95 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/12.41, allocations: 12.03 kB / 4.221 GB, free: 54.93 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/12.41, allocations: 55.44 kB / 4.221 GB, free: 54.88 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/12.41, allocations: 352.9 kB / 4.222 GB, free: 54.5 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/12.41, allocations: 16 kB / 4.222 GB, free: 54.48 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/12.41, allocations: 35.91 kB / 4.222 GB, free: 54.45 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00132/12.41, allocations: 0.5647 MB / 4.222 GB, free: 53.88 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/12.41, allocations: 435.8 kB / 4.223 GB, free: 53.45 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/12.41, allocations: 3.938 kB / 4.223 GB, free: 53.44 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/12.41, allocations: 0 / 4.223 GB, free: 53.44 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/12.41, allocations: 12 kB / 4.223 GB, free: 53.43 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004356/12.41, allocations: 2.066 MB / 4.225 GB, free: 51.17 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/12.42, allocations: 0.5193 MB / 4.225 GB, free: 50.64 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/12.42, allocations: 238.5 kB / 4.226 GB, free: 50.41 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/12.42, allocations: 0.7015 MB / 4.226 GB, free: 49.57 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/12.42, allocations: 42.98 kB / 4.226 GB, free: 49.52 MB / 427.1 MB Notification: Performance of pre-optimization done (n=53): time 3.587e-06/12.42, allocations: 0 / 4.226 GB, free: 49.52 MB / 427.1 MB Notification: Performance of matching and sorting (n=65): time 0.01774/12.43, allocations: 2.83 MB / 4.229 GB, free: 46.63 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/12.43, allocations: 63.97 kB / 4.229 GB, free: 46.55 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/12.43, allocations: 206.9 kB / 4.229 GB, free: 46.35 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/12.44, allocations: 25.7 kB / 4.229 GB, free: 46.32 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/12.44, allocations: 251.4 kB / 4.23 GB, free: 46.07 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/12.44, allocations: 220.7 kB / 4.23 GB, free: 45.85 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/12.44, allocations: 0 / 4.23 GB, free: 45.85 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/12.44, allocations: 334.8 kB / 4.23 GB, free: 45.52 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/12.44, allocations: 257.5 kB / 4.23 GB, free: 45.27 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/12.44, allocations: 332.1 kB / 4.231 GB, free: 44.92 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/12.44, allocations: 356.4 kB / 4.231 GB, free: 44.57 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/12.44, allocations: 0 / 4.231 GB, free: 44.57 MB / 427.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002808/12.44, allocations: 0.9004 MB / 4.232 GB, free: 43.66 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/12.44, allocations: 6.5 kB / 4.232 GB, free: 43.65 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/12.44, allocations: 0 / 4.232 GB, free: 43.65 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/12.44, allocations: 278.5 kB / 4.232 GB, free: 43.37 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/12.44, allocations: 115.8 kB / 4.232 GB, free: 43.26 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/12.45, allocations: 3.333 MB / 4.236 GB, free: 39.68 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/12.45, allocations: 52.05 kB / 4.236 GB, free: 39.62 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/12.45, allocations: 27.92 kB / 4.236 GB, free: 39.6 MB / 427.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000324/12.45, allocations: 138.3 kB / 4.236 GB, free: 39.46 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/12.45, allocations: 35.62 kB / 4.236 GB, free: 39.42 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006995/12.46, allocations: 1.243 MB / 4.237 GB, free: 38.16 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/12.46, allocations: 8 kB / 4.237 GB, free: 38.15 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/12.46, allocations: 0 / 4.237 GB, free: 38.15 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007227/12.46, allocations: 1.301 MB / 4.238 GB, free: 36.78 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/12.47, allocations: 1.537 MB / 4.24 GB, free: 35.2 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/12.47, allocations: 4 kB / 4.24 GB, free: 35.2 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/12.47, allocations: 119.8 kB / 4.24 GB, free: 35.08 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/12.47, allocations: 300.4 kB / 4.24 GB, free: 34.79 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/12.47, allocations: 15.98 kB / 4.24 GB, free: 34.77 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/12.47, allocations: 0.804 MB / 4.241 GB, free: 33.94 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/12.47, allocations: 0 / 4.241 GB, free: 33.94 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006572/12.48, allocations: 1.51 MB / 4.242 GB, free: 32.4 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/12.48, allocations: 116.7 kB / 4.243 GB, free: 32.27 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/12.48, allocations: 8 kB / 4.243 GB, free: 32.26 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/12.48, allocations: 43.95 kB / 4.243 GB, free: 32.22 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/12.48, allocations: 48.45 kB / 4.243 GB, free: 32.17 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/12.48, allocations: 35.97 kB / 4.243 GB, free: 32.14 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002372/12.48, allocations: 168.5 kB / 4.243 GB, free: 31.97 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.51e-07/12.48, allocations: 7.875 kB / 4.243 GB, free: 31.96 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.002532/12.48, allocations: 0.4955 MB / 4.243 GB, free: 31.47 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003418/12.49, allocations: 1.324 MB / 4.245 GB, free: 30.27 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/12.49, allocations: 0.8727 MB / 4.246 GB, free: 29.38 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/12.49, allocations: 3.938 kB / 4.246 GB, free: 29.38 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/12.49, allocations: 361.9 kB / 4.246 GB, free: 29.03 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/12.49, allocations: 216.5 kB / 4.246 GB, free: 28.82 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/12.5, allocations: 1.024 MB / 4.247 GB, free: 27.75 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/12.5, allocations: 0.857 MB / 4.248 GB, free: 26.87 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/12.5, allocations: 63.34 kB / 4.248 GB, free: 26.8 MB / 427.1 MB Notification: Performance of SimCode: time 9.32e-07/12.5, allocations: 0 / 4.248 GB, free: 26.8 MB / 427.1 MB Notification: Performance of Templates: time 0.03919/12.54, allocations: 19.81 MB / 4.267 GB, free: 6.98 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches