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.001078/0.001078, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.624/1.624, 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.0009676/0.0009676, allocations: 88.11 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002497/0.0002497, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2829, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.91/16.19, allocations: 6.597 GB / 6.964 GB, free: 27.78 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/16.19, allocations: 76.72 kB / 6.964 GB, free: 27.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.677/18.86, allocations: 0.6639 GB / 7.628 GB, free: 13.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/18.86, allocations: 2.812 kB / 7.628 GB, free: 13.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.244e-05/18.87, allocations: 13.25 kB / 7.628 GB, free: 13.25 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.01316/18.88, allocations: 2.421 MB / 7.631 GB, free: 11.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/18.88, allocations: 11.39 kB / 7.631 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/18.88, allocations: 78.69 kB / 7.631 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/18.88, allocations: 450.6 kB / 7.631 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/18.88, allocations: 45.22 kB / 7.631 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/18.88, allocations: 65.03 kB / 7.631 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/18.88, allocations: 0.7905 MB / 7.632 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/18.88, allocations: 3.938 kB / 7.632 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/18.88, allocations: 27.25 kB / 7.632 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/18.88, allocations: 17.84 kB / 7.632 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/18.88, allocations: 1.001 MB / 7.633 GB, free: 9.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01634/18.9, allocations: 12.44 MB / 7.645 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/18.9, allocations: 0.7798 MB / 7.646 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4242/19.33, allocations: 30.66 MB / 7.676 GB, free: 16.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.432e-05/19.33, allocations: 50.19 kB / 7.676 GB, free: 16.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 5.3e-06/19.33, allocations: 3.625 kB / 7.676 GB, free: 16.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01072/19.34, allocations: 3.49 MB / 7.679 GB, free: 15.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/19.34, allocations: 61.56 kB / 7.68 GB, free: 15.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/19.34, allocations: 322.1 kB / 7.68 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.681e-05/19.34, allocations: 41.95 kB / 7.68 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/19.34, allocations: 245 kB / 7.68 GB, free: 15.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/19.34, allocations: 307.4 kB / 7.68 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/19.34, allocations: 16.81 kB / 7.68 GB, free: 15.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/19.34, allocations: 362.4 kB / 7.681 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/19.34, allocations: 355.3 kB / 7.681 GB, free: 14.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007865/19.34, allocations: 476 kB / 7.682 GB, free: 14.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008197/19.34, allocations: 429.2 kB / 7.682 GB, free: 14.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/19.34, allocations: 0 / 7.682 GB, free: 14.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002315/19.34, allocations: 1.093 MB / 7.683 GB, free: 14.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/19.34, allocations: 8.969 kB / 7.683 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/19.34, allocations: 3.906 kB / 7.683 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008554/19.34, allocations: 170.5 kB / 7.683 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/19.34, allocations: 191.4 kB / 7.683 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/19.35, allocations: 3.93 MB / 7.687 GB, free: 26.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/19.35, allocations: 62.52 kB / 7.687 GB, free: 26.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/19.35, allocations: 54.83 kB / 7.687 GB, free: 26.81 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 (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.0005512/19.35, allocations: 226.3 kB / 7.688 GB, free: 26.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/19.35, allocations: 60.19 kB / 7.688 GB, free: 26.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/19.35, allocations: 1.327 MB / 7.689 GB, free: 26.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/19.35, allocations: 6.781 kB / 7.689 GB, free: 26.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/19.35, allocations: 3.797 kB / 7.689 GB, free: 26.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001824/19.35, allocations: 1.333 MB / 7.69 GB, free: 25.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/19.36, allocations: 1.999 MB / 7.692 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/19.36, allocations: 0 / 7.692 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007366/19.36, allocations: 171.3 kB / 7.692 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/19.36, allocations: 306.4 kB / 7.693 GB, free: 25.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/19.36, allocations: 28.94 kB / 7.693 GB, free: 25.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008945/19.36, allocations: 1.292 MB / 7.694 GB, free: 24.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/19.36, allocations: 3.062 kB / 7.694 GB, free: 24.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/19.36, allocations: 1.457 MB / 7.695 GB, free: 24.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/19.36, allocations: 141.1 kB / 7.695 GB, free: 23.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/19.36, allocations: 25.5 kB / 7.696 GB, free: 23.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/19.36, allocations: 51.2 kB / 7.696 GB, free: 23.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/19.36, allocations: 64.02 kB / 7.696 GB, free: 23.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000274/19.37, allocations: 49.33 kB / 7.696 GB, free: 23.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005478/19.37, allocations: 282.4 kB / 7.696 GB, free: 23.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/19.37, allocations: 0 / 7.696 GB, free: 23.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01382/19.38, allocations: 2.309 MB / 7.698 GB, free: 23.82 MB / 474.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.02316/19.4, allocations: 3.403 MB / 7.702 GB, free: 23.63 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004058/19.41, allocations: 1.162 MB / 7.703 GB, free: 23.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/19.41, allocations: 0.875 kB / 7.703 GB, free: 23.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/19.41, allocations: 0.5017 MB / 7.703 GB, free: 23.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/19.41, allocations: 357.2 kB / 7.703 GB, free: 23.35 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/19.42, allocations: 2.004 MB / 7.705 GB, free: 22.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/19.42, allocations: 0.9297 MB / 7.706 GB, free: 21.94 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00153/19.42, allocations: 206.7 kB / 7.707 GB, free: 21.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/19.42, allocations: 76.28 kB / 7.707 GB, free: 21.92 MB / 474.7 MB Notification: Performance of SimCode: time 1.613e-06/19.42, allocations: 0 / 7.707 GB, free: 21.92 MB / 474.7 MB Notification: Performance of Templates: time 0.1261/19.55, allocations: 75.47 MB / 7.78 GB, free: 15.75 MB / 474.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