Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009812/0.0009811, allocations: 179.8 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 74.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.805e-05, allocations: 0 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 47.58 MB / 363.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.07/10.18, allocations: 3.642 GB / 3.996 GB, free: 109.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/10.18, allocations: 67.97 kB / 3.996 GB, free: 109.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1116/10.3, allocations: 47.95 MB / 4.043 GB, free: 61.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.466e-06/10.3, allocations: 0 / 4.043 GB, free: 61.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.284e-05/10.3, allocations: 12 kB / 4.043 GB, free: 61.42 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.0025/10.3, allocations: 0.6274 MB / 4.044 GB, free: 60.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.339e-05/10.3, allocations: 12.03 kB / 4.044 GB, free: 60.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/10.3, allocations: 19.75 kB / 4.044 GB, free: 60.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/10.3, allocations: 218.8 kB / 4.044 GB, free: 60.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/10.3, allocations: 4 kB / 4.044 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/10.3, allocations: 11.98 kB / 4.044 GB, free: 60.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004513/10.3, allocations: 204.5 kB / 4.044 GB, free: 60.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/10.3, allocations: 217.2 kB / 4.045 GB, free: 60.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/10.3, allocations: 4 kB / 4.045 GB, free: 60.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/10.3, allocations: 0 / 4.045 GB, free: 60.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/10.3, allocations: 4 kB / 4.045 GB, free: 60.01 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001431/10.3, allocations: 0.6366 MB / 4.045 GB, free: 59.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/10.3, allocations: 185.2 kB / 4.045 GB, free: 59.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/10.3, allocations: 117.6 kB / 4.045 GB, free: 59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/10.3, allocations: 352.4 kB / 4.046 GB, free: 58.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/10.3, allocations: 38.56 kB / 4.046 GB, free: 58.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/10.3, allocations: 0 / 4.046 GB, free: 58.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001519/10.3, allocations: 0.4917 MB / 4.046 GB, free: 58.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/10.3, allocations: 81.3 kB / 4.046 GB, free: 57.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/10.3, allocations: 113 kB / 4.047 GB, free: 57.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/10.3, allocations: 25.7 kB / 4.047 GB, free: 57.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/10.3, allocations: 112.6 kB / 4.047 GB, free: 57.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.878e-05/10.3, allocations: 126.1 kB / 4.047 GB, free: 57.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/10.3, allocations: 0 / 4.047 GB, free: 57.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/10.3, allocations: 326.8 kB / 4.047 GB, free: 57.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/10.3, allocations: 99.98 kB / 4.047 GB, free: 57.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/10.3, allocations: 167.9 kB / 4.047 GB, free: 56.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/10.3, allocations: 144.7 kB / 4.047 GB, free: 56.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/10.3, allocations: 4 kB / 4.047 GB, free: 56.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005682/10.31, allocations: 353.5 kB / 4.048 GB, free: 56.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/10.31, allocations: 7.953 kB / 4.048 GB, free: 56.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/10.31, allocations: 8 kB / 4.048 GB, free: 56.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/10.31, allocations: 4 kB / 4.048 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/10.31, allocations: 83.88 kB / 4.048 GB, free: 56.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/10.31, allocations: 7.938 kB / 4.048 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/10.31, allocations: 32.03 kB / 4.048 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/10.31, allocations: 19.98 kB / 4.048 GB, free: 56.27 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 () * 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.0001084/10.31, allocations: 104.9 kB / 4.048 GB, free: 56.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/10.31, allocations: 15.81 kB / 4.048 GB, free: 56.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/10.31, allocations: 178.2 kB / 4.048 GB, free: 55.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/10.31, allocations: 7.984 kB / 4.048 GB, free: 55.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/10.31, allocations: 0 / 4.048 GB, free: 55.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/10.31, allocations: 3.984 kB / 4.048 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/10.31, allocations: 0.6438 MB / 4.049 GB, free: 55.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/10.31, allocations: 0 / 4.049 GB, free: 55.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/10.31, allocations: 87.97 kB / 4.049 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/10.31, allocations: 4 kB / 4.049 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/10.31, allocations: 7.984 kB / 4.049 GB, free: 55.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/10.31, allocations: 4 kB / 4.049 GB, free: 55.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/10.31, allocations: 4 kB / 4.049 GB, free: 55.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008094/10.31, allocations: 0.6939 MB / 4.05 GB, free: 54.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/10.31, allocations: 124.8 kB / 4.05 GB, free: 54.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/10.31, allocations: 0 / 4.05 GB, free: 54.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/10.31, allocations: 15.98 kB / 4.05 GB, free: 54.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/10.31, allocations: 23.92 kB / 4.05 GB, free: 54.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/10.31, allocations: 15.98 kB / 4.05 GB, free: 54.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.846e-05/10.31, allocations: 95.66 kB / 4.05 GB, free: 54.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/10.31, allocations: 3.938 kB / 4.05 GB, free: 54.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007975/10.31, allocations: 167.8 kB / 4.05 GB, free: 53.92 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 () * 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.001211/10.31, allocations: 0.7348 MB / 4.051 GB, free: 53.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004585/10.31, allocations: 268.8 kB / 4.051 GB, free: 52.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/10.31, allocations: 4 kB / 4.051 GB, free: 52.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/10.31, allocations: 147.2 kB / 4.051 GB, free: 52.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/10.31, allocations: 81.88 kB / 4.051 GB, free: 52.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/10.31, allocations: 450.9 kB / 4.052 GB, free: 52.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/10.31, allocations: 0.7413 MB / 4.052 GB, free: 51.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004154/10.32, allocations: 78.03 kB / 4.053 GB, free: 51.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/10.32, allocations: 31.41 kB / 4.053 GB, free: 51.33 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/10.32, allocations: 0 / 4.053 GB, free: 51.33 MB / 426.7 MB Notification: Performance of Templates: time 0.01372/10.33, allocations: 8.273 MB / 4.061 GB, free: 43.05 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches