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.001148/0.001149, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 227.2 MB / 245 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008955/0.0008955, allocations: 101.1 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002267/0.0002268, allocations: 8 kB / 357.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1996, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.59/11.79, allocations: 6.124 GB / 6.524 GB, free: 108.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/11.79, allocations: 81.83 kB / 6.524 GB, free: 108.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.989/13.78, allocations: 0.6448 GB / 7.169 GB, free: 27.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.084e-06/13.78, allocations: 3.562 kB / 7.169 GB, free: 27.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.638e-05/13.78, allocations: 17.62 kB / 7.169 GB, free: 27.11 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.00889/13.79, allocations: 2.385 MB / 7.171 GB, free: 25.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/13.79, allocations: 9.281 kB / 7.171 GB, free: 25.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/13.79, allocations: 79.55 kB / 7.171 GB, free: 25.37 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/13.79, allocations: 445.5 kB / 7.171 GB, free: 24.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/13.79, allocations: 47.53 kB / 7.171 GB, free: 24.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/13.79, allocations: 66.03 kB / 7.171 GB, free: 24.94 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/13.79, allocations: 0.7808 MB / 7.172 GB, free: 24.49 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/13.79, allocations: 3.938 kB / 7.172 GB, free: 24.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/13.79, allocations: 37.98 kB / 7.172 GB, free: 24.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/13.79, allocations: 13.75 kB / 7.172 GB, free: 24.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/13.79, allocations: 0.9987 MB / 7.173 GB, free: 23.99 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/13.81, allocations: 12.44 MB / 7.185 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/13.81, allocations: 0.7806 MB / 7.186 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.284/14.09, allocations: 30.66 MB / 7.216 GB, free: 43.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.559e-05/14.09, allocations: 41.88 kB / 7.216 GB, free: 43.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/14.09, allocations: 1.312 kB / 7.216 GB, free: 43.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.009886/14.1, allocations: 3.499 MB / 7.22 GB, free: 42.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/14.1, allocations: 60.48 kB / 7.22 GB, free: 42.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/14.1, allocations: 322.6 kB / 7.22 GB, free: 42.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/14.1, allocations: 43.02 kB / 7.22 GB, free: 42.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/14.1, allocations: 240.8 kB / 7.22 GB, free: 42.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/14.1, allocations: 305.1 kB / 7.221 GB, free: 42.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/14.1, allocations: 18.09 kB / 7.221 GB, free: 42.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.996e-05/14.1, allocations: 363.9 kB / 7.221 GB, free: 41.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/14.1, allocations: 355.2 kB / 7.221 GB, free: 41.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007953/14.1, allocations: 478.8 kB / 7.222 GB, free: 41.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/14.1, allocations: 421.4 kB / 7.222 GB, free: 41.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/14.1, allocations: 2.812 kB / 7.222 GB, free: 41.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002169/14.11, allocations: 1.093 MB / 7.223 GB, free: 41.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/14.11, allocations: 8.625 kB / 7.223 GB, free: 41.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/14.11, allocations: 1.812 kB / 7.223 GB, free: 41.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007386/14.11, allocations: 174.5 kB / 7.223 GB, free: 41.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/14.11, allocations: 192.8 kB / 7.223 GB, free: 41.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/14.11, allocations: 3.929 MB / 7.227 GB, free: 38.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/14.11, allocations: 62.44 kB / 7.227 GB, free: 38.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/14.11, allocations: 52.83 kB / 7.227 GB, free: 38.04 MB / 490.7 MB 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 () * Number of clocked 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.0003415/14.11, allocations: 228.3 kB / 7.228 GB, free: 37.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/14.11, allocations: 60.91 kB / 7.228 GB, free: 37.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/14.11, allocations: 1.327 MB / 7.229 GB, free: 37.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/14.11, allocations: 7.938 kB / 7.229 GB, free: 37.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/14.11, allocations: 0.9688 kB / 7.229 GB, free: 37.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001682/14.11, allocations: 1.335 MB / 7.23 GB, free: 37.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/14.12, allocations: 1.996 MB / 7.232 GB, free: 36.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/14.12, allocations: 0 / 7.232 GB, free: 36.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/14.12, allocations: 171.9 kB / 7.232 GB, free: 36.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/14.12, allocations: 302.4 kB / 7.233 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/14.12, allocations: 34.45 kB / 7.233 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000503/14.12, allocations: 1.298 MB / 7.234 GB, free: 35.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/14.12, allocations: 3.312 kB / 7.234 GB, free: 35.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/14.12, allocations: 1.453 MB / 7.235 GB, free: 35.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/14.12, allocations: 141.7 kB / 7.236 GB, free: 35.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/14.12, allocations: 21.75 kB / 7.236 GB, free: 35.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/14.12, allocations: 51.53 kB / 7.236 GB, free: 35.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/14.12, allocations: 60.38 kB / 7.236 GB, free: 35.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/14.12, allocations: 51.08 kB / 7.236 GB, free: 35.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002535/14.12, allocations: 287.3 kB / 7.236 GB, free: 35.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/14.12, allocations: 0 / 7.236 GB, free: 35.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009387/14.13, allocations: 2.291 MB / 7.238 GB, free: 35.05 MB / 490.7 MB 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 () * Number of clocked 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.01514/14.15, allocations: 3.202 MB / 7.241 GB, free: 34.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002331/14.15, allocations: 1.164 MB / 7.243 GB, free: 34.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/14.15, allocations: 3.219 kB / 7.243 GB, free: 34.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009477/14.15, allocations: 0.5041 MB / 7.243 GB, free: 34.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/14.15, allocations: 366.5 kB / 7.243 GB, free: 34.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/14.16, allocations: 2.007 MB / 7.245 GB, free: 33.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/14.16, allocations: 0.9318 MB / 7.246 GB, free: 33.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008574/14.16, allocations: 205.6 kB / 7.246 GB, free: 33.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/14.16, allocations: 78.81 kB / 7.247 GB, free: 33.18 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/14.16, allocations: 3.406 kB / 7.247 GB, free: 33.18 MB / 490.7 MB Notification: Performance of Templates: time 0.08172/14.24, allocations: 67.93 MB / 7.313 GB, free: 30.32 MB / 490.7 MB 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