Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 174.6 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 241.4 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007422/0.0007422, allocations: 99.52 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 19.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 50.41 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.27/11.47, allocations: 6.124 GB / 6.517 GB, free: 146 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/11.47, allocations: 82.7 kB / 6.517 GB, free: 146 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.127/13.59, allocations: 0.6446 GB / 7.162 GB, free: 23.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/13.59, allocations: 0 / 7.162 GB, free: 23.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.5e-05/13.59, allocations: 20 kB / 7.162 GB, free: 23.12 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.009846/13.6, allocations: 2.37 MB / 7.164 GB, free: 20.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/13.6, allocations: 8.031 kB / 7.164 GB, free: 20.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000646/13.6, allocations: 87.42 kB / 7.164 GB, free: 20.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008126/13.6, allocations: 454.2 kB / 7.164 GB, free: 20.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/13.6, allocations: 45.69 kB / 7.164 GB, free: 20.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/13.6, allocations: 60.38 kB / 7.164 GB, free: 20.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/13.61, allocations: 0.7879 MB / 7.165 GB, free: 19.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/13.61, allocations: 4.094 kB / 7.165 GB, free: 19.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.873e-05/13.61, allocations: 31.94 kB / 7.165 GB, free: 19.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/13.61, allocations: 18.84 kB / 7.165 GB, free: 19.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/13.61, allocations: 0.9966 MB / 7.166 GB, free: 18.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/13.63, allocations: 12.45 MB / 7.178 GB, free: 3.688 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/13.63, allocations: 0.7786 MB / 7.179 GB, free: 2.898 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006815/13.63, allocations: 397.7 kB / 7.18 GB, free: 2.512 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3408/13.97, allocations: 30.65 MB / 7.21 GB, free: 24.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/13.97, allocations: 48.69 kB / 7.21 GB, free: 24.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.318e-06/13.97, allocations: 0 / 7.21 GB, free: 24.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.01405/13.98, allocations: 3.496 MB / 7.213 GB, free: 24.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/13.98, allocations: 59.94 kB / 7.213 GB, free: 24.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006153/13.98, allocations: 360.8 kB / 7.213 GB, free: 23.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/13.98, allocations: 45.39 kB / 7.213 GB, free: 23.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/13.98, allocations: 235.2 kB / 7.214 GB, free: 23.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/13.98, allocations: 306.8 kB / 7.214 GB, free: 23.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/13.99, allocations: 16.72 kB / 7.214 GB, free: 23.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/13.99, allocations: 364.8 kB / 7.214 GB, free: 23.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008673/13.99, allocations: 358.4 kB / 7.215 GB, free: 23.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/13.99, allocations: 483.7 kB / 7.215 GB, free: 23.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/13.99, allocations: 0.8685 MB / 7.216 GB, free: 23.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/13.99, allocations: 0 / 7.216 GB, free: 23.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003761/13.99, allocations: 1.089 MB / 7.217 GB, free: 23.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/13.99, allocations: 7.406 kB / 7.217 GB, free: 23.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/13.99, allocations: 4.938 kB / 7.217 GB, free: 23.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/14, allocations: 170.3 kB / 7.217 GB, free: 23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/14, allocations: 195.9 kB / 7.217 GB, free: 22.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/14, allocations: 3.916 MB / 7.221 GB, free: 19.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/14, allocations: 61.39 kB / 7.221 GB, free: 19.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/14, allocations: 44.59 kB / 7.221 GB, free: 19.32 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.00063/14, allocations: 225.9 kB / 7.222 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006436/14, allocations: 67.41 kB / 7.222 GB, free: 19.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/14.01, allocations: 1.314 MB / 7.223 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/14.01, allocations: 19.72 kB / 7.223 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/14.01, allocations: 0 / 7.223 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002937/14.01, allocations: 1.336 MB / 7.224 GB, free: 18.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/14.01, allocations: 1.989 MB / 7.226 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/14.01, allocations: 0 / 7.226 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/14.01, allocations: 173.5 kB / 7.226 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002528/14.02, allocations: 302.9 kB / 7.227 GB, free: 17.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.945e-05/14.02, allocations: 32.84 kB / 7.227 GB, free: 17.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/14.02, allocations: 1.296 MB / 7.228 GB, free: 16.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/14.02, allocations: 0.5 kB / 7.228 GB, free: 16.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/14.02, allocations: 1.436 MB / 7.229 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/14.02, allocations: 137.4 kB / 7.229 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/14.02, allocations: 26.78 kB / 7.229 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/14.02, allocations: 53.86 kB / 7.229 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/14.02, allocations: 58.25 kB / 7.23 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/14.02, allocations: 53.78 kB / 7.23 GB, free: 16.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003208/14.02, allocations: 277.6 kB / 7.23 GB, free: 16.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/14.02, allocations: 3.875 kB / 7.23 GB, free: 16.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008563/14.03, allocations: 2.269 MB / 7.232 GB, free: 16.36 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.0141/14.05, allocations: 3.194 MB / 7.235 GB, free: 16.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002337/14.05, allocations: 1.156 MB / 7.236 GB, free: 15.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/14.05, allocations: 0 / 7.236 GB, free: 15.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009156/14.05, allocations: 0.504 MB / 7.237 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/14.05, allocations: 370.9 kB / 7.237 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/14.05, allocations: 1.995 MB / 7.239 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/14.05, allocations: 0.9213 MB / 7.24 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008533/14.06, allocations: 208.8 kB / 7.24 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/14.06, allocations: 81.97 kB / 7.24 GB, free: 14.5 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/14.06, allocations: 0 / 7.24 GB, free: 14.5 MB / 490.7 MB Notification: Performance of Templates: time 0.08686/14.14, allocations: 71.23 MB / 7.31 GB, free: 11.29 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches