Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 179 kB / 18.04 MB, free: 3.66 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.38/1.38, allocations: 205.4 MB / 224.2 MB, free: 8.926 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.0007918/0.0007916, allocations: 92.48 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 12 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 47.58 MB / 377 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.57/12.77, allocations: 6.68 GB / 7.048 GB, free: 46.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/12.77, allocations: 80.83 kB / 7.048 GB, free: 46.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7292/13.5, allocations: 192.8 MB / 7.237 GB, free: 22.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.546e-06/13.5, allocations: 3.984 kB / 7.237 GB, free: 22.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/13.5, allocations: 4 kB / 7.237 GB, free: 22.45 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.008908/13.51, allocations: 1.461 MB / 7.238 GB, free: 20.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/13.51, allocations: 8.031 kB / 7.238 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/13.51, allocations: 20.75 kB / 7.238 GB, free: 20.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/13.51, allocations: 228.1 kB / 7.238 GB, free: 20.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/13.51, allocations: 12.7 kB / 7.238 GB, free: 20.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/13.51, allocations: 20.28 kB / 7.238 GB, free: 20.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/13.51, allocations: 278 kB / 7.239 GB, free: 20.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/13.51, allocations: 192 / 7.239 GB, free: 20.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/13.51, allocations: 11.94 kB / 7.239 GB, free: 20.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/13.51, allocations: 15.92 kB / 7.239 GB, free: 20.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/13.51, allocations: 307.7 kB / 7.239 GB, free: 20 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/13.52, allocations: 0.7064 MB / 7.24 GB, free: 19.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/13.52, allocations: 241.2 kB / 7.24 GB, free: 18.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/13.52, allocations: 142.3 kB / 7.24 GB, free: 18.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/13.53, allocations: 12.44 MB / 7.252 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/13.53, allocations: 42.55 kB / 7.252 GB, free: 3.828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.326e-06/13.53, allocations: 0 / 7.252 GB, free: 3.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002854/13.53, allocations: 0.6919 MB / 7.253 GB, free: 3.137 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/13.53, allocations: 85.11 kB / 7.253 GB, free: 3.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/13.53, allocations: 125.8 kB / 7.253 GB, free: 2.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/13.53, allocations: 37.7 kB / 7.253 GB, free: 2.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/13.53, allocations: 108.8 kB / 7.253 GB, free: 2.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/13.53, allocations: 122.1 kB / 7.253 GB, free: 2.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/13.53, allocations: 8 kB / 7.253 GB, free: 2.621 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/13.53, allocations: 326.8 kB / 7.254 GB, free: 2.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/13.53, allocations: 139.8 kB / 7.254 GB, free: 2.156 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/13.53, allocations: 211.6 kB / 7.254 GB, free: 1.922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/13.53, allocations: 357.5 kB / 7.254 GB, free: 1.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/13.53, allocations: 4 kB / 7.254 GB, free: 1.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00103/13.54, allocations: 409.1 kB / 7.255 GB, free: 1.137 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/13.54, allocations: 11.94 kB / 7.255 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/13.54, allocations: 0 / 7.255 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/13.54, allocations: 12.2 kB / 7.255 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/13.54, allocations: 95.81 kB / 7.255 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/13.54, allocations: 7.938 kB / 7.255 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/13.54, allocations: 23.89 kB / 7.255 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/13.54, allocations: 19.98 kB / 7.255 GB, free: 0.9688 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0001471/13.54, allocations: 150.6 kB / 7.255 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/13.54, allocations: 23.75 kB / 7.255 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/13.54, allocations: 186.3 kB / 7.255 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/13.54, allocations: 4 kB / 7.255 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/13.54, allocations: 4 kB / 7.255 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/13.54, allocations: 0 / 7.255 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2691/13.81, allocations: 0.763 MB / 7.256 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/13.81, allocations: 1.906 kB / 7.256 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/13.81, allocations: 85.09 kB / 7.256 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/13.81, allocations: 0 / 7.256 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/13.81, allocations: 17.86 kB / 7.256 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/13.81, allocations: 6.344 kB / 7.256 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/13.81, allocations: 0 / 7.256 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/13.81, allocations: 0.7186 MB / 7.257 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/13.81, allocations: 126.8 kB / 7.257 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/13.81, allocations: 18.28 kB / 7.257 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/13.81, allocations: 19.45 kB / 7.257 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/13.81, allocations: 29.12 kB / 7.257 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/13.81, allocations: 15.83 kB / 7.257 GB, free: 59.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.64e-05/13.81, allocations: 109.2 kB / 7.257 GB, free: 59.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/13.81, allocations: 0 / 7.257 GB, free: 59.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005963/13.81, allocations: 1.105 MB / 7.258 GB, free: 59.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * 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.009076/13.82, allocations: 1.625 MB / 7.26 GB, free: 58.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001217/13.83, allocations: 346.5 kB / 7.26 GB, free: 58.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/13.83, allocations: 3.875 kB / 7.26 GB, free: 58.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/13.83, allocations: 179 kB / 7.26 GB, free: 58.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/13.83, allocations: 99.78 kB / 7.26 GB, free: 58.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/13.85, allocations: 11.93 MB / 7.272 GB, free: 57.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/13.85, allocations: 0.7345 MB / 7.273 GB, free: 57.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005287/13.85, allocations: 86.48 kB / 7.273 GB, free: 57.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/13.85, allocations: 38.75 kB / 7.273 GB, free: 57.25 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/13.85, allocations: 0 / 7.273 GB, free: 57.25 MB / 426.7 MB Notification: Performance of Templates: time 0.05485/13.9, allocations: 34.83 MB / 7.307 GB, free: 56.18 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches