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.00137/0.00137, allocations: 183.2 kB / 18.04 MB, free: 3.777 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.383/1.383, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0008252/0.0008252, allocations: 89.02 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2205, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.209/6.43, allocations: 3.642 GB / 4.011 GB, free: 85.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/6.43, allocations: 71.97 kB / 4.011 GB, free: 85.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.101/6.531, allocations: 48.77 MB / 4.058 GB, free: 36.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/6.531, allocations: 0 / 4.058 GB, free: 36.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/6.531, allocations: 4 kB / 4.058 GB, free: 36 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.00164/6.533, allocations: 0.6277 MB / 4.059 GB, free: 35.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/6.533, allocations: 20.02 kB / 4.059 GB, free: 35.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/6.533, allocations: 20.75 kB / 4.059 GB, free: 35.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/6.533, allocations: 204.2 kB / 4.059 GB, free: 35.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/6.533, allocations: 20.64 kB / 4.059 GB, free: 35.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/6.533, allocations: 16.28 kB / 4.059 GB, free: 35.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/6.534, allocations: 258 kB / 4.059 GB, free: 34.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/6.534, allocations: 4.188 kB / 4.059 GB, free: 34.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/6.534, allocations: 11.94 kB / 4.06 GB, free: 34.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/6.534, allocations: 4 kB / 4.06 GB, free: 34.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/6.535, allocations: 264.6 kB / 4.06 GB, free: 34.47 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.001237/6.536, allocations: 0.6794 MB / 4.06 GB, free: 33.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/6.536, allocations: 217.2 kB / 4.061 GB, free: 33.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/6.537, allocations: 138 kB / 4.061 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/6.537, allocations: 368.4 kB / 4.061 GB, free: 32.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/6.537, allocations: 42.48 kB / 4.061 GB, free: 32.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/6.537, allocations: 4 kB / 4.061 GB, free: 32.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002092/6.539, allocations: 0.6696 MB / 4.062 GB, free: 32.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/6.539, allocations: 81.11 kB / 4.062 GB, free: 32.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/6.539, allocations: 121.8 kB / 4.062 GB, free: 31.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/6.539, allocations: 33.69 kB / 4.062 GB, free: 31.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/6.539, allocations: 108.8 kB / 4.062 GB, free: 31.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/6.539, allocations: 130.1 kB / 4.062 GB, free: 31.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/6.539, allocations: 7.938 kB / 4.062 GB, free: 31.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.92e-05/6.539, allocations: 330.8 kB / 4.063 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/6.54, allocations: 135.9 kB / 4.063 GB, free: 31.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/6.54, allocations: 203.6 kB / 4.063 GB, free: 30.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/6.541, allocations: 355.1 kB / 4.063 GB, free: 30.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/6.541, allocations: 4 kB / 4.063 GB, free: 30.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008425/6.542, allocations: 413.2 kB / 4.064 GB, free: 30.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/6.542, allocations: 7.938 kB / 4.064 GB, free: 30.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/6.542, allocations: 4 kB / 4.064 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/6.542, allocations: 4 kB / 4.064 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/6.542, allocations: 87.88 kB / 4.064 GB, free: 30.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/6.542, allocations: 7.938 kB / 4.064 GB, free: 30.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/6.543, allocations: 32.03 kB / 4.064 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/6.543, allocations: 16 kB / 4.064 GB, free: 30.04 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.0001154/6.543, allocations: 141.8 kB / 4.064 GB, free: 29.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/6.543, allocations: 19.75 kB / 4.064 GB, free: 29.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/6.543, allocations: 177.4 kB / 4.064 GB, free: 29.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/6.543, allocations: 4 kB / 4.064 GB, free: 29.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/6.543, allocations: 0 / 4.064 GB, free: 29.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/6.543, allocations: 7.984 kB / 4.064 GB, free: 29.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/6.545, allocations: 0.7441 MB / 4.065 GB, free: 28.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/6.545, allocations: 4.375 kB / 4.065 GB, free: 28.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/6.545, allocations: 79.88 kB / 4.065 GB, free: 28.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/6.545, allocations: 4 kB / 4.065 GB, free: 28.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/6.545, allocations: 16.14 kB / 4.065 GB, free: 28.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/6.545, allocations: 7.938 kB / 4.065 GB, free: 28.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/6.545, allocations: 0 / 4.065 GB, free: 28.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/6.546, allocations: 0.7152 MB / 4.066 GB, free: 28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/6.546, allocations: 120.8 kB / 4.066 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/6.546, allocations: 8 kB / 4.066 GB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/6.547, allocations: 23.97 kB / 4.066 GB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/6.547, allocations: 31.84 kB / 4.066 GB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/6.547, allocations: 12 kB / 4.066 GB, free: 27.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.8e-05/6.547, allocations: 95.33 kB / 4.066 GB, free: 27.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/6.547, allocations: 4 kB / 4.066 GB, free: 27.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007123/6.547, allocations: 179.8 kB / 4.066 GB, free: 27.52 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.0009182/6.548, allocations: 0.6483 MB / 4.067 GB, free: 26.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007533/6.549, allocations: 335.6 kB / 4.067 GB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/6.549, allocations: 0 / 4.067 GB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/6.55, allocations: 176.5 kB / 4.067 GB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/6.55, allocations: 108 kB / 4.067 GB, free: 26.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/6.552, allocations: 0.741 MB / 4.068 GB, free: 25.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/6.552, allocations: 0.7335 MB / 4.069 GB, free: 24.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004672/6.552, allocations: 81.89 kB / 4.069 GB, free: 24.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/6.552, allocations: 31.42 kB / 4.069 GB, free: 24.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/6.552, allocations: 0 / 4.069 GB, free: 24.61 MB / 426.7 MB Notification: Performance of Templates: time 0.0154/6.568, allocations: 12.31 MB / 4.081 GB, free: 12.3 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/jenkins1/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