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.001533/0.001533, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001717/0.001717, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.376/1.376, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.001618/0.001618, allocations: 40.08 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2392, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04549/0.2847, allocations: 38.33 MB / 470.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03923/0.3239, allocations: 30.84 MB / 0.4898 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/0.3246, allocations: 11.94 kB / 0.4898 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.326, allocations: 433.6 kB / 0.4902 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.3275, allocations: 0.5322 MB / 0.4908 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.3435, allocations: 5.283 MB / 0.4959 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.3459, allocations: 1.387 MB / 0.4973 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.3463, allocations: 123 kB / 0.4974 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.3476, allocations: 0.545 MB / 0.4979 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009615/0.3485, allocations: 462.2 kB / 0.4984 GB, free: 8.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3487, allocations: 52 kB / 0.4984 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02598/0.3747, allocations: 12.96 MB / 0.5111 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.3751, allocations: 159.5 kB / 0.5112 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006055/0.3757, allocations: 314.8 kB / 0.5115 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03664/0.4123, allocations: 14.95 MB / 0.5261 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4123, allocations: 3.984 kB / 0.5261 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4123, allocations: 0 / 0.5261 GB, free: 12.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.4124, allocations: 8 kB / 0.5261 GB, free: 12.3 MB / 446.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.007921/0.4203, allocations: 1.4 MB / 0.5275 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4203, allocations: 12.03 kB / 0.5275 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/0.4212, allocations: 103.6 kB / 0.5276 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.4218, allocations: 324.3 kB / 0.5279 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.4219, allocations: 37 kB / 0.5279 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.422, allocations: 47.94 kB / 0.528 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.4232, allocations: 0.6205 MB / 0.5286 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.4233, allocations: 7.891 kB / 0.5286 GB, free: 9.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.4233, allocations: 27.94 kB / 0.5286 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.4234, allocations: 12 kB / 0.5286 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.4245, allocations: 0.5307 MB / 0.5292 GB, free: 9.078 MB / 446.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.004841/0.4293, allocations: 3.663 MB / 0.5327 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009788/0.4303, allocations: 396.4 kB / 0.5331 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.4306, allocations: 199.2 kB / 0.5333 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002001/0.4326, allocations: 0.6246 MB / 0.5339 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.4327, allocations: 38.94 kB / 0.5339 GB, free: 3.879 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.003e-06/0.4327, allocations: 0 / 0.5339 GB, free: 3.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01029/0.4429, allocations: 1.882 MB / 0.5358 GB, free: 1.953 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.443, allocations: 63.72 kB / 0.5358 GB, free: 1.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.4434, allocations: 316.4 kB / 0.5362 GB, free: 1.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.4435, allocations: 33.7 kB / 0.5362 GB, free: 1.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.4436, allocations: 237.2 kB / 0.5364 GB, free: 1.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.4438, allocations: 190.3 kB / 0.5366 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.444, allocations: 118.3 kB / 0.5367 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4442, allocations: 354.8 kB / 0.537 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.4445, allocations: 181.2 kB / 0.5372 GB, free: 456 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.445, allocations: 332.1 kB / 0.5375 GB, free: 64 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1977/0.6427, allocations: 0.5389 MB / 0.5381 GB, free: 96.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.6427, allocations: 3.984 kB / 0.5381 GB, free: 96.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001591/0.6443, allocations: 0.6696 MB / 0.5387 GB, free: 96.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6443, allocations: 10.06 kB / 0.5387 GB, free: 96.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.6443, allocations: 6.062 kB / 0.5387 GB, free: 96.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01155/0.6559, allocations: 475.9 kB / 0.5392 GB, free: 96.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.6564, allocations: 145.6 kB / 0.5393 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.6579, allocations: 2.983 MB / 0.5422 GB, free: 93.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.6582, allocations: 22 kB / 0.5423 GB, free: 93.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.6582, allocations: 26.83 kB / 0.5423 GB, free: 93.27 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.0002317/0.6585, allocations: 198.6 kB / 0.5425 GB, free: 93.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.6587, allocations: 44.08 kB / 0.5425 GB, free: 93.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.6601, allocations: 1.073 MB / 0.5436 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.6601, allocations: 10.38 kB / 0.5436 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6601, allocations: 1.219 kB / 0.5436 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009473/0.661, allocations: 1.114 MB / 0.5447 GB, free: 91.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.663, allocations: 1.74 MB / 0.5464 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.663, allocations: 0 / 0.5464 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.6634, allocations: 99.27 kB / 0.5465 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003035/0.6664, allocations: 356.8 kB / 0.5468 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.6664, allocations: 19.39 kB / 0.5468 GB, free: 90.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004487/0.6669, allocations: 1.15 MB / 0.5479 GB, free: 89.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6669, allocations: 3.938 kB / 0.5479 GB, free: 89.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.6682, allocations: 1.149 MB / 0.5491 GB, free: 89.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.6683, allocations: 44.97 kB / 0.5491 GB, free: 89.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.6684, allocations: 20.66 kB / 0.5491 GB, free: 89.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.6686, allocations: 11.91 kB / 0.5491 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.6687, allocations: 37.98 kB / 0.5492 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.6687, allocations: 23.12 kB / 0.5492 GB, free: 89.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.6689, allocations: 250.5 kB / 0.5494 GB, free: 89.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6689, allocations: 1.75 kB / 0.5494 GB, free: 89.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004665/0.6736, allocations: 0.989 MB / 0.5504 GB, free: 89.02 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.02659/0.7002, allocations: 7.878 MB / 0.5581 GB, free: 84.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.7017, allocations: 0.6902 MB / 0.5588 GB, free: 83.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7017, allocations: 3.688 kB / 0.5588 GB, free: 83.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.7022, allocations: 356.8 kB / 0.5591 GB, free: 83.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.7034, allocations: 270.4 kB / 0.5594 GB, free: 83.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.7052, allocations: 1.376 MB / 0.5607 GB, free: 81.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.7054, allocations: 0.8711 MB / 0.5616 GB, free: 81.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.7056, allocations: 59.09 kB / 0.5616 GB, free: 81.08 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7056, allocations: 0 / 0.5616 GB, free: 81.08 MB / 446.1 MB Notification: Performance of Templates: time 0.03363/0.7392, allocations: 38.85 MB / 0.5996 GB, free: 42.62 MB / 446.1 MB " [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: 11.228672549128532]