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.0009769/0.0009767, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.366/1.366, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.000799/0.000799, allocations: 101.3 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 8 kB / 328.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2425, allocations: 47.58 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.755/6.997, allocations: 3.56 GB / 3.927 GB, free: 155 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004415/6.998, allocations: 101.5 kB / 3.927 GB, free: 155 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9173/7.915, allocations: 314.7 MB / 4.235 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/7.915, allocations: 0 / 4.235 GB, free: 14.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.813e-05/7.915, allocations: 12 kB / 4.235 GB, free: 14.86 MB / 426.7 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.004432/7.92, allocations: 1.59 MB / 4.236 GB, free: 13.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/7.92, allocations: 12.02 kB / 4.236 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/7.92, allocations: 52.47 kB / 4.236 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/7.921, allocations: 367.5 kB / 4.237 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/7.921, allocations: 33.38 kB / 4.237 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/7.921, allocations: 48.38 kB / 4.237 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/7.922, allocations: 0.5064 MB / 4.237 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/7.922, allocations: 0 / 4.237 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/7.922, allocations: 16 kB / 4.237 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/7.922, allocations: 16 kB / 4.237 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008307/7.923, allocations: 0.5934 MB / 4.238 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/7.925, allocations: 2.175 MB / 4.24 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009717/7.926, allocations: 0.558 MB / 4.24 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/7.927, allocations: 262 kB / 4.241 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/7.927, allocations: 0.6931 MB / 4.241 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/7.927, allocations: 50.94 kB / 4.241 GB, free: 7.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.394e-06/7.927, allocations: 4 kB / 4.241 GB, free: 7.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01395/7.941, allocations: 4.122 MB / 4.245 GB, free: 3.176 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/7.941, allocations: 63.91 kB / 4.245 GB, free: 3.102 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/7.941, allocations: 286.7 kB / 4.246 GB, free: 2.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/7.942, allocations: 49.69 kB / 4.246 GB, free: 2.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/7.942, allocations: 193.1 kB / 4.246 GB, free: 2.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/7.942, allocations: 224.7 kB / 4.246 GB, free: 2.348 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/7.942, allocations: 12 kB / 4.246 GB, free: 2.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/7.942, allocations: 350.8 kB / 4.246 GB, free: 1.984 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/7.943, allocations: 317.1 kB / 4.247 GB, free: 1.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/7.943, allocations: 392.1 kB / 4.247 GB, free: 1.273 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/7.944, allocations: 0.7086 MB / 4.248 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/7.944, allocations: 0 / 4.248 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.1862/8.131, allocations: 1.004 MB / 4.249 GB, free: 60.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/8.131, allocations: 3.219 kB / 4.249 GB, free: 60.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/8.131, allocations: 3.688 kB / 4.249 GB, free: 60.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/8.132, allocations: 356 kB / 4.249 GB, free: 60.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/8.133, allocations: 118.3 kB / 4.249 GB, free: 60.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/8.135, allocations: 3.521 MB / 4.253 GB, free: 57.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/8.136, allocations: 65.16 kB / 4.253 GB, free: 57.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/8.136, allocations: 32.28 kB / 4.253 GB, free: 57.73 MB / 426.7 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 (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.0002855/8.136, allocations: 194.7 kB / 4.253 GB, free: 57.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/8.137, allocations: 41.84 kB / 4.253 GB, free: 57.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/8.141, allocations: 1.381 MB / 4.254 GB, free: 57.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/8.141, allocations: 7.781 kB / 4.254 GB, free: 57.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/8.141, allocations: 0 / 4.254 GB, free: 57.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003537/8.144, allocations: 1.428 MB / 4.256 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/8.147, allocations: 1.725 MB / 4.257 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/8.147, allocations: 3.844 kB / 4.257 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/8.148, allocations: 115.7 kB / 4.258 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/8.149, allocations: 395.3 kB / 4.258 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-05/8.149, allocations: 24.09 kB / 4.258 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/8.15, allocations: 0.884 MB / 4.259 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/8.15, allocations: 2.625 kB / 4.259 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/8.154, allocations: 1.687 MB / 4.261 GB, free: 56.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/8.155, allocations: 122.9 kB / 4.261 GB, free: 56.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.761e-05/8.155, allocations: 16.28 kB / 4.261 GB, free: 56.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/8.155, allocations: 60.72 kB / 4.261 GB, free: 56.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/8.156, allocations: 38.36 kB / 4.261 GB, free: 56.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/8.156, allocations: 35.7 kB / 4.261 GB, free: 56.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002167/8.156, allocations: 222.9 kB / 4.261 GB, free: 55.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/8.156, allocations: 0 / 4.261 GB, free: 55.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001931/8.158, allocations: 0.5336 MB / 4.262 GB, free: 55.94 MB / 426.7 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 () * Number of clocked 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.002518/8.16, allocations: 1.195 MB / 4.263 GB, free: 55.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001865/8.162, allocations: 1.005 MB / 4.264 GB, free: 55.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/8.162, allocations: 0 / 4.264 GB, free: 55.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007848/8.163, allocations: 412.6 kB / 4.264 GB, free: 55.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/8.164, allocations: 302.2 kB / 4.264 GB, free: 55.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/8.167, allocations: 1.594 MB / 4.266 GB, free: 55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/8.167, allocations: 0.8498 MB / 4.267 GB, free: 54.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/8.168, allocations: 62.59 kB / 4.267 GB, free: 54.3 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/8.168, allocations: 0 / 4.267 GB, free: 54.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02813/8.196, allocations: 20.17 MB / 4.286 GB, free: 53.64 MB / 426.7 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