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.001602/0.001602, allocations: 106 kB / 21.18 MB, free: 0.707 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.001594/0.001594, allocations: 183.9 kB / 24.47 MB, free: 4.074 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.432/1.432, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.001742/0.001742, allocations: 59 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2861, allocations: 49.15 MB / 396.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03948/0.3256, allocations: 38.24 MB / 435.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03637/0.3619, allocations: 30.82 MB / 465.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.363, allocations: 7.938 kB / 465.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.3645, allocations: 429.7 kB / 466.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.3659, allocations: 0.5322 MB / 466.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01562/0.3815, allocations: 5.275 MB / 472.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.3836, allocations: 1.383 MB / 473.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.384, allocations: 122.9 kB / 473.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.3851, allocations: 0.545 MB / 474.2 MB, free: 5.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.3857, allocations: 462.2 kB / 474.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.3858, allocations: 52 kB / 474.7 MB, free: 5.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02533/0.4111, allocations: 12.95 MB / 487.6 MB, free: 8.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.4114, allocations: 155.5 kB / 487.8 MB, free: 8.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005263/0.412, allocations: 326.7 kB / 488.1 MB, free: 7.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03714/0.4491, allocations: 14.94 MB / 0.4912 GB, free: 8.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4491, allocations: 0 / 0.4912 GB, free: 8.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4491, allocations: 0 / 0.4912 GB, free: 8.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4491, allocations: 0 / 0.4912 GB, free: 8.949 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.008065/0.4572, allocations: 1.396 MB / 0.4926 GB, free: 7.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4572, allocations: 15.92 kB / 0.4926 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/0.458, allocations: 107.6 kB / 0.4927 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.4587, allocations: 320.2 kB / 0.493 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.4587, allocations: 37 kB / 0.4931 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/0.4588, allocations: 51.95 kB / 0.4931 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.46, allocations: 0.6166 MB / 0.4937 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4601, allocations: 3.938 kB / 0.4937 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.4601, allocations: 27.98 kB / 0.4937 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4601, allocations: 12 kB / 0.4937 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.4612, allocations: 0.5308 MB / 0.4943 GB, free: 5.727 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.004809/0.466, allocations: 3.675 MB / 0.4979 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.467, allocations: 399.5 kB / 0.4982 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.4673, allocations: 201.4 kB / 0.4984 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002071/0.4694, allocations: 0.6168 MB / 0.499 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.4695, allocations: 42.92 kB / 0.4991 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 3.456e-06/0.4695, allocations: 0 / 0.4991 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009623/0.4791, allocations: 1.877 MB / 0.5009 GB, free: 14.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4791, allocations: 63.78 kB / 0.501 GB, free: 14.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.4795, allocations: 312.4 kB / 0.5013 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.4796, allocations: 37.7 kB / 0.5013 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.4798, allocations: 237.2 kB / 0.5015 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.4799, allocations: 202.2 kB / 0.5017 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.4801, allocations: 114.3 kB / 0.5018 GB, free: 13.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4803, allocations: 350.8 kB / 0.5022 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.4806, allocations: 181.2 kB / 0.5023 GB, free: 13.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.4811, allocations: 332 kB / 0.5026 GB, free: 12.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.482, allocations: 0.5523 MB / 0.5032 GB, free: 12.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.482, allocations: 3.938 kB / 0.5032 GB, free: 12.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001435/0.4834, allocations: 0.674 MB / 0.5038 GB, free: 11.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4834, allocations: 7.938 kB / 0.5039 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4834, allocations: 8 kB / 0.5039 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009927/0.4934, allocations: 442.3 kB / 0.5043 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.494, allocations: 139.8 kB / 0.5044 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.4964, allocations: 2.994 MB / 0.5073 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.4967, allocations: 15.94 kB / 0.5074 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.4968, allocations: 36.05 kB / 0.5074 GB, free: 7.555 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.0003039/0.4971, allocations: 185.7 kB / 0.5076 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.4973, allocations: 43.72 kB / 0.5076 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4989, allocations: 1.079 MB / 0.5087 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.499, allocations: 15.98 kB / 0.5087 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.499, allocations: 0 / 0.5087 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/0.5003, allocations: 1.11 MB / 0.5098 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.5029, allocations: 1.732 MB / 0.5115 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.5029, allocations: 3.984 kB / 0.5115 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.5033, allocations: 103.8 kB / 0.5116 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/0.5067, allocations: 349.1 kB / 0.5119 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/0.5068, allocations: 19.98 kB / 0.5119 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009654/0.5078, allocations: 1.152 MB / 0.513 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5078, allocations: 0 / 0.513 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.5096, allocations: 1.151 MB / 0.5142 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5097, allocations: 43.61 kB / 0.5142 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.5098, allocations: 15.94 kB / 0.5142 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.5101, allocations: 15.94 kB / 0.5142 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.5101, allocations: 40.56 kB / 0.5143 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.5102, allocations: 23.98 kB / 0.5143 GB, free: 256 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.5105, allocations: 251 kB / 0.5145 GB, free: 4 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5105, allocations: 0 / 0.5145 GB, free: 4 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.00621/0.5168, allocations: 0.974 MB / 0.5155 GB, free: 15.03 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.03186/0.5486, allocations: 7.88 MB / 0.5232 GB, free: 7.117 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.5505, allocations: 0.6884 MB / 0.5239 GB, free: 6.414 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.5505, allocations: 4 kB / 0.5239 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.5512, allocations: 355.2 kB / 0.5242 GB, free: 6.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5526, allocations: 261 kB / 0.5244 GB, free: 5.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.555, allocations: 1.349 MB / 0.5258 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.5556, allocations: 0.8649 MB / 0.5266 GB, free: 3.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006145/0.5562, allocations: 241 kB / 0.5268 GB, free: 3.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.5563, allocations: 51.42 kB / 0.5269 GB, free: 3.258 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5563, allocations: 0 / 0.5269 GB, free: 3.258 MB / 446.1 MB Notification: Performance of Templates: time 0.2416/0.7978, allocations: 36.73 MB / 0.5628 GB, free: 144.1 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: 8.969671393744648]