Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 173 kB / 14.1 MB, free: 1.223 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.841/1.841, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.001062/0.001062, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.996e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.85/16.97, allocations: 6.597 GB / 6.959 GB, free: 64.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/16.97, allocations: 71.97 kB / 6.959 GB, free: 64.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.908/19.88, allocations: 0.6631 GB / 7.622 GB, free: 20.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.425e-06/19.88, allocations: 0 / 7.622 GB, free: 20.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.326e-05/19.88, allocations: 10.72 kB / 7.622 GB, free: 20.71 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01229/19.9, allocations: 2.381 MB / 7.624 GB, free: 19.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.148e-05/19.9, allocations: 7.594 kB / 7.624 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007593/19.9, allocations: 84.23 kB / 7.624 GB, free: 19.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/19.9, allocations: 441.7 kB / 7.625 GB, free: 19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/19.9, allocations: 46.59 kB / 7.625 GB, free: 19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/19.9, allocations: 68.97 kB / 7.625 GB, free: 19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/19.9, allocations: 0.7661 MB / 7.626 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/19.9, allocations: 4 kB / 7.626 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/19.9, allocations: 30.44 kB / 7.626 GB, free: 18.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/19.9, allocations: 16.31 kB / 7.626 GB, free: 18.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/19.9, allocations: 0.9778 MB / 7.627 GB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/19.92, allocations: 12.47 MB / 7.639 GB, free: 22.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/19.92, allocations: 0.7804 MB / 7.639 GB, free: 22.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/19.92, allocations: 395.9 kB / 7.64 GB, free: 22.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03699/19.96, allocations: 30.73 MB / 7.67 GB, free: 22.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/19.96, allocations: 48.66 kB / 7.67 GB, free: 22.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.206e-06/19.96, allocations: 3.312 kB / 7.67 GB, free: 22.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.01015/19.97, allocations: 3.034 MB / 7.673 GB, free: 21.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/19.97, allocations: 67.14 kB / 7.673 GB, free: 21.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/19.97, allocations: 317.8 kB / 7.673 GB, free: 21.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/19.97, allocations: 41.23 kB / 7.673 GB, free: 21.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/19.97, allocations: 238 kB / 7.674 GB, free: 21.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/19.97, allocations: 313.7 kB / 7.674 GB, free: 21.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/19.97, allocations: 14.38 kB / 7.674 GB, free: 21.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/19.97, allocations: 366.7 kB / 7.674 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/19.97, allocations: 347.4 kB / 7.675 GB, free: 20.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007757/19.97, allocations: 465.2 kB / 7.675 GB, free: 20.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/19.97, allocations: 423.5 kB / 7.675 GB, free: 20.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/19.97, allocations: 3.938 kB / 7.675 GB, free: 20.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002351/19.97, allocations: 1.069 MB / 7.676 GB, free: 19.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/19.97, allocations: 11.02 kB / 7.676 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/19.97, allocations: 3.594 kB / 7.676 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008749/19.97, allocations: 172.5 kB / 7.677 GB, free: 19.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/19.97, allocations: 189.2 kB / 7.677 GB, free: 19.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/19.98, allocations: 3.911 MB / 7.681 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/19.98, allocations: 58.58 kB / 7.681 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/19.98, allocations: 47.5 kB / 7.681 GB, free: 15.79 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 () * 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.0002767/19.98, allocations: 152.1 kB / 7.681 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/19.98, allocations: 65.03 kB / 7.681 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/19.98, allocations: 1.312 MB / 7.682 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/19.98, allocations: 7 kB / 7.682 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/19.98, allocations: 1.938 kB / 7.682 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00184/19.98, allocations: 1.311 MB / 7.683 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/19.99, allocations: 1.978 MB / 7.685 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/19.99, allocations: 2.812 kB / 7.685 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/19.99, allocations: 175.2 kB / 7.686 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/19.99, allocations: 303.7 kB / 7.686 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/19.99, allocations: 29.08 kB / 7.686 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007445/19.99, allocations: 1.302 MB / 7.687 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/19.99, allocations: 3.094 kB / 7.687 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/19.99, allocations: 1.427 MB / 7.689 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/19.99, allocations: 138.5 kB / 7.689 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/19.99, allocations: 23.03 kB / 7.689 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/19.99, allocations: 59.02 kB / 7.689 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/19.99, allocations: 60.64 kB / 7.689 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.196e-05/19.99, allocations: 48.89 kB / 7.689 GB, free: 11.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003041/19.99, allocations: 281.6 kB / 7.689 GB, free: 10.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/19.99, allocations: 0 / 7.689 GB, free: 10.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01066/20, allocations: 2.307 MB / 7.691 GB, free: 9.141 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 () * 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.0171/20.02, allocations: 3.389 MB / 7.695 GB, free: 6.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002645/20.02, allocations: 1.151 MB / 7.696 GB, free: 5.523 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/20.02, allocations: 0 / 7.696 GB, free: 5.523 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009051/20.02, allocations: 491.2 kB / 7.696 GB, free: 5.074 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/20.03, allocations: 361.4 kB / 7.697 GB, free: 4.836 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/20.03, allocations: 1.396 MB / 7.698 GB, free: 3.613 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/20.03, allocations: 0.9323 MB / 7.699 GB, free: 2.738 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008068/20.03, allocations: 204.2 kB / 7.699 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/20.03, allocations: 82.47 kB / 7.699 GB, free: 2.504 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/20.03, allocations: 0 / 7.699 GB, free: 2.504 MB / 490.7 MB Notification: Performance of Templates: time 0.456/20.49, allocations: 78.45 MB / 7.776 GB, free: 62.71 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches