Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 48.3 kB / 348.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2879, allocations: 49.16 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04235/0.3302, allocations: 38.25 MB / 435.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03949/0.3697, allocations: 30.83 MB / 466.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009125/0.3706, allocations: 11.94 kB / 466.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.3725, allocations: 429.6 kB / 467.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.3742, allocations: 0.5322 MB / 467.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01836/0.3925, allocations: 5.267 MB / 472.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.3953, allocations: 1.379 MB / 474.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.3957, allocations: 126.8 kB / 474.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.3971, allocations: 0.5411 MB / 475 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009634/0.398, allocations: 466.1 kB / 475.4 MB, free: 5.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.3982, allocations: 56 kB / 475.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03023/0.4284, allocations: 12.95 MB / 488.4 MB, free: 8.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.4288, allocations: 155.5 kB / 488.6 MB, free: 8.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.4293, allocations: 318.7 kB / 488.9 MB, free: 7.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05035/0.4797, allocations: 14.94 MB / 0.492 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.4797, allocations: 0 / 0.492 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4797, allocations: 3.938 kB / 0.492 GB, free: 8.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.161e-05/0.4797, allocations: 0 / 0.492 GB, free: 8.891 MB / 414.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.009954/0.4897, allocations: 1.408 MB / 0.4934 GB, free: 7.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4897, allocations: 11.98 kB / 0.4934 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009414/0.4907, allocations: 95.58 kB / 0.4935 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.4914, allocations: 328.2 kB / 0.4938 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.4915, allocations: 32.94 kB / 0.4938 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.4916, allocations: 55.95 kB / 0.4939 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.493, allocations: 0.6244 MB / 0.4945 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.493, allocations: 0 / 0.4945 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.4931, allocations: 20 kB / 0.4945 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.4931, allocations: 12 kB / 0.4945 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.4942, allocations: 0.5346 MB / 0.495 GB, free: 5.668 MB / 414.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.005109/0.4994, allocations: 3.671 MB / 0.4986 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.5004, allocations: 399.5 kB / 0.499 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.5007, allocations: 193.4 kB / 0.4992 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/0.5027, allocations: 0.6285 MB / 0.4998 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.5028, allocations: 38.94 kB / 0.4999 GB, free: 472 kB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 3.246e-06/0.5028, allocations: 4 kB / 0.4999 GB, free: 468 kB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009401/0.5122, allocations: 1.873 MB / 0.5017 GB, free: 14.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.5123, allocations: 67.78 kB / 0.5017 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.5127, allocations: 308.5 kB / 0.502 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.5127, allocations: 33.7 kB / 0.5021 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.5129, allocations: 237.2 kB / 0.5023 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.5131, allocations: 206.2 kB / 0.5025 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.5132, allocations: 114.2 kB / 0.5026 GB, free: 13.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5134, allocations: 350.8 kB / 0.5029 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.5137, allocations: 181.2 kB / 0.5031 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.5142, allocations: 332 kB / 0.5034 GB, free: 12.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.515, allocations: 0.5563 MB / 0.504 GB, free: 12.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.515, allocations: 3.938 kB / 0.504 GB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001354/0.5164, allocations: 0.6659 MB / 0.5046 GB, free: 11.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.5164, allocations: 11.94 kB / 0.5046 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5164, allocations: 7.938 kB / 0.5046 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008913/0.5254, allocations: 450.6 kB / 0.5051 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.526, allocations: 135.8 kB / 0.5052 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.5285, allocations: 2.982 MB / 0.5081 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.5289, allocations: 19.94 kB / 0.5081 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.529, allocations: 28 kB / 0.5082 GB, free: 7.512 MB / 430.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.000321/0.5293, allocations: 197.8 kB / 0.5084 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5294, allocations: 47.72 kB / 0.5084 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.5311, allocations: 1.071 MB / 0.5094 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.5312, allocations: 15.86 kB / 0.5095 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5312, allocations: 0 / 0.5095 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/0.5325, allocations: 1.11 MB / 0.5105 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.535, allocations: 1.736 MB / 0.5122 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.535, allocations: 0 / 0.5122 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.5354, allocations: 107.8 kB / 0.5123 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003069/0.5385, allocations: 349.1 kB / 0.5127 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.5385, allocations: 12 kB / 0.5127 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008269/0.5393, allocations: 1.159 MB / 0.5138 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5393, allocations: 4.031 kB / 0.5138 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.5409, allocations: 1.14 MB / 0.5149 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.5411, allocations: 55.83 kB / 0.515 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.5411, allocations: 15.94 kB / 0.515 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.5414, allocations: 15.94 kB / 0.515 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.5415, allocations: 36.42 kB / 0.5151 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.5415, allocations: 19.94 kB / 0.5151 GB, free: 204 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.5418, allocations: 255 kB / 0.5153 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5418, allocations: 0 / 0.5153 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006306/0.5481, allocations: 0.974 MB / 0.5163 GB, free: 14.97 MB / 446.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.03192/0.58, allocations: 7.88 MB / 0.524 GB, free: 7.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.5821, allocations: 0.6884 MB / 0.5246 GB, free: 6.355 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5821, allocations: 0 / 0.5246 GB, free: 6.355 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007533/0.5829, allocations: 355.1 kB / 0.525 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.5844, allocations: 261 kB / 0.5252 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.5872, allocations: 1.393 MB / 0.5266 GB, free: 4.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.5877, allocations: 0.8609 MB / 0.5274 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.5879, allocations: 59.42 kB / 0.5275 GB, free: 3.387 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5879, allocations: 0 / 0.5275 GB, free: 3.387 MB / 446.1 MB Notification: Performance of Templates: time 0.2713/0.8592, allocations: 38.71 MB / 0.5653 GB, free: 143.7 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.204133016988635]