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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 189.1 kB / 22.93 MB, free: 5.582 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.493/1.493, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 58.11 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2667, allocations: 49.13 MB / 394.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03851/0.3052, allocations: 38.23 MB / 432.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03879/0.344, allocations: 30.82 MB / 463.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.3446, allocations: 11.94 kB / 463.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.346, allocations: 425.7 kB / 464 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.3475, allocations: 0.5322 MB / 464.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01544/0.3629, allocations: 5.241 MB / 469.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.365, allocations: 1.367 MB / 471.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.3653, allocations: 122.6 kB / 471.3 MB, free: 6.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.3665, allocations: 0.5333 MB / 471.8 MB, free: 6.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007812/0.3673, allocations: 474.1 kB / 472.3 MB, free: 5.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.3674, allocations: 52 kB / 472.3 MB, free: 5.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02676/0.3941, allocations: 12.88 MB / 485.2 MB, free: 8.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.3945, allocations: 155.4 kB / 485.4 MB, free: 8.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000622/0.3951, allocations: 314.8 kB / 485.7 MB, free: 8.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04265/0.4377, allocations: 14.93 MB / 0.4889 GB, free: 9.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.4378, allocations: 0 / 0.4889 GB, free: 9.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4378, allocations: 0 / 0.4889 GB, free: 9.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.4378, allocations: 0 / 0.4889 GB, free: 9.52 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.008515/0.4463, allocations: 1.479 MB / 0.4903 GB, free: 7.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4464, allocations: 11.89 kB / 0.4903 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008335/0.4472, allocations: 103.6 kB / 0.4904 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.4479, allocations: 390.1 kB / 0.4908 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.448, allocations: 33 kB / 0.4908 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.4481, allocations: 59.88 kB / 0.4909 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4495, allocations: 0.6166 MB / 0.4915 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.4495, allocations: 3.938 kB / 0.4915 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.4496, allocations: 24 kB / 0.4915 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4496, allocations: 12 kB / 0.4915 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4507, allocations: 0.5268 MB / 0.492 GB, free: 6.129 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.004943/0.4557, allocations: 3.808 MB / 0.4958 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4567, allocations: 391.8 kB / 0.4961 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.457, allocations: 197.2 kB / 0.4963 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003719/0.4608, allocations: 3.459 MB / 0.4997 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4608, allocations: 46.88 kB / 0.4997 GB, free: 13.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.846e-06/0.4608, allocations: 0 / 0.4997 GB, free: 13.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.01007/0.4709, allocations: 2.031 MB / 0.5017 GB, free: 11.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.4709, allocations: 63.72 kB / 0.5018 GB, free: 11.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.4713, allocations: 308.5 kB / 0.5021 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.4714, allocations: 33.7 kB / 0.5021 GB, free: 10.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.4716, allocations: 237.2 kB / 0.5023 GB, free: 10.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.4718, allocations: 202.2 kB / 0.5025 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.4719, allocations: 114.3 kB / 0.5026 GB, free: 10.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4721, allocations: 350.8 kB / 0.503 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.4724, allocations: 185.2 kB / 0.5031 GB, free: 9.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.4729, allocations: 324 kB / 0.5035 GB, free: 9.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/0.4738, allocations: 0.5523 MB / 0.504 GB, free: 8.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4738, allocations: 4 kB / 0.504 GB, free: 8.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001396/0.4752, allocations: 0.6698 MB / 0.5047 GB, free: 7.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4752, allocations: 12.5 kB / 0.5047 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4752, allocations: 4 kB / 0.5047 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009387/0.4846, allocations: 446 kB / 0.5051 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.4853, allocations: 147.7 kB / 0.5052 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.4881, allocations: 3.093 MB / 0.5083 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.4885, allocations: 15.94 kB / 0.5083 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.4886, allocations: 28 kB / 0.5083 GB, free: 3.961 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.0003863/0.489, allocations: 190 kB / 0.5085 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.4892, allocations: 43.72 kB / 0.5085 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.4911, allocations: 1.056 MB / 0.5095 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.4911, allocations: 15.98 kB / 0.5096 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4911, allocations: 0 / 0.5096 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.4924, allocations: 1.091 MB / 0.5106 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.4951, allocations: 1.729 MB / 0.5123 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4951, allocations: 0 / 0.5123 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.4955, allocations: 103.8 kB / 0.5124 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/0.4987, allocations: 349.1 kB / 0.5127 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.4988, allocations: 15.98 kB / 0.5128 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009712/0.4997, allocations: 1.148 MB / 0.5139 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4997, allocations: 0 / 0.5139 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.5015, allocations: 1.125 MB / 0.515 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.5018, allocations: 128.8 kB / 0.5151 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5019, allocations: 19.94 kB / 0.5151 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.5022, allocations: 16 kB / 0.5151 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.5023, allocations: 36.52 kB / 0.5152 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.5023, allocations: 23.98 kB / 0.5152 GB, free: 12.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003366/0.5027, allocations: 247 kB / 0.5154 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5027, allocations: 4 kB / 0.5154 GB, free: 12.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006903/0.5096, allocations: 0.9779 MB / 0.5164 GB, free: 11.39 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.03293/0.5425, allocations: 7.88 MB / 0.5241 GB, free: 3.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.5444, allocations: 0.6923 MB / 0.5248 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.5444, allocations: 4 kB / 0.5248 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007094/0.5451, allocations: 343.5 kB / 0.5251 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.5466, allocations: 257.3 kB / 0.5253 GB, free: 2.195 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.5491, allocations: 1.351 MB / 0.5267 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.5497, allocations: 0.8648 MB / 0.5275 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005694/0.5502, allocations: 232 kB / 0.5277 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.5504, allocations: 55.36 kB / 0.5278 GB, free: 15.64 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5504, allocations: 0 / 0.5278 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Templates: time 0.249/0.7994, allocations: 36.5 MB / 0.5634 GB, free: 143.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/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: 9.328199147246778]