Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009914/0.0009914, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.579/1.579, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0008109/0.0008108, allocations: 89.42 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 8 kB / 328.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2868, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.28/13.57, allocations: 6.598 GB / 6.965 GB, free: 90.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/13.57, allocations: 78.14 kB / 6.965 GB, free: 90.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155/16.72, allocations: 0.8207 GB / 7.786 GB, free: 24.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/16.72, allocations: 0 / 7.786 GB, free: 24.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.09e-05/16.72, allocations: 14.47 kB / 7.786 GB, free: 24.27 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.0144/16.74, allocations: 2.915 MB / 7.789 GB, free: 22.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/16.74, allocations: 13.73 kB / 7.789 GB, free: 22.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005478/16.74, allocations: 58.11 kB / 7.789 GB, free: 22.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/16.74, allocations: 372.6 kB / 7.789 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/16.74, allocations: 29.34 kB / 7.789 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/16.74, allocations: 43.12 kB / 7.789 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/16.74, allocations: 0.572 MB / 7.79 GB, free: 22.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/16.74, allocations: 0 / 7.79 GB, free: 22.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/16.74, allocations: 20.16 kB / 7.79 GB, free: 22.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/16.74, allocations: 7.5 kB / 7.79 GB, free: 22.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/16.74, allocations: 0.7242 MB / 7.79 GB, free: 22.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/16.76, allocations: 11.63 MB / 7.802 GB, free: 27.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/16.76, allocations: 0.5211 MB / 7.802 GB, free: 27.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/16.76, allocations: 257.6 kB / 7.803 GB, free: 27.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02584/16.79, allocations: 20.92 MB / 7.823 GB, free: 22.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/16.79, allocations: 46.44 kB / 7.823 GB, free: 22.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 3.487e-06/16.79, allocations: 0 / 7.823 GB, free: 22.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.007077/16.79, allocations: 2.166 MB / 7.825 GB, free: 21.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/16.79, allocations: 59.09 kB / 7.825 GB, free: 21.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/16.79, allocations: 322.8 kB / 7.825 GB, free: 21.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/16.79, allocations: 37.08 kB / 7.826 GB, free: 21.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/16.79, allocations: 196.8 kB / 7.826 GB, free: 21.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/16.79, allocations: 194.5 kB / 7.826 GB, free: 21.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/16.79, allocations: 9.812 kB / 7.826 GB, free: 21.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/16.79, allocations: 355.5 kB / 7.826 GB, free: 21.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/16.79, allocations: 228.8 kB / 7.826 GB, free: 21.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/16.8, allocations: 330.2 kB / 7.827 GB, free: 21.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/16.8, allocations: 0.5892 MB / 7.827 GB, free: 20.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/16.8, allocations: 3.812 kB / 7.827 GB, free: 20.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002039/16.8, allocations: 0.7324 MB / 7.828 GB, free: 20.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/16.8, allocations: 7.844 kB / 7.828 GB, free: 20.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/16.8, allocations: 4.281 kB / 7.828 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/16.8, allocations: 111.7 kB / 7.828 GB, free: 20.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/16.8, allocations: 127.9 kB / 7.828 GB, free: 20.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/16.8, allocations: 3.264 MB / 7.832 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/16.8, allocations: 41.2 kB / 7.832 GB, free: 17.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/16.8, allocations: 38.73 kB / 7.832 GB, free: 17.69 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 (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.0003659/16.8, allocations: 193.6 kB / 7.832 GB, free: 17.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/16.8, allocations: 43.06 kB / 7.832 GB, free: 17.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/16.8, allocations: 0.8421 MB / 7.833 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/16.8, allocations: 7.531 kB / 7.833 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/16.8, allocations: 0 / 7.833 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/16.81, allocations: 0.7779 MB / 7.833 GB, free: 17.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/16.81, allocations: 1.325 MB / 7.835 GB, free: 16.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/16.81, allocations: 3.5 kB / 7.835 GB, free: 16.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/16.81, allocations: 104.2 kB / 7.835 GB, free: 16.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000906/16.81, allocations: 153.2 kB / 7.835 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/16.81, allocations: 17.19 kB / 7.835 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004219/16.81, allocations: 0.654 MB / 7.836 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/16.81, allocations: 0 / 7.836 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/16.81, allocations: 0.9195 MB / 7.836 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/16.81, allocations: 129.6 kB / 7.837 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/16.81, allocations: 20.25 kB / 7.837 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/16.81, allocations: 25.81 kB / 7.837 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/16.81, allocations: 35.38 kB / 7.837 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/16.81, allocations: 36.78 kB / 7.837 GB, free: 15.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003141/16.81, allocations: 250.2 kB / 7.837 GB, free: 15.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/16.81, allocations: 3.594 kB / 7.837 GB, free: 15.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009127/16.82, allocations: 1.983 MB / 7.839 GB, free: 15.28 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 () * 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.01502/16.84, allocations: 3.102 MB / 7.842 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002051/16.84, allocations: 0.7986 MB / 7.843 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/16.84, allocations: 0.5625 kB / 7.843 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006698/16.84, allocations: 312.3 kB / 7.843 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/16.84, allocations: 267.5 kB / 7.843 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/16.84, allocations: 1.373 MB / 7.845 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/16.84, allocations: 0.836 MB / 7.845 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/16.84, allocations: 68.91 kB / 7.845 GB, free: 12.82 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/16.84, allocations: 3.719 kB / 7.845 GB, free: 12.82 MB / 490.7 MB Notification: Performance of Templates: time 0.07667/16.92, allocations: 50.2 MB / 7.895 GB, free: 3.594 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches