Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2637, allocations: 50.53 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03963/0.3033, allocations: 37.74 MB / 447 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03173/0.3351, allocations: 30.63 MB / 477.6 MB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.3357, allocations: 11.94 kB / 477.6 MB, free: 13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.3369, allocations: 425.7 kB / 478.1 MB, free: 12.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.3382, allocations: 0.5282 MB / 478.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.3523, allocations: 5.257 MB / 483.8 MB, free: 6.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.3542, allocations: 1.351 MB / 485.2 MB, free: 5.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.3546, allocations: 166.7 kB / 485.4 MB, free: 5.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3556, allocations: 0.5371 MB / 485.9 MB, free: 4.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006393/0.3563, allocations: 442.3 kB / 486.3 MB, free: 4.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.3564, allocations: 56 kB / 486.4 MB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02312/0.3796, allocations: 12.81 MB / 499.2 MB, free: 7.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.3799, allocations: 155.5 kB / 499.3 MB, free: 7.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.3805, allocations: 318.8 kB / 499.6 MB, free: 6.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03322/0.4137, allocations: 14.92 MB / 0.5025 GB, free: 7.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4138, allocations: 0 / 0.5025 GB, free: 7.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4138, allocations: 0 / 0.5025 GB, free: 7.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.4138, allocations: 3.938 kB / 0.5025 GB, free: 7.984 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00807/0.4219, allocations: 1.419 MB / 0.5039 GB, free: 6.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.422, allocations: 8.031 kB / 0.5039 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007951/0.4228, allocations: 103.2 kB / 0.504 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.4234, allocations: 385.9 kB / 0.5044 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.4234, allocations: 41 kB / 0.5044 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.4235, allocations: 44 kB / 0.5045 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.4247, allocations: 0.6244 MB / 0.5051 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.4247, allocations: 0 / 0.5051 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.4248, allocations: 24 kB / 0.5051 GB, free: 5.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.4248, allocations: 12 kB / 0.5051 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.4258, allocations: 0.5268 MB / 0.5056 GB, free: 4.668 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.4299, allocations: 3.807 MB / 0.5093 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/0.4308, allocations: 408.6 kB / 0.5097 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.4311, allocations: 201.6 kB / 0.5099 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003052/0.4342, allocations: 3.463 MB / 0.5133 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.4342, allocations: 46.88 kB / 0.5133 GB, free: 11.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.984e-06/0.4343, allocations: 0 / 0.5133 GB, free: 11.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009569/0.4438, allocations: 2.025 MB / 0.5153 GB, free: 9.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4439, allocations: 63.78 kB / 0.5154 GB, free: 9.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.4442, allocations: 308.5 kB / 0.5157 GB, free: 9.246 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.4443, allocations: 37.7 kB / 0.5157 GB, free: 9.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.4444, allocations: 228.6 kB / 0.5159 GB, free: 8.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.4446, allocations: 193.2 kB / 0.5161 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.4448, allocations: 114.2 kB / 0.5162 GB, free: 8.668 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4449, allocations: 350.8 kB / 0.5166 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.4452, allocations: 181.2 kB / 0.5167 GB, free: 8.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.4456, allocations: 336 kB / 0.517 GB, free: 7.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007869/0.4464, allocations: 0.5446 MB / 0.5176 GB, free: 7.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.4464, allocations: 0 / 0.5176 GB, free: 7.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001257/0.4477, allocations: 0.6657 MB / 0.5182 GB, free: 6.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4477, allocations: 7.938 kB / 0.5182 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4477, allocations: 7.984 kB / 0.5182 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009606/0.4573, allocations: 450.6 kB / 0.5187 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.4579, allocations: 143.8 kB / 0.5188 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.46, allocations: 3.093 MB / 0.5218 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.4603, allocations: 19.94 kB / 0.5219 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.4604, allocations: 31.98 kB / 0.5219 GB, free: 2.496 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.4607, allocations: 197.3 kB / 0.5221 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.4608, allocations: 43.53 kB / 0.5221 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.4623, allocations: 1.052 MB / 0.5231 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4624, allocations: 7.984 kB / 0.5231 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4624, allocations: 4 kB / 0.5232 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.4636, allocations: 1.095 MB / 0.5242 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.4658, allocations: 1.737 MB / 0.5259 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4658, allocations: 0 / 0.5259 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.4662, allocations: 99.83 kB / 0.526 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.4693, allocations: 341.1 kB / 0.5263 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.4694, allocations: 23.98 kB / 0.5264 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008148/0.4702, allocations: 1.144 MB / 0.5275 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4702, allocations: 4 kB / 0.5275 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.4717, allocations: 1.128 MB / 0.5286 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4718, allocations: 116.5 kB / 0.5287 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.4719, allocations: 19.91 kB / 0.5287 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.4722, allocations: 11.94 kB / 0.5287 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.4722, allocations: 40.55 kB / 0.5288 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.4723, allocations: 23.98 kB / 0.5288 GB, free: 11.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.4725, allocations: 243 kB / 0.529 GB, free: 10.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4725, allocations: 0 / 0.529 GB, free: 10.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005093/0.4776, allocations: 0.9683 MB / 0.53 GB, free: 9.961 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03024/0.5079, allocations: 7.871 MB / 0.5376 GB, free: 2.066 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.5098, allocations: 0.7201 MB / 0.5384 GB, free: 1.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5099, allocations: 4 kB / 0.5384 GB, free: 1.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.5106, allocations: 363.5 kB / 0.5387 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.512, allocations: 261 kB / 0.539 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1818/0.6938, allocations: 1.312 MB / 0.5402 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.6942, allocations: 0.8634 MB / 0.5411 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000613/0.6949, allocations: 244.3 kB / 0.5413 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.695, allocations: 48.59 kB / 0.5414 GB, free: 120.1 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.695, allocations: 0.625 kB / 0.5414 GB, free: 120.1 MB / 462.1 MB Notification: Performance of Templates: time 0.037/0.732, allocations: 36.21 MB / 0.5767 GB, free: 92.42 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches