Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00225/0.00225, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009237/0.0009238, allocations: 97.06 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.128e-05/1.131e-05, allocations: 0 / 343.7 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09887, allocations: 51.48 MB / 395.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.19/10.29, allocations: 3.33 GB / 3.715 GB, free: 112.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003661/10.29, allocations: 63.53 kB / 3.716 GB, free: 112.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1233/10.41, allocations: 48.15 MB / 3.763 GB, free: 93.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.894e-06/10.41, allocations: 0 / 3.763 GB, free: 93.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/10.41, allocations: 0 / 3.763 GB, free: 93.24 MB / 442.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.002331/10.42, allocations: 0.6277 MB / 3.763 GB, free: 92.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/10.42, allocations: 8.031 kB / 3.763 GB, free: 92.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/10.42, allocations: 19.81 kB / 3.763 GB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/10.42, allocations: 214.8 kB / 3.763 GB, free: 92.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/10.42, allocations: 11.94 kB / 3.763 GB, free: 92.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/10.42, allocations: 11.95 kB / 3.763 GB, free: 92.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000463/10.42, allocations: 208.5 kB / 3.764 GB, free: 92.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/10.42, allocations: 213.2 kB / 3.764 GB, free: 91.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/10.42, allocations: 0 / 3.764 GB, free: 91.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/10.42, allocations: 0 / 3.764 GB, free: 91.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/10.42, allocations: 8 kB / 3.764 GB, free: 91.84 MB / 442.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.001478/10.42, allocations: 0.6289 MB / 3.764 GB, free: 91.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/10.42, allocations: 193.4 kB / 3.765 GB, free: 90.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/10.42, allocations: 116 kB / 3.765 GB, free: 90.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/10.42, allocations: 368.2 kB / 3.765 GB, free: 90.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/10.42, allocations: 38.56 kB / 3.765 GB, free: 90.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/10.42, allocations: 0 / 3.765 GB, free: 90.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.00152/10.42, allocations: 489.1 kB / 3.766 GB, free: 89.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/10.42, allocations: 89.3 kB / 3.766 GB, free: 89.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/10.42, allocations: 109.1 kB / 3.766 GB, free: 89.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/10.42, allocations: 29.7 kB / 3.766 GB, free: 89.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/10.42, allocations: 108.6 kB / 3.766 GB, free: 89.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.388e-05/10.42, allocations: 118.2 kB / 3.766 GB, free: 89.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/10.42, allocations: 0 / 3.766 GB, free: 89.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/10.42, allocations: 326.8 kB / 3.766 GB, free: 89.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/10.42, allocations: 101.9 kB / 3.766 GB, free: 88.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/10.42, allocations: 174.8 kB / 3.767 GB, free: 88.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/10.42, allocations: 146.9 kB / 3.767 GB, free: 88.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/10.42, allocations: 0 / 3.767 GB, free: 88.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005733/10.42, allocations: 345.1 kB / 3.767 GB, free: 88.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/10.42, allocations: 11.95 kB / 3.767 GB, free: 88.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/10.42, allocations: 0 / 3.767 GB, free: 88.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/10.42, allocations: 4 kB / 3.767 GB, free: 88.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/10.42, allocations: 88.09 kB / 3.767 GB, free: 88.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/10.42, allocations: 11.92 kB / 3.767 GB, free: 88.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/10.42, allocations: 23.83 kB / 3.767 GB, free: 88.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/10.42, allocations: 19.98 kB / 3.767 GB, free: 88.11 MB / 442.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 9.945e-05/10.42, allocations: 108.9 kB / 3.767 GB, free: 88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/10.42, allocations: 15.81 kB / 3.767 GB, free: 87.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/10.43, allocations: 178.2 kB / 3.768 GB, free: 87.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/10.43, allocations: 8 kB / 3.768 GB, free: 87.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/10.43, allocations: 0 / 3.768 GB, free: 87.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/10.43, allocations: 7.984 kB / 3.768 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/10.43, allocations: 0.6518 MB / 3.768 GB, free: 87.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/10.43, allocations: 9.672 kB / 3.768 GB, free: 87.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/10.43, allocations: 79.83 kB / 3.768 GB, free: 87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/10.43, allocations: 4 kB / 3.768 GB, free: 87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/10.43, allocations: 7.984 kB / 3.768 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/10.43, allocations: 4 kB / 3.768 GB, free: 86.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/10.43, allocations: 0 / 3.768 GB, free: 86.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/10.43, allocations: 0.7028 MB / 3.769 GB, free: 86.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/10.43, allocations: 116.9 kB / 3.769 GB, free: 86.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/10.43, allocations: 4 kB / 3.769 GB, free: 86.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/10.43, allocations: 11.98 kB / 3.769 GB, free: 86.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/10.43, allocations: 31.97 kB / 3.769 GB, free: 86.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/10.43, allocations: 19.98 kB / 3.769 GB, free: 86.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.398e-05/10.43, allocations: 93.23 kB / 3.769 GB, free: 85.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/10.43, allocations: 0 / 3.769 GB, free: 85.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008258/10.43, allocations: 179.8 kB / 3.769 GB, free: 85.75 MB / 442.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.001253/10.43, allocations: 0.7426 MB / 3.77 GB, free: 85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004354/10.43, allocations: 271.8 kB / 3.77 GB, free: 84.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/10.43, allocations: 0 / 3.77 GB, free: 84.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/10.43, allocations: 147.8 kB / 3.771 GB, free: 84.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/10.43, allocations: 82.62 kB / 3.771 GB, free: 84.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/10.43, allocations: 442.6 kB / 3.771 GB, free: 84.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/10.43, allocations: 0.7452 MB / 3.772 GB, free: 83.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/10.43, allocations: 81.89 kB / 3.772 GB, free: 83.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/10.43, allocations: 31.42 kB / 3.772 GB, free: 83.16 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/10.43, allocations: 0 / 3.772 GB, free: 83.16 MB / 442.7 MB Notification: Performance of Templates: time 0.01308/10.45, allocations: 8.417 MB / 3.78 GB, free: 74.8 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches