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.001345/0.001345, allocations: 98.44 kB / 21.93 MB, free: 5.207 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.001556/0.001556, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.468/1.468, allocations: 207.7 MB / 236.1 MB, free: 9.773 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.002007/0.002007, allocations: 54.58 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04373/0.3835, allocations: 34.72 MB / 432.3 MB, free: 408 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0384/0.4219, allocations: 27.14 MB / 459.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.4227, allocations: 7.938 kB / 459.5 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.4239, allocations: 381.9 kB / 459.9 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.4252, allocations: 0.5322 MB / 460.4 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0161/0.4413, allocations: 5.248 MB / 465.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.4435, allocations: 1.371 MB / 467 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.4438, allocations: 114.9 kB / 467.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009809/0.4448, allocations: 0.5567 MB / 467.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005702/0.4453, allocations: 434.2 kB / 468.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.4454, allocations: 55.98 kB / 468.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02767/0.4731, allocations: 12.43 MB / 480.6 MB, free: 15.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.4735, allocations: 151.5 kB / 480.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.474, allocations: 282.9 kB / 481 MB, free: 15.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05224/0.5263, allocations: 14.94 MB / 495.9 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.5263, allocations: 4 kB / 495.9 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5263, allocations: 0 / 495.9 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.5263, allocations: 0 / 495.9 MB, free: 0.6055 MB / 398.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.008739/0.535, allocations: 1.392 MB / 497.3 MB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5351, allocations: 11.98 kB / 497.4 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.5359, allocations: 95.56 kB / 497.4 MB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008197/0.5367, allocations: 336.3 kB / 497.8 MB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.5368, allocations: 33 kB / 497.8 MB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.5369, allocations: 47.95 kB / 497.9 MB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.5384, allocations: 0.8252 MB / 498.7 MB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.5385, allocations: 3.938 kB / 498.7 MB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/0.5385, allocations: 20 kB / 498.7 MB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.5386, allocations: 12 kB / 498.7 MB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.5397, allocations: 0.5268 MB / 499.2 MB, free: 13.14 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.004678/0.5444, allocations: 2.728 MB / 0.4902 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.5454, allocations: 392 kB / 0.4906 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.5458, allocations: 205.3 kB / 0.4908 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002137/0.5479, allocations: 0.6245 MB / 0.4914 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.5479, allocations: 38.94 kB / 0.4914 GB, free: 9.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.475e-06/0.5479, allocations: 0 / 0.4914 GB, free: 9.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009665/0.5576, allocations: 1.885 MB / 0.4933 GB, free: 7.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5576, allocations: 55.84 kB / 0.4933 GB, free: 7.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.558, allocations: 289.7 kB / 0.4936 GB, free: 6.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.5581, allocations: 37.7 kB / 0.4936 GB, free: 6.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.5583, allocations: 241 kB / 0.4939 GB, free: 6.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.5585, allocations: 198.3 kB / 0.494 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.5587, allocations: 122.2 kB / 0.4942 GB, free: 6.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.5589, allocations: 346.8 kB / 0.4945 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.5592, allocations: 181.2 kB / 0.4947 GB, free: 5.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.5597, allocations: 328.1 kB / 0.495 GB, free: 5.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008903/0.5606, allocations: 0.5485 MB / 0.4955 GB, free: 4.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5606, allocations: 3.938 kB / 0.4955 GB, free: 4.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00137/0.562, allocations: 0.6661 MB / 0.4962 GB, free: 3.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.562, allocations: 8 kB / 0.4962 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.562, allocations: 7.984 kB / 0.4962 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008916/0.571, allocations: 450.3 kB / 0.4966 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.5716, allocations: 147.8 kB / 0.4968 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.5742, allocations: 2.959 MB / 0.4996 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.5746, allocations: 16 kB / 0.4997 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/0.5747, allocations: 32.42 kB / 0.4997 GB, free: 188 kB / 414.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.0003908/0.5751, allocations: 189.7 kB / 0.4999 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.5753, allocations: 39.77 kB / 0.4999 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.577, allocations: 1.078 MB / 0.501 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.577, allocations: 7.984 kB / 0.501 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.577, allocations: 0 / 0.501 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/0.5785, allocations: 1.114 MB / 0.5021 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.5809, allocations: 1.588 MB / 0.5036 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5809, allocations: 4 kB / 0.5036 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.5813, allocations: 103.8 kB / 0.5037 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/0.5843, allocations: 349.1 kB / 0.504 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.5843, allocations: 19.92 kB / 0.5041 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008544/0.5852, allocations: 1.148 MB / 0.5052 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5852, allocations: 0 / 0.5052 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.5869, allocations: 1.155 MB / 0.5063 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.5871, allocations: 47.66 kB / 0.5064 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.5871, allocations: 19.89 kB / 0.5064 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.5874, allocations: 8 kB / 0.5064 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.5875, allocations: 40.47 kB / 0.5064 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.5875, allocations: 19.98 kB / 0.5064 GB, free: 9.047 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002685/0.5878, allocations: 231 kB / 0.5067 GB, free: 8.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5878, allocations: 0 / 0.5067 GB, free: 8.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006008/0.5938, allocations: 0.9702 MB / 0.5076 GB, free: 7.852 MB / 430.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.03924/0.633, allocations: 7.884 MB / 0.5153 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.6361, allocations: 0.6843 MB / 0.516 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.6361, allocations: 4.062 kB / 0.516 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.6373, allocations: 355.2 kB / 0.5163 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.6393, allocations: 236.2 kB / 0.5165 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.6431, allocations: 1.382 MB / 0.5179 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.6435, allocations: 264.7 kB / 0.5181 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.6438, allocations: 55.42 kB / 0.5182 GB, free: 12.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6438, allocations: 0 / 0.5182 GB, free: 12.9 MB / 446.1 MB Notification: Performance of Templates: time 0.0976/0.7414, allocations: 38.68 MB / 0.556 GB, free: 6.152 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.167289093136787]