Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001226/0.001226, allocations: 199.6 kB / 8.536 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 97.27 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.909e-06/9.949e-06, allocations: 0 / 343.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.158, allocations: 51.48 MB / 394.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.78/14.94, allocations: 6.123 GB / 6.508 GB, free: 103.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/14.94, allocations: 72.84 kB / 6.508 GB, free: 103.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.209/18.15, allocations: 0.8048 GB / 7.313 GB, free: 29.78 MB / 474.8 MB Notification: Performance of Transformations before backend: time 3.451e-05/18.15, allocations: 7.812 kB / 7.313 GB, free: 29.78 MB / 474.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.01532/18.16, allocations: 2.735 MB / 7.316 GB, free: 28.63 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/18.16, allocations: 12.31 kB / 7.316 GB, free: 28.63 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/18.16, allocations: 60.27 kB / 7.316 GB, free: 28.61 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/18.16, allocations: 367.5 kB / 7.316 GB, free: 28.39 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/18.16, allocations: 10.97 kB / 7.316 GB, free: 28.39 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/18.16, allocations: 24.25 kB / 7.316 GB, free: 28.39 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/18.16, allocations: 0.6738 MB / 7.317 GB, free: 28.39 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/18.16, allocations: 488.1 kB / 7.318 GB, free: 28.34 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/18.16, allocations: 0 / 7.318 GB, free: 28.34 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/18.16, allocations: 0 / 7.318 GB, free: 28.34 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/18.16, allocations: 12.59 kB / 7.318 GB, free: 28.34 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/18.18, allocations: 11.59 MB / 7.329 GB, free: 17.78 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/18.18, allocations: 377.2 kB / 7.329 GB, free: 17.76 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/18.18, allocations: 236.2 kB / 7.329 GB, free: 17.75 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02471/18.2, allocations: 21.02 MB / 7.35 GB, free: 28.64 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/18.2, allocations: 45.97 kB / 7.35 GB, free: 28.61 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=50): time 3.196e-06/18.2, allocations: 0 / 7.35 GB, free: 28.61 MB / 0.4949 GB Notification: Performance of matching and sorting (n=55): time 0.004856/18.21, allocations: 1.615 MB / 7.352 GB, free: 28.23 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/18.21, allocations: 62.66 kB / 7.352 GB, free: 28.17 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/18.21, allocations: 234.8 kB / 7.352 GB, free: 28.07 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/18.21, allocations: 25.7 kB / 7.352 GB, free: 28.04 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/18.21, allocations: 184 kB / 7.352 GB, free: 27.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/18.21, allocations: 188 kB / 7.352 GB, free: 27.77 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/18.21, allocations: 0.9844 kB / 7.352 GB, free: 27.77 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001256/18.21, allocations: 343 kB / 7.353 GB, free: 27.46 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/18.21, allocations: 223.1 kB / 7.353 GB, free: 27.46 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/18.21, allocations: 317.6 kB / 7.353 GB, free: 27.37 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/18.21, allocations: 361.5 kB / 7.353 GB, free: 27.37 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/18.21, allocations: 2.906 kB / 7.353 GB, free: 27.37 MB / 0.4949 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001827/18.21, allocations: 0.7896 MB / 7.354 GB, free: 27.28 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/18.21, allocations: 3.906 kB / 7.354 GB, free: 27.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/18.21, allocations: 6.031 kB / 7.354 GB, free: 27.28 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/18.21, allocations: 81.75 kB / 7.354 GB, free: 27.26 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/18.21, allocations: 128.3 kB / 7.354 GB, free: 27.26 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/18.22, allocations: 3.187 MB / 7.358 GB, free: 24.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/18.22, allocations: 32.67 kB / 7.358 GB, free: 24.29 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/18.22, allocations: 34.27 kB / 7.358 GB, free: 24.29 MB / 0.4949 GB 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.0002257/18.22, allocations: 122.3 kB / 7.358 GB, free: 24.17 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/18.22, allocations: 45.66 kB / 7.358 GB, free: 24.15 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/18.22, allocations: 0.8972 MB / 7.359 GB, free: 24.04 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/18.22, allocations: 3 kB / 7.359 GB, free: 24.04 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/18.22, allocations: 0 / 7.359 GB, free: 24.04 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/18.22, allocations: 0.8058 MB / 7.359 GB, free: 23.68 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/18.22, allocations: 1.288 MB / 7.361 GB, free: 23.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/18.22, allocations: 0 / 7.361 GB, free: 23.38 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/18.22, allocations: 103 kB / 7.361 GB, free: 23.38 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/18.22, allocations: 78.14 kB / 7.361 GB, free: 23.36 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/18.22, allocations: 10.73 kB / 7.361 GB, free: 23.36 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000537/18.22, allocations: 0.6839 MB / 7.362 GB, free: 22.77 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/18.22, allocations: 5.562 kB / 7.362 GB, free: 22.77 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001645/18.22, allocations: 0.9645 MB / 7.362 GB, free: 22.56 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/18.22, allocations: 124.8 kB / 7.363 GB, free: 22.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/18.22, allocations: 7.203 kB / 7.363 GB, free: 22.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/18.23, allocations: 18.5 kB / 7.363 GB, free: 22.45 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/18.23, allocations: 35.55 kB / 7.363 GB, free: 22.44 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/18.23, allocations: 37.52 kB / 7.363 GB, free: 22.44 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.000178/18.23, allocations: 206.4 kB / 7.363 GB, free: 22.36 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007564/18.23, allocations: 1.948 MB / 7.365 GB, free: 21.96 MB / 0.4949 GB 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.01199/18.25, allocations: 3.152 MB / 7.368 GB, free: 21.42 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001286/18.25, allocations: 0.7693 MB / 7.369 GB, free: 21.21 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/18.25, allocations: 2.781 kB / 7.369 GB, free: 21.21 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/18.25, allocations: 293.7 kB / 7.369 GB, free: 21.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/18.25, allocations: 184.1 kB / 7.369 GB, free: 21.19 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/18.25, allocations: 0.8329 MB / 7.37 GB, free: 21 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/18.25, allocations: 0.9151 MB / 7.371 GB, free: 20.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.313e-06/18.25, allocations: 0 / 7.371 GB, free: 20.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.07821/18.33, allocations: 57.82 MB / 7.427 GB, free: 18.5 MB / 0.4949 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches