Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001996/0.001996, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000936/0.0009361, allocations: 89.33 kB / 292.1 MB, free: 5.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.067e-05, allocations: 0 / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.95/17.08, allocations: 6.124 GB / 6.516 GB, free: 45.29 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/17.08, allocations: 77.58 kB / 6.516 GB, free: 45.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.622/19.7, allocations: 0.644 GB / 7.16 GB, free: 33.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.142e-06/19.7, allocations: 1.781 kB / 7.16 GB, free: 33.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.805e-05/19.7, allocations: 14.84 kB / 7.16 GB, free: 33.48 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01121/19.71, allocations: 2.334 MB / 7.163 GB, free: 32.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/19.71, allocations: 10.53 kB / 7.163 GB, free: 32.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/19.71, allocations: 86.84 kB / 7.163 GB, free: 32.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007943/19.71, allocations: 436.1 kB / 7.163 GB, free: 31.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/19.71, allocations: 45.75 kB / 7.163 GB, free: 31.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/19.71, allocations: 62.33 kB / 7.163 GB, free: 31.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/19.71, allocations: 0.7739 MB / 7.164 GB, free: 31.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/19.71, allocations: 7.234 kB / 7.164 GB, free: 31.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/19.71, allocations: 25.81 kB / 7.164 GB, free: 31.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/19.71, allocations: 16.97 kB / 7.164 GB, free: 31.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/19.71, allocations: 0.9816 MB / 7.165 GB, free: 31.89 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/19.73, allocations: 12.48 MB / 7.177 GB, free: 20.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/19.73, allocations: 0.7686 MB / 7.178 GB, free: 20.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/19.73, allocations: 395.4 kB / 7.178 GB, free: 20.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03599/19.77, allocations: 30.74 MB / 7.208 GB, free: 21.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.177e-05/19.77, allocations: 44.05 kB / 7.208 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.484e-06/19.77, allocations: 0 / 7.208 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.009753/19.78, allocations: 3.031 MB / 7.211 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/19.78, allocations: 63.17 kB / 7.211 GB, free: 21.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/19.78, allocations: 317.2 kB / 7.212 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.895e-05/19.78, allocations: 45.36 kB / 7.212 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/19.78, allocations: 246.9 kB / 7.212 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/19.78, allocations: 307.5 kB / 7.212 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/19.78, allocations: 17.25 kB / 7.212 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001526/19.78, allocations: 360.9 kB / 7.213 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/19.78, allocations: 349.6 kB / 7.213 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/19.78, allocations: 466.1 kB / 7.213 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007995/19.78, allocations: 415 kB / 7.214 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/19.78, allocations: 0 / 7.214 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002297/19.78, allocations: 1.078 MB / 7.215 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/19.78, allocations: 9.328 kB / 7.215 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/19.78, allocations: 3.875 kB / 7.215 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008344/19.78, allocations: 174.5 kB / 7.215 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/19.78, allocations: 193.2 kB / 7.215 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/19.79, allocations: 3.912 MB / 7.219 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/19.79, allocations: 62.95 kB / 7.219 GB, free: 16.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/19.79, allocations: 48.67 kB / 7.219 GB, free: 16.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002653/19.79, allocations: 162 kB / 7.219 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/19.79, allocations: 62.41 kB / 7.219 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/19.79, allocations: 1.304 MB / 7.221 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/19.79, allocations: 7.75 kB / 7.221 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/19.79, allocations: 2.125 kB / 7.221 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001935/19.79, allocations: 1.312 MB / 7.222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/19.8, allocations: 1.983 MB / 7.224 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/19.8, allocations: 0 / 7.224 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/19.8, allocations: 169.5 kB / 7.224 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/19.8, allocations: 309.4 kB / 7.224 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/19.8, allocations: 27.52 kB / 7.224 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/19.8, allocations: 1.303 MB / 7.226 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/19.8, allocations: 0 / 7.226 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/19.8, allocations: 1.425 MB / 7.227 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/19.8, allocations: 138.2 kB / 7.227 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/19.8, allocations: 24.39 kB / 7.227 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/19.8, allocations: 58.38 kB / 7.227 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/19.8, allocations: 58.5 kB / 7.227 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/19.8, allocations: 53.64 kB / 7.227 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003285/19.8, allocations: 279.9 kB / 7.228 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/19.8, allocations: 0 / 7.228 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01135/19.81, allocations: 2.283 MB / 7.23 GB, free: 29.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01895/19.83, allocations: 3.218 MB / 7.233 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00253/19.84, allocations: 1.135 MB / 7.234 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/19.84, allocations: 3.906 kB / 7.234 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008673/19.84, allocations: 0.4895 MB / 7.235 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/19.84, allocations: 363.5 kB / 7.235 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/19.84, allocations: 1.387 MB / 7.236 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/19.84, allocations: 0.9247 MB / 7.237 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008416/19.84, allocations: 207.2 kB / 7.237 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/19.84, allocations: 81.17 kB / 7.238 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/19.84, allocations: 0 / 7.238 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.4208/20.26, allocations: 70.87 MB / 7.307 GB, free: 81.34 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches