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.00164/0.00164, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.808/1.808, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.001091/0.001091, allocations: 92.09 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002732, allocations: 8 kB / 328.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2942, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.994/8.288, allocations: 3.56 GB / 3.927 GB, free: 62.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/8.289, allocations: 95.06 kB / 3.927 GB, free: 62.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193/9.481, allocations: 317.6 MB / 4.237 GB, free: 66.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/9.482, allocations: 0 / 4.237 GB, free: 66.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/9.482, allocations: 16.67 kB / 4.237 GB, free: 66.93 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.005063/9.487, allocations: 1.583 MB / 4.239 GB, free: 65.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/9.487, allocations: 10.73 kB / 4.239 GB, free: 65.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/9.487, allocations: 61.05 kB / 4.239 GB, free: 65.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/9.487, allocations: 354.5 kB / 4.239 GB, free: 65.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/9.488, allocations: 34.84 kB / 4.239 GB, free: 65.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/9.488, allocations: 43.88 kB / 4.239 GB, free: 65.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008208/9.488, allocations: 0.4935 MB / 4.24 GB, free: 65.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/9.488, allocations: 3.938 kB / 4.24 GB, free: 65.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/9.489, allocations: 17.84 kB / 4.24 GB, free: 65.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/9.489, allocations: 12.66 kB / 4.24 GB, free: 65.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/9.489, allocations: 0.5941 MB / 4.24 GB, free: 65.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/9.492, allocations: 2.175 MB / 4.243 GB, free: 63.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/9.493, allocations: 0.5522 MB / 4.243 GB, free: 63.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005375/9.494, allocations: 0.7004 MB / 4.244 GB, free: 62.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/9.494, allocations: 42.64 kB / 4.244 GB, free: 62.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.464e-06/9.494, allocations: 3.094 kB / 4.244 GB, free: 62.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01518/9.509, allocations: 4.119 MB / 4.248 GB, free: 61.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/9.509, allocations: 63.48 kB / 4.248 GB, free: 61.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/9.51, allocations: 272.2 kB / 4.248 GB, free: 60.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/9.51, allocations: 37.17 kB / 4.248 GB, free: 60.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/9.51, allocations: 192.1 kB / 4.248 GB, free: 60.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/9.51, allocations: 226.2 kB / 4.249 GB, free: 60.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/9.51, allocations: 8 kB / 4.249 GB, free: 60.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.904e-05/9.51, allocations: 349.3 kB / 4.249 GB, free: 60.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/9.511, allocations: 324.2 kB / 4.249 GB, free: 60.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/9.511, allocations: 383.5 kB / 4.25 GB, free: 59.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006495/9.512, allocations: 353 kB / 4.25 GB, free: 59.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/9.512, allocations: 0 / 4.25 GB, free: 59.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002161/9.514, allocations: 0.9997 MB / 4.251 GB, free: 59.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/9.514, allocations: 11.28 kB / 4.251 GB, free: 59.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/9.514, allocations: 0 / 4.251 GB, free: 59.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/9.516, allocations: 362.2 kB / 4.251 GB, free: 59.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/9.516, allocations: 117.4 kB / 4.251 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/9.519, allocations: 3.543 MB / 4.255 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/9.52, allocations: 65.67 kB / 4.255 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/9.52, allocations: 23.84 kB / 4.255 GB, free: 55.25 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.000355/9.521, allocations: 197.4 kB / 4.255 GB, free: 55.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/9.521, allocations: 43.53 kB / 4.255 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/9.525, allocations: 1.378 MB / 4.256 GB, free: 53.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/9.525, allocations: 11.95 kB / 4.256 GB, free: 53.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/9.525, allocations: 0 / 4.256 GB, free: 53.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003809/9.529, allocations: 1.433 MB / 4.258 GB, free: 52.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/9.532, allocations: 1.72 MB / 4.26 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/9.532, allocations: 3.953 kB / 4.26 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/9.532, allocations: 117.9 kB / 4.26 GB, free: 51.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/9.534, allocations: 392.5 kB / 4.26 GB, free: 50.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/9.534, allocations: 23.84 kB / 4.26 GB, free: 50.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/9.536, allocations: 0.8899 MB / 4.261 GB, free: 49.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/9.536, allocations: 0 / 4.261 GB, free: 49.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/9.54, allocations: 1.704 MB / 4.263 GB, free: 48.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/9.54, allocations: 118.9 kB / 4.263 GB, free: 48.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/9.54, allocations: 15.84 kB / 4.263 GB, free: 48.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/9.541, allocations: 66.67 kB / 4.263 GB, free: 48.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/9.541, allocations: 39.56 kB / 4.263 GB, free: 48.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/9.541, allocations: 35.88 kB / 4.263 GB, free: 48.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002703/9.542, allocations: 224 kB / 4.263 GB, free: 48.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/9.542, allocations: 4 kB / 4.263 GB, free: 48.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002298/9.544, allocations: 0.5329 MB / 4.264 GB, free: 47.54 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.002113/9.546, allocations: 1.192 MB / 4.265 GB, free: 46.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001787/9.548, allocations: 0.996 MB / 4.266 GB, free: 45.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/9.548, allocations: 4 kB / 4.266 GB, free: 45.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007733/9.549, allocations: 423.2 kB / 4.266 GB, free: 45.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/9.55, allocations: 299.1 kB / 4.266 GB, free: 44.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/9.552, allocations: 1.539 MB / 4.268 GB, free: 43.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/9.553, allocations: 0.8651 MB / 4.269 GB, free: 42.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005527/9.553, allocations: 127.8 kB / 4.269 GB, free: 42.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/9.553, allocations: 55.42 kB / 4.269 GB, free: 42.38 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/9.553, allocations: 0 / 4.269 GB, free: 42.38 MB / 426.7 MB Notification: Performance of Templates: time 0.03617/9.59, allocations: 29.26 MB / 4.298 GB, free: 13.22 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/jenkins/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