Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001803/0.001803, allocations: 112.4 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 207.1 kB / 24.47 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.83 kB / 378.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2164, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04064/0.2571, allocations: 38.31 MB / 470.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03497/0.292, allocations: 30.85 MB / 0.4895 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004323/0.2925, allocations: 8 kB / 0.4895 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.2935, allocations: 421.7 kB / 0.4899 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.2946, allocations: 0.536 MB / 0.4904 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01317/0.3078, allocations: 5.25 MB / 0.4955 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3094, allocations: 1.367 MB / 0.4969 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3097, allocations: 126.7 kB / 0.497 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007626/0.3104, allocations: 0.5372 MB / 0.4975 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.311, allocations: 466.1 kB / 0.498 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.73e-05/0.3111, allocations: 56 kB / 0.498 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02266/0.3338, allocations: 12.89 MB / 0.5106 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.334, allocations: 151.5 kB / 0.5108 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004963/0.3345, allocations: 330.7 kB / 0.5111 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03254/0.3671, allocations: 14.94 MB / 0.5257 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3671, allocations: 4 kB / 0.5257 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3671, allocations: 0 / 0.5257 GB, free: 12.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.3671, allocations: 0 / 0.5257 GB, free: 12.89 MB / 446.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.007935/0.375, allocations: 1.475 MB / 0.5271 GB, free: 11.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3751, allocations: 8.922 kB / 0.5271 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.3758, allocations: 95.58 kB / 0.5272 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.3765, allocations: 394.1 kB / 0.5276 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.3765, allocations: 33 kB / 0.5276 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.3766, allocations: 52 kB / 0.5277 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3779, allocations: 0.6244 MB / 0.5283 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.3779, allocations: 7.891 kB / 0.5283 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.378, allocations: 24 kB / 0.5283 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.986e-05/0.3781, allocations: 12 kB / 0.5283 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3791, allocations: 0.519 MB / 0.5288 GB, free: 9.512 MB / 446.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.005014/0.3841, allocations: 3.804 MB / 0.5325 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009643/0.3851, allocations: 400.2 kB / 0.5329 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.3854, allocations: 196.4 kB / 0.5331 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003774/0.3892, allocations: 3.451 MB / 0.5365 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.3893, allocations: 38.94 kB / 0.5365 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.384e-06/0.3893, allocations: 4 kB / 0.5365 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.1855/0.5747, allocations: 2.025 MB / 0.5385 GB, free: 97.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/0.5747, allocations: 57.62 kB / 0.5385 GB, free: 97.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.5751, allocations: 311.2 kB / 0.5388 GB, free: 97.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.5751, allocations: 36.33 kB / 0.5389 GB, free: 97.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5752, allocations: 248.1 kB / 0.5391 GB, free: 97.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5753, allocations: 197.4 kB / 0.5393 GB, free: 97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.5755, allocations: 117.9 kB / 0.5394 GB, free: 96.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.5756, allocations: 347.9 kB / 0.5397 GB, free: 96.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.5758, allocations: 178.8 kB / 0.5399 GB, free: 96.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.5762, allocations: 333 kB / 0.5402 GB, free: 96.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.5769, allocations: 0.5433 MB / 0.5408 GB, free: 95.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5769, allocations: 1.125 kB / 0.5408 GB, free: 95.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001212/0.5781, allocations: 0.671 MB / 0.5414 GB, free: 95.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5781, allocations: 9.25 kB / 0.5414 GB, free: 95.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5781, allocations: 4.719 kB / 0.5414 GB, free: 95.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009729/0.5879, allocations: 451.3 kB / 0.5419 GB, free: 95.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.5884, allocations: 142 kB / 0.542 GB, free: 95.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.5897, allocations: 3.085 MB / 0.545 GB, free: 92.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.59, allocations: 18.73 kB / 0.545 GB, free: 92.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.5901, allocations: 28.48 kB / 0.5451 GB, free: 92.41 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.0001973/0.5903, allocations: 192.3 kB / 0.5452 GB, free: 92.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.5904, allocations: 46.42 kB / 0.5453 GB, free: 92.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.5918, allocations: 1.052 MB / 0.5463 GB, free: 91.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009351/0.5927, allocations: 1.09 MB / 0.5474 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5927, allocations: 6.312 kB / 0.5474 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.5928, allocations: 128.1 kB / 0.5475 GB, free: 90.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.5929, allocations: 11.97 kB / 0.5475 GB, free: 90.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.5931, allocations: 14.5 kB / 0.5475 GB, free: 90.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.5932, allocations: 37.2 kB / 0.5476 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001303/0.5945, allocations: 0.8065 MB / 0.5483 GB, free: 90.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00111/0.5956, allocations: 1.12 MB / 0.5494 GB, free: 89.89 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000306/0.5959, allocations: 258.3 kB / 0.5497 GB, free: 89.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.5961, allocations: 254.3 kB / 0.5499 GB, free: 89.66 MB / 446.1 MB Notification: Performance of Backend: time 3.81e-07/0.5961, allocations: 0 / 0.5499 GB, free: 89.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.04534/0.6414, allocations: 12.66 MB / 0.5623 GB, free: 80.68 MB / 446.1 MB Notification: Performance of SimCode: time 0.00177/0.6432, allocations: 1.634 MB / 0.5639 GB, free: 79.14 MB / 446.1 MB Notification: Performance of Templates: time 0.04158/0.6848, allocations: 41.93 MB / 0.6048 GB, free: 37.81 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.885528958868235]