Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, 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.779/1.779, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008882/0.0008884, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.171e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 47.57 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.82/17.93, allocations: 6.597 GB / 6.959 GB, free: 59.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/17.93, allocations: 73.34 kB / 6.959 GB, free: 59.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.325/21.25, allocations: 0.835 GB / 7.794 GB, free: 28.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.775e-06/21.25, allocations: 0 / 7.794 GB, free: 28.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.656e-05/21.25, allocations: 16.72 kB / 7.794 GB, free: 28.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01439/21.27, allocations: 2.879 MB / 7.797 GB, free: 26.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/21.27, allocations: 10.56 kB / 7.797 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00044/21.27, allocations: 49.41 kB / 7.797 GB, free: 26.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/21.27, allocations: 366 kB / 7.797 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/21.27, allocations: 35.75 kB / 7.797 GB, free: 26.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-05/21.27, allocations: 47.47 kB / 7.797 GB, free: 26.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/21.27, allocations: 0.5541 MB / 7.798 GB, free: 26.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/21.27, allocations: 0 / 7.798 GB, free: 26.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/21.27, allocations: 21.62 kB / 7.798 GB, free: 26.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/21.27, allocations: 9.188 kB / 7.798 GB, free: 26.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/21.27, allocations: 0.7051 MB / 7.798 GB, free: 26.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/21.28, allocations: 11.67 MB / 7.81 GB, free: 31.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/21.28, allocations: 0.513 MB / 7.81 GB, free: 31.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/21.29, allocations: 257.8 kB / 7.81 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02393/21.31, allocations: 20.98 MB / 7.831 GB, free: 26.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/21.31, allocations: 41.03 kB / 7.831 GB, free: 26.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 2.365e-06/21.31, allocations: 0 / 7.831 GB, free: 26.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.006313/21.32, allocations: 1.817 MB / 7.833 GB, free: 25.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/21.32, allocations: 58.91 kB / 7.833 GB, free: 25.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/21.32, allocations: 279.2 kB / 7.833 GB, free: 25.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/21.32, allocations: 38.77 kB / 7.833 GB, free: 25.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/21.32, allocations: 209 kB / 7.833 GB, free: 25.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/21.32, allocations: 192.7 kB / 7.833 GB, free: 25.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/21.32, allocations: 7 kB / 7.833 GB, free: 25.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/21.32, allocations: 351.1 kB / 7.834 GB, free: 24.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/21.32, allocations: 225.5 kB / 7.834 GB, free: 24.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/21.32, allocations: 322.8 kB / 7.834 GB, free: 24.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/21.32, allocations: 275.8 kB / 7.835 GB, free: 24.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/21.32, allocations: 0 / 7.835 GB, free: 24.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001665/21.32, allocations: 0.7327 MB / 7.835 GB, free: 24.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/21.32, allocations: 7.344 kB / 7.835 GB, free: 24.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/21.32, allocations: 3.969 kB / 7.835 GB, free: 24.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/21.32, allocations: 112.1 kB / 7.835 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/21.32, allocations: 124.9 kB / 7.836 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/21.32, allocations: 3.258 MB / 7.839 GB, free: 21.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/21.32, allocations: 42.86 kB / 7.839 GB, free: 21.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/21.32, allocations: 32.8 kB / 7.839 GB, free: 21.52 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0001962/21.32, allocations: 139.8 kB / 7.839 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/21.32, allocations: 49.31 kB / 7.839 GB, free: 21.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/21.33, allocations: 0.8483 MB / 7.84 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/21.33, allocations: 3.594 kB / 7.84 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/21.33, allocations: 0 / 7.84 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/21.33, allocations: 0.7686 MB / 7.841 GB, free: 20.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/21.33, allocations: 1.324 MB / 7.842 GB, free: 20.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/21.33, allocations: 0 / 7.842 GB, free: 20.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/21.33, allocations: 111 kB / 7.842 GB, free: 20.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008992/21.33, allocations: 149.2 kB / 7.842 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/21.33, allocations: 20.83 kB / 7.842 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004364/21.33, allocations: 0.6558 MB / 7.843 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/21.33, allocations: 0 / 7.843 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/21.33, allocations: 0.9278 MB / 7.844 GB, free: 19.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/21.33, allocations: 127 kB / 7.844 GB, free: 19.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/21.33, allocations: 11.66 kB / 7.844 GB, free: 19.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/21.33, allocations: 38 kB / 7.844 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/21.33, allocations: 37.8 kB / 7.844 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/21.33, allocations: 31.77 kB / 7.844 GB, free: 18.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003262/21.33, allocations: 249 kB / 7.844 GB, free: 18.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/21.33, allocations: 0 / 7.844 GB, free: 18.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01179/21.35, allocations: 1.98 MB / 7.846 GB, free: 18.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01701/21.36, allocations: 3.098 MB / 7.849 GB, free: 17.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00203/21.37, allocations: 0.7989 MB / 7.85 GB, free: 16.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/21.37, allocations: 3.625 kB / 7.85 GB, free: 16.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007391/21.37, allocations: 296.2 kB / 7.85 GB, free: 16.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/21.37, allocations: 271.9 kB / 7.85 GB, free: 16.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/21.37, allocations: 0.8543 MB / 7.851 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/21.37, allocations: 0.8477 MB / 7.852 GB, free: 14.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007353/21.37, allocations: 153.1 kB / 7.852 GB, free: 14.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/21.37, allocations: 58.19 kB / 7.852 GB, free: 14.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/21.37, allocations: 0 / 7.852 GB, free: 14.8 MB / 490.7 MB Notification: Performance of Templates: time 0.4842/21.86, allocations: 67.3 MB / 7.918 GB, free: 62.02 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches