Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001278/0.001278, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 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.001408/0.001408, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+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_4.1.0_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_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 47.92 kB / 374.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1131, allocations: 53.34 MB / 427.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2637/0.3769, allocations: 37.99 MB / 465.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03665/0.4135, allocations: 30.74 MB / 496.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008465/0.4144, allocations: 11.53 kB / 496.2 MB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.4158, allocations: 430.3 kB / 496.6 MB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.4172, allocations: 0.5303 MB / 497.2 MB, free: 9.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01798/0.4352, allocations: 5.236 MB / 0.4906 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.4377, allocations: 1.359 MB / 0.492 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.438, allocations: 126.7 kB / 0.4921 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.4391, allocations: 0.545 MB / 0.4926 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.4396, allocations: 458.2 kB / 0.493 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.921e-05/0.4397, allocations: 56 kB / 0.4931 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02909/0.4688, allocations: 12.89 MB / 0.5057 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.4692, allocations: 163.4 kB / 0.5058 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006162/0.4698, allocations: 314.8 kB / 0.5061 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0438/0.5136, allocations: 14.94 MB / 0.5207 GB, free: 6.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5136, allocations: 4 kB / 0.5207 GB, free: 6.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5136, allocations: 0 / 0.5207 GB, free: 6.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.5137, allocations: 0 / 0.5207 GB, free: 6.609 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.0097/0.5234, allocations: 1.475 MB / 0.5222 GB, free: 5.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5234, allocations: 8.031 kB / 0.5222 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.5243, allocations: 95.62 kB / 0.5223 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.525, allocations: 394.1 kB / 0.5227 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.5251, allocations: 29 kB / 0.5227 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/0.5251, allocations: 51.94 kB / 0.5227 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.5265, allocations: 0.6244 MB / 0.5233 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.5265, allocations: 3.953 kB / 0.5233 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.5266, allocations: 26.86 kB / 0.5234 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5266, allocations: 12 kB / 0.5234 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.5277, allocations: 0.5268 MB / 0.5239 GB, free: 3.23 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.004965/0.5327, allocations: 3.801 MB / 0.5276 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.5337, allocations: 395.8 kB / 0.528 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.5341, allocations: 201.5 kB / 0.5282 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003862/0.5379, allocations: 3.459 MB / 0.5316 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.538, allocations: 38.94 kB / 0.5316 GB, free: 10.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.883e-06/0.538, allocations: 0 / 0.5316 GB, free: 10.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01059/0.5485, allocations: 2.043 MB / 0.5336 GB, free: 8.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5486, allocations: 55.84 kB / 0.5336 GB, free: 8.137 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.549, allocations: 316.4 kB / 0.5339 GB, free: 7.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.549, allocations: 33.7 kB / 0.534 GB, free: 7.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.5492, allocations: 233.2 kB / 0.5342 GB, free: 7.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.5494, allocations: 202.3 kB / 0.5344 GB, free: 7.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.5496, allocations: 118.3 kB / 0.5345 GB, free: 7.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.5498, allocations: 346.8 kB / 0.5348 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.5501, allocations: 181.2 kB / 0.535 GB, free: 6.711 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.5506, allocations: 336 kB / 0.5353 GB, free: 6.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.5515, allocations: 0.5413 MB / 0.5359 GB, free: 5.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5515, allocations: 8 kB / 0.5359 GB, free: 5.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001489/0.553, allocations: 0.6712 MB / 0.5365 GB, free: 5.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.553, allocations: 8 kB / 0.5365 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.553, allocations: 7.938 kB / 0.5365 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/0.5652, allocations: 470 kB / 0.537 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.5659, allocations: 147.9 kB / 0.5371 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.5686, allocations: 3.086 MB / 0.5401 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.569, allocations: 23.94 kB / 0.5402 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.5691, allocations: 27.98 kB / 0.5402 GB, free: 1.047 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.0003473/0.5695, allocations: 187.2 kB / 0.5404 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.5697, allocations: 47.72 kB / 0.5404 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.5715, allocations: 1.048 MB / 0.5414 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.5715, allocations: 11.98 kB / 0.5415 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5715, allocations: 0 / 0.5415 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/0.5729, allocations: 1.095 MB / 0.5425 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.5755, allocations: 1.729 MB / 0.5442 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.5755, allocations: 0 / 0.5442 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.5759, allocations: 99.89 kB / 0.5443 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/0.579, allocations: 357 kB / 0.5446 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.579, allocations: 15.98 kB / 0.5447 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008846/0.5799, allocations: 1.148 MB / 0.5458 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5799, allocations: 4.859 kB / 0.5458 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.5817, allocations: 1.128 MB / 0.5469 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.5819, allocations: 124.7 kB / 0.547 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.582, allocations: 15.94 kB / 0.547 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.5823, allocations: 11.94 kB / 0.547 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.5824, allocations: 40.55 kB / 0.5471 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.5824, allocations: 24.05 kB / 0.5471 GB, free: 9.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003297/0.5827, allocations: 251 kB / 0.5473 GB, free: 9.473 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5827, allocations: 0 / 0.5473 GB, free: 9.473 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006411/0.5891, allocations: 0.9741 MB / 0.5483 GB, free: 8.496 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.03152/0.6207, allocations: 7.889 MB / 0.556 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.6224, allocations: 0.6875 MB / 0.5567 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6224, allocations: 5.125 kB / 0.5567 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.623, allocations: 343.5 kB / 0.557 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.6245, allocations: 258.9 kB / 0.5572 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.6269, allocations: 1.387 MB / 0.5586 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.6274, allocations: 0.8648 MB / 0.5594 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.6276, allocations: 59.42 kB / 0.5595 GB, free: 12.94 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6276, allocations: 0 / 0.5595 GB, free: 12.94 MB / 478.1 MB Notification: Performance of Templates: time 0.05191/0.6795, allocations: 38.85 MB / 0.5974 GB, free: 6.047 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.015909674024442]