Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009547/0.0009548, allocations: 182.7 kB / 18.04 MB, free: 3.781 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.373/1.373, allocations: 205.4 MB / 224.2 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.0007897/0.0007899, allocations: 92.36 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 8 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2177, allocations: 47.57 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.466/6.684, allocations: 3.56 GB / 3.928 GB, free: 155.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/6.684, allocations: 102.2 kB / 3.928 GB, free: 155.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9211/7.605, allocations: 314.7 MB / 4.236 GB, free: 12.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/7.605, allocations: 4 kB / 4.236 GB, free: 12.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/7.605, allocations: 11.98 kB / 4.236 GB, free: 12.49 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.004089/7.609, allocations: 1.582 MB / 4.237 GB, free: 10.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/7.61, allocations: 12.03 kB / 4.237 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/7.61, allocations: 52.47 kB / 4.237 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/7.61, allocations: 371.1 kB / 4.238 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/7.61, allocations: 29.38 kB / 4.238 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/7.61, allocations: 48.38 kB / 4.238 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/7.611, allocations: 0.5026 MB / 4.238 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/7.611, allocations: 7.938 kB / 4.238 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/7.611, allocations: 20 kB / 4.238 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/7.611, allocations: 8 kB / 4.238 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/7.612, allocations: 0.5972 MB / 4.239 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/7.615, allocations: 2.175 MB / 4.241 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009396/7.616, allocations: 0.5556 MB / 4.242 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/7.616, allocations: 258.1 kB / 4.242 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/7.617, allocations: 0.697 MB / 4.243 GB, free: 5.109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/7.617, allocations: 42.94 kB / 4.243 GB, free: 5.059 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 1.954e-06/7.617, allocations: 3.938 kB / 4.243 GB, free: 5.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01343/7.63, allocations: 4.13 MB / 4.247 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/7.63, allocations: 63.91 kB / 4.247 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/7.63, allocations: 290.7 kB / 4.247 GB, free: 456 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/7.63, allocations: 41.64 kB / 4.247 GB, free: 408 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/7.63, allocations: 197.1 kB / 4.247 GB, free: 208 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1879/7.818, allocations: 221.7 kB / 4.247 GB, free: 60.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/7.818, allocations: 11.66 kB / 4.247 GB, free: 60.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/7.819, allocations: 355.2 kB / 4.248 GB, free: 60.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/7.819, allocations: 315.8 kB / 4.248 GB, free: 60.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/7.82, allocations: 387.2 kB / 4.248 GB, free: 60.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/7.821, allocations: 0.7148 MB / 4.249 GB, free: 60.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/7.821, allocations: 0 / 4.249 GB, free: 60.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002072/7.823, allocations: 1.007 MB / 4.25 GB, free: 60.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/7.823, allocations: 3.938 kB / 4.25 GB, free: 60.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/7.823, allocations: 4.469 kB / 4.25 GB, free: 60.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/7.825, allocations: 347.8 kB / 4.25 GB, free: 60.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/7.825, allocations: 120.5 kB / 4.251 GB, free: 60.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/7.828, allocations: 3.527 MB / 4.254 GB, free: 57.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/7.829, allocations: 61.02 kB / 4.254 GB, free: 57.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/7.829, allocations: 26.41 kB / 4.254 GB, free: 57.27 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.000271/7.829, allocations: 196.9 kB / 4.254 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/7.829, allocations: 47.72 kB / 4.254 GB, free: 57.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/7.833, allocations: 1.384 MB / 4.256 GB, free: 57.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/7.833, allocations: 7.25 kB / 4.256 GB, free: 57.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/7.833, allocations: 0 / 4.256 GB, free: 57.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003744/7.837, allocations: 1.42 MB / 4.257 GB, free: 56.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/7.84, allocations: 1.736 MB / 4.259 GB, free: 56.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/7.84, allocations: 0 / 4.259 GB, free: 56.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/7.84, allocations: 115.5 kB / 4.259 GB, free: 56.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/7.842, allocations: 398.7 kB / 4.259 GB, free: 56.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/7.842, allocations: 25.72 kB / 4.259 GB, free: 56.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/7.843, allocations: 0.8769 MB / 4.26 GB, free: 55.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/7.843, allocations: 6.656 kB / 4.26 GB, free: 55.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/7.847, allocations: 1.679 MB / 4.262 GB, free: 55.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/7.847, allocations: 119.3 kB / 4.262 GB, free: 55.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/7.848, allocations: 21.06 kB / 4.262 GB, free: 55.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/7.848, allocations: 64.78 kB / 4.262 GB, free: 55.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/7.848, allocations: 42.14 kB / 4.262 GB, free: 55.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/7.848, allocations: 28.81 kB / 4.262 GB, free: 55.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001829/7.848, allocations: 228.8 kB / 4.262 GB, free: 55.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.848, allocations: 0 / 4.262 GB, free: 55.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001564/7.85, allocations: 0.5328 MB / 4.263 GB, free: 55.45 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.001914/7.852, allocations: 1.193 MB / 4.264 GB, free: 55.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001678/7.854, allocations: 0.9965 MB / 4.265 GB, free: 55.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/7.854, allocations: 3.5 kB / 4.265 GB, free: 55.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007717/7.854, allocations: 422.5 kB / 4.265 GB, free: 55.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/7.856, allocations: 295.8 kB / 4.266 GB, free: 55.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/7.858, allocations: 1.559 MB / 4.267 GB, free: 54.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/7.859, allocations: 0.8512 MB / 4.268 GB, free: 53.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005663/7.859, allocations: 124 kB / 4.268 GB, free: 53.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/7.859, allocations: 58.89 kB / 4.268 GB, free: 53.81 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/7.859, allocations: 0 / 4.268 GB, free: 53.81 MB / 426.7 MB Notification: Performance of Templates: time 0.03669/7.896, allocations: 29.68 MB / 4.297 GB, free: 52.89 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches