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.001106/0.001106, allocations: 179.6 kB / 17.01 MB, free: 5.121 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.627/1.627, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009641/0.000964, allocations: 97.28 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 7.984 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2914, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.85/16.14, allocations: 6.597 GB / 6.964 GB, free: 25.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/16.14, allocations: 82.58 kB / 6.964 GB, free: 25.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.38/19.52, allocations: 0.8358 GB / 7.8 GB, free: 30.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.065e-06/19.52, allocations: 4 kB / 7.8 GB, free: 30.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.29e-05/19.52, allocations: 8 kB / 7.8 GB, free: 30.52 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.01861/19.54, allocations: 2.915 MB / 7.803 GB, free: 27.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001199/19.54, allocations: 8.031 kB / 7.803 GB, free: 27.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008127/19.54, allocations: 67.42 kB / 7.803 GB, free: 27.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/19.54, allocations: 363.1 kB / 7.804 GB, free: 27.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/19.54, allocations: 29 kB / 7.804 GB, free: 27.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/19.54, allocations: 44 kB / 7.804 GB, free: 27.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/19.54, allocations: 0.5725 MB / 7.804 GB, free: 26.44 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/19.54, allocations: 0 / 7.804 GB, free: 26.44 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/19.54, allocations: 20 kB / 7.804 GB, free: 26.42 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/19.54, allocations: 15.8 kB / 7.804 GB, free: 26.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/19.54, allocations: 0.7221 MB / 7.805 GB, free: 25.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/19.56, allocations: 11.64 MB / 7.816 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/19.56, allocations: 0.5312 MB / 7.817 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02621/19.58, allocations: 20.92 MB / 7.837 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/19.58, allocations: 39 kB / 7.837 GB, free: 2.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 3.607e-06/19.58, allocations: 0 / 7.837 GB, free: 2.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.007651/19.59, allocations: 2.164 MB / 7.839 GB, free: 60 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3798/19.97, allocations: 57.94 kB / 7.839 GB, free: 57.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/19.97, allocations: 284.9 kB / 7.84 GB, free: 57.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/19.97, allocations: 41.36 kB / 7.84 GB, free: 57.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/19.97, allocations: 197.5 kB / 7.84 GB, free: 57.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/19.97, allocations: 196.7 kB / 7.84 GB, free: 57.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/19.97, allocations: 8.5 kB / 7.84 GB, free: 57.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/19.97, allocations: 358.1 kB / 7.84 GB, free: 56.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/19.97, allocations: 227.5 kB / 7.841 GB, free: 56.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/19.97, allocations: 328 kB / 7.841 GB, free: 56.69 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/19.97, allocations: 282.6 kB / 7.841 GB, free: 56.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/19.97, allocations: 0 / 7.841 GB, free: 56.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001705/19.98, allocations: 0.7391 MB / 7.842 GB, free: 56.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/19.98, allocations: 3.688 kB / 7.842 GB, free: 56.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/19.98, allocations: 4.188 kB / 7.842 GB, free: 56.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/19.98, allocations: 113.5 kB / 7.842 GB, free: 56.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/19.98, allocations: 125.8 kB / 7.842 GB, free: 56.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/19.98, allocations: 3.286 MB / 7.845 GB, free: 53.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/19.98, allocations: 39.45 kB / 7.845 GB, free: 53.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/19.98, allocations: 33.94 kB / 7.846 GB, free: 53.49 MB / 474.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 (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.0003706/19.98, allocations: 193.4 kB / 7.846 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/19.98, allocations: 49.12 kB / 7.846 GB, free: 53.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/19.98, allocations: 0.8334 MB / 7.847 GB, free: 53.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/19.98, allocations: 6.219 kB / 7.847 GB, free: 53.24 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/19.98, allocations: 0 / 7.847 GB, free: 53.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/19.98, allocations: 0.7772 MB / 7.847 GB, free: 52.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/19.99, allocations: 1.328 MB / 7.849 GB, free: 52.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/19.99, allocations: 0 / 7.849 GB, free: 52.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/19.99, allocations: 107.3 kB / 7.849 GB, free: 52.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008929/19.99, allocations: 152.7 kB / 7.849 GB, free: 52.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/19.99, allocations: 25.89 kB / 7.849 GB, free: 52.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003394/19.99, allocations: 0.6503 MB / 7.85 GB, free: 51.94 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/19.99, allocations: 0 / 7.85 GB, free: 51.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/19.99, allocations: 0.9371 MB / 7.85 GB, free: 51.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/19.99, allocations: 131.1 kB / 7.851 GB, free: 51.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/19.99, allocations: 9.375 kB / 7.851 GB, free: 51.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/19.99, allocations: 40.31 kB / 7.851 GB, free: 51.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/19.99, allocations: 42.16 kB / 7.851 GB, free: 51.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/19.99, allocations: 38.92 kB / 7.851 GB, free: 51.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002914/19.99, allocations: 251.5 kB / 7.851 GB, free: 51.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/19.99, allocations: 0 / 7.851 GB, free: 51.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01018/20, allocations: 1.976 MB / 7.853 GB, free: 51.52 MB / 474.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 () * Number of clocked 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.0165/20.02, allocations: 3.114 MB / 7.856 GB, free: 51.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/20.02, allocations: 0.8139 MB / 7.857 GB, free: 51.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/20.02, allocations: 2.094 kB / 7.857 GB, free: 51.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000586/20.02, allocations: 297.9 kB / 7.857 GB, free: 51.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/20.02, allocations: 257.3 kB / 7.857 GB, free: 51.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/20.02, allocations: 1.331 MB / 7.859 GB, free: 50.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/20.02, allocations: 0.846 MB / 7.859 GB, free: 49.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005977/20.02, allocations: 142.3 kB / 7.859 GB, free: 49.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/20.02, allocations: 57.86 kB / 7.86 GB, free: 49.85 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/20.02, allocations: 2.344 kB / 7.86 GB, free: 49.85 MB / 474.7 MB Notification: Performance of Templates: time 0.08851/20.11, allocations: 64.35 MB / 7.922 GB, free: 46.01 MB / 474.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