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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002408/0.002408, allocations: 174.6 kB / 8.471 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.2 MB / 214.1 MB, free: 1.801 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 75.42 kB / 262.1 MB, free: 1.754 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.748e-06, allocations: 0 / 315 MB, free: 23.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 47.59 MB / 362.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.01/14.12, allocations: 6.597 GB / 6.951 GB, free: 82.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/14.12, allocations: 79.95 kB / 6.951 GB, free: 82.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.598/17.72, allocations: 0.8272 GB / 7.778 GB, free: 29.93 MB / 458.8 MB Notification: Performance of Transformations before backend: time 2.749e-05/17.72, allocations: 7.312 kB / 7.778 GB, free: 29.93 MB / 458.8 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.01789/17.74, allocations: 2.886 MB / 7.781 GB, free: 28.29 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/17.74, allocations: 10.41 kB / 7.781 GB, free: 28.29 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/17.74, allocations: 59.73 kB / 7.781 GB, free: 28.27 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/17.74, allocations: 370.2 kB / 7.781 GB, free: 28.03 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/17.74, allocations: 18.72 kB / 7.781 GB, free: 28.03 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/17.74, allocations: 25.44 kB / 7.781 GB, free: 28.03 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/17.74, allocations: 0.6631 MB / 7.782 GB, free: 28.03 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/17.74, allocations: 486.9 kB / 7.783 GB, free: 27.98 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/17.74, allocations: 3.906 kB / 7.783 GB, free: 27.98 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/17.74, allocations: 0 / 7.783 GB, free: 27.98 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/17.74, allocations: 10.41 kB / 7.783 GB, free: 27.98 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/17.76, allocations: 11.58 MB / 7.794 GB, free: 17.4 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/17.76, allocations: 377.1 kB / 7.794 GB, free: 17.38 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/17.76, allocations: 238.5 kB / 7.794 GB, free: 17.37 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0254/17.78, allocations: 21.02 MB / 7.815 GB, free: 12.21 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/17.78, allocations: 43.88 kB / 7.815 GB, free: 12.17 MB / 474.8 MB Notification: Performance of pre-optimization done (n=50): time 6.552e-06/17.78, allocations: 0 / 7.815 GB, free: 12.17 MB / 474.8 MB Notification: Performance of matching and sorting (n=55): time 0.006894/17.79, allocations: 1.62 MB / 7.817 GB, free: 11.79 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/17.79, allocations: 59.25 kB / 7.817 GB, free: 11.73 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/17.79, allocations: 228 kB / 7.817 GB, free: 11.62 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/17.79, allocations: 29.3 kB / 7.817 GB, free: 11.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/17.79, allocations: 186.3 kB / 7.817 GB, free: 11.45 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/17.79, allocations: 185.9 kB / 7.817 GB, free: 11.32 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/17.79, allocations: 4 kB / 7.817 GB, free: 11.32 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001856/17.79, allocations: 344.8 kB / 7.818 GB, free: 11.01 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/17.79, allocations: 226.6 kB / 7.818 GB, free: 11 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/17.79, allocations: 313.4 kB / 7.818 GB, free: 10.91 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/17.79, allocations: 366.2 kB / 7.818 GB, free: 10.91 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/17.79, allocations: 0 / 7.818 GB, free: 10.91 MB / 474.8 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002433/17.8, allocations: 0.7875 MB / 7.819 GB, free: 10.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/17.8, allocations: 3.781 kB / 7.819 GB, free: 10.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/17.8, allocations: 3.016 kB / 7.819 GB, free: 10.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/17.8, allocations: 78.23 kB / 7.819 GB, free: 10.78 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/17.8, allocations: 129 kB / 7.819 GB, free: 10.77 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/17.8, allocations: 3.194 MB / 7.823 GB, free: 23.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/17.8, allocations: 24.44 kB / 7.823 GB, free: 23.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/17.8, allocations: 42.97 kB / 7.823 GB, free: 23.77 MB / 490.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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.0003227/17.8, allocations: 112.6 kB / 7.823 GB, free: 23.65 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/17.8, allocations: 43.94 kB / 7.823 GB, free: 23.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/17.8, allocations: 0.8964 MB / 7.824 GB, free: 23.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/17.8, allocations: 3.531 kB / 7.824 GB, free: 23.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/17.8, allocations: 0 / 7.824 GB, free: 23.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/17.8, allocations: 0.8065 MB / 7.824 GB, free: 23.12 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/17.81, allocations: 1.287 MB / 7.826 GB, free: 22.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/17.81, allocations: 0 / 7.826 GB, free: 22.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/17.81, allocations: 104.5 kB / 7.826 GB, free: 22.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/17.81, allocations: 71.91 kB / 7.826 GB, free: 22.79 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/17.81, allocations: 17.95 kB / 7.826 GB, free: 22.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006115/17.81, allocations: 0.6843 MB / 7.827 GB, free: 22.2 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/17.81, allocations: 11.84 kB / 7.827 GB, free: 22.19 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001887/17.81, allocations: 0.9589 MB / 7.828 GB, free: 21.97 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/17.81, allocations: 125.8 kB / 7.828 GB, free: 21.86 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/17.81, allocations: 7.594 kB / 7.828 GB, free: 21.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/17.81, allocations: 22.77 kB / 7.828 GB, free: 21.85 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/17.81, allocations: 37.73 kB / 7.828 GB, free: 21.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/17.81, allocations: 30.3 kB / 7.828 GB, free: 21.85 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.0002311/17.81, allocations: 199.2 kB / 7.828 GB, free: 21.77 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01087/17.82, allocations: 1.965 MB / 7.83 GB, free: 21.37 MB / 490.8 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.01978/17.84, allocations: 3.314 MB / 7.833 GB, free: 20.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.002004/17.84, allocations: 0.7692 MB / 7.834 GB, free: 20.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/17.84, allocations: 4.125 kB / 7.834 GB, free: 20.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005878/17.84, allocations: 290.5 kB / 7.834 GB, free: 20.31 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/17.85, allocations: 183.9 kB / 7.834 GB, free: 20.3 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/17.85, allocations: 0.8382 MB / 7.835 GB, free: 19.99 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008344/17.85, allocations: 0.9095 MB / 7.836 GB, free: 19.29 MB / 490.8 MB Notification: Performance of SimCode: time 8.62e-07/17.85, allocations: 0 / 7.836 GB, free: 19.29 MB / 490.8 MB Notification: Performance of Templates: time 0.4197/18.27, allocations: 62.62 MB / 7.897 GB, free: 90.65 MB / 490.8 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