Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001014/0.001014, allocations: 176.9 kB / 17.41 MB, free: 4.285 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.569/1.569, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007811/0.0007812, allocations: 82.42 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2522, allocations: 47.55 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.19/13.45, allocations: 6.598 GB / 6.965 GB, free: 125.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/13.45, allocations: 79.2 kB / 6.965 GB, free: 125.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.358/15.81, allocations: 0.6637 GB / 7.629 GB, free: 30.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/15.81, allocations: 0 / 7.629 GB, free: 30.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.347e-05/15.81, allocations: 14.44 kB / 7.629 GB, free: 30.91 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01071/15.82, allocations: 2.429 MB / 7.631 GB, free: 29.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/15.82, allocations: 8.375 kB / 7.631 GB, free: 29.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/15.82, allocations: 84.59 kB / 7.631 GB, free: 29.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/15.82, allocations: 450.8 kB / 7.632 GB, free: 29.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/15.82, allocations: 45.59 kB / 7.632 GB, free: 29.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/15.82, allocations: 63.69 kB / 7.632 GB, free: 29.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/15.82, allocations: 0.7858 MB / 7.633 GB, free: 29.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/15.82, allocations: 7.156 kB / 7.633 GB, free: 29.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/15.82, allocations: 36.09 kB / 7.633 GB, free: 29.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/15.82, allocations: 14.12 kB / 7.633 GB, free: 29.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/15.82, allocations: 0.9964 MB / 7.634 GB, free: 29.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/15.84, allocations: 12.43 MB / 7.646 GB, free: 18.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/15.84, allocations: 0.7833 MB / 7.647 GB, free: 18.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/15.84, allocations: 403.9 kB / 7.647 GB, free: 18.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03533/15.87, allocations: 30.66 MB / 7.677 GB, free: 19.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/15.87, allocations: 53.42 kB / 7.677 GB, free: 19.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.849e-06/15.87, allocations: 0 / 7.677 GB, free: 19.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.01136/15.89, allocations: 3.498 MB / 7.68 GB, free: 18.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/15.89, allocations: 65 kB / 7.68 GB, free: 18.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/15.89, allocations: 352.7 kB / 7.681 GB, free: 18.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/15.89, allocations: 42.14 kB / 7.681 GB, free: 18.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/15.89, allocations: 245.5 kB / 7.681 GB, free: 18.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/15.89, allocations: 300.7 kB / 7.681 GB, free: 18.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/15.89, allocations: 19.5 kB / 7.681 GB, free: 18.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/15.89, allocations: 364.8 kB / 7.682 GB, free: 18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/15.89, allocations: 357.6 kB / 7.682 GB, free: 18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008722/15.89, allocations: 480.8 kB / 7.682 GB, free: 17.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/15.89, allocations: 0.8715 MB / 7.683 GB, free: 17.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/15.89, allocations: 0 / 7.683 GB, free: 17.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002399/15.89, allocations: 1.095 MB / 7.684 GB, free: 17.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/15.89, allocations: 7.312 kB / 7.684 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/15.89, allocations: 0 / 7.684 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008317/15.89, allocations: 173.6 kB / 7.685 GB, free: 17.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/15.89, allocations: 192.3 kB / 7.685 GB, free: 17.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/15.9, allocations: 3.917 MB / 7.689 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/15.9, allocations: 59.8 kB / 7.689 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/15.9, allocations: 51.94 kB / 7.689 GB, free: 13.98 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.000433/15.9, allocations: 222.4 kB / 7.689 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/15.9, allocations: 64.34 kB / 7.689 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/15.9, allocations: 1.31 MB / 7.69 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/15.9, allocations: 12.48 kB / 7.69 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/15.9, allocations: 3.938 kB / 7.69 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/15.9, allocations: 1.334 MB / 7.692 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/15.91, allocations: 1.993 MB / 7.693 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/15.91, allocations: 0 / 7.693 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/15.91, allocations: 167.2 kB / 7.694 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/15.91, allocations: 311.6 kB / 7.694 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/15.91, allocations: 32.8 kB / 7.694 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/15.91, allocations: 1.291 MB / 7.695 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/15.91, allocations: 3.938 kB / 7.695 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/15.91, allocations: 1.438 MB / 7.697 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/15.91, allocations: 137.8 kB / 7.697 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/15.91, allocations: 22.47 kB / 7.697 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/15.91, allocations: 49.95 kB / 7.697 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/15.91, allocations: 59.75 kB / 7.697 GB, free: 27.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/15.91, allocations: 54.47 kB / 7.697 GB, free: 27.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003302/15.91, allocations: 279.4 kB / 7.697 GB, free: 27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/15.91, allocations: 4.625 kB / 7.697 GB, free: 27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009989/15.92, allocations: 2.317 MB / 7.699 GB, free: 26.53 MB / 0.4948 GB 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.01604/15.94, allocations: 3.386 MB / 7.703 GB, free: 25.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002626/15.94, allocations: 1.166 MB / 7.704 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/15.94, allocations: 0 / 7.704 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/15.94, allocations: 0.4959 MB / 7.704 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/15.95, allocations: 365.3 kB / 7.705 GB, free: 25.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/15.95, allocations: 2.064 MB / 7.707 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/15.95, allocations: 0.9175 MB / 7.708 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/15.95, allocations: 95.16 kB / 7.708 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/15.95, allocations: 0 / 7.708 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.0878/16.04, allocations: 62.96 MB / 7.769 GB, free: 16.24 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches