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.001558/0.001558, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001333/0.001333, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.001546/0.001546, allocations: 47.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2153, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03878/0.2541, allocations: 34.8 MB / 467.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03297/0.2871, allocations: 27.16 MB / 494.3 MB, free: 8.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.2874, allocations: 11.94 kB / 494.3 MB, free: 8.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009922/0.2884, allocations: 373.8 kB / 494.7 MB, free: 8.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.2895, allocations: 0.5361 MB / 495.2 MB, free: 7.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01268/0.3021, allocations: 5.262 MB / 0.4888 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.3037, allocations: 1.383 MB / 0.4901 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.304, allocations: 127 kB / 0.4902 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007754/0.3048, allocations: 0.545 MB / 0.4908 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.3054, allocations: 470.2 kB / 0.4912 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.3054, allocations: 52 kB / 0.4913 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02369/0.3291, allocations: 12.73 MB / 0.5037 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.3294, allocations: 151.5 kB / 0.5038 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.3298, allocations: 275 kB / 0.5041 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04074/0.3706, allocations: 14.95 MB / 0.5187 GB, free: 3.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3706, allocations: 4 kB / 0.5187 GB, free: 3.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3706, allocations: 0 / 0.5187 GB, free: 3.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3706, allocations: 0 / 0.5187 GB, free: 3.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.006692/0.3773, allocations: 1.392 MB / 0.5201 GB, free: 2.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3773, allocations: 12.03 kB / 0.5201 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008082/0.3781, allocations: 103.5 kB / 0.5202 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.3788, allocations: 332.2 kB / 0.5205 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.3788, allocations: 33 kB / 0.5205 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.3789, allocations: 48 kB / 0.5206 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.3802, allocations: 0.8174 MB / 0.5214 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3803, allocations: 15.83 kB / 0.5214 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.3803, allocations: 23.98 kB / 0.5214 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.3803, allocations: 12 kB / 0.5214 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.3814, allocations: 0.5346 MB / 0.5219 GB, free: 144 kB / 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.004166/0.3856, allocations: 2.716 MB / 0.5246 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.3865, allocations: 393 kB / 0.525 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.3868, allocations: 201.5 kB / 0.5252 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00203/0.3889, allocations: 0.6246 MB / 0.5258 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3889, allocations: 38.94 kB / 0.5258 GB, free: 12.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.864e-06/0.3889, allocations: 0 / 0.5258 GB, free: 12.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01073/0.3996, allocations: 1.89 MB / 0.5276 GB, free: 10.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3997, allocations: 59.84 kB / 0.5277 GB, free: 10.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.4, allocations: 281.7 kB / 0.528 GB, free: 9.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.4001, allocations: 33.7 kB / 0.528 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.4003, allocations: 245 kB / 0.5282 GB, free: 9.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4005, allocations: 202.3 kB / 0.5284 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.4007, allocations: 118.3 kB / 0.5285 GB, free: 9.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4008, allocations: 350.7 kB / 0.5289 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.4012, allocations: 177.2 kB / 0.529 GB, free: 8.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.4016, allocations: 324.1 kB / 0.5294 GB, free: 8.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008776/0.4025, allocations: 0.5523 MB / 0.5299 GB, free: 7.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4025, allocations: 4 kB / 0.5299 GB, free: 7.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001519/0.404, allocations: 0.6737 MB / 0.5306 GB, free: 6.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4041, allocations: 8 kB / 0.5306 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4041, allocations: 4 kB / 0.5306 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01394/0.418, allocations: 474.5 kB / 0.531 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.4187, allocations: 139.8 kB / 0.5312 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.4213, allocations: 2.963 MB / 0.534 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.4216, allocations: 20 kB / 0.5341 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.4216, allocations: 27.98 kB / 0.5341 GB, free: 3.184 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.0002758/0.4219, allocations: 189.6 kB / 0.5343 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.4221, allocations: 43.77 kB / 0.5343 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.4239, allocations: 1.075 MB / 0.5354 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/0.4254, allocations: 1.11 MB / 0.5364 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4254, allocations: 4.094 kB / 0.5365 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.4254, allocations: 39.66 kB / 0.5365 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.4255, allocations: 19.95 kB / 0.5365 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.4258, allocations: 19.92 kB / 0.5365 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.4259, allocations: 44.31 kB / 0.5366 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1724/0.5983, allocations: 0.7943 MB / 0.5373 GB, free: 97.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001549/0.5998, allocations: 1.136 MB / 0.5385 GB, free: 97.59 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003287/0.6002, allocations: 264.6 kB / 0.5387 GB, free: 97.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.6004, allocations: 228.6 kB / 0.5389 GB, free: 97.36 MB / 446.1 MB Notification: Performance of Backend: time 4.01e-07/0.6004, allocations: 0 / 0.5389 GB, free: 97.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.04629/0.6466, allocations: 12.65 MB / 0.5513 GB, free: 89.77 MB / 446.1 MB Notification: Performance of SimCode: time 0.001625/0.6483, allocations: 1.596 MB / 0.5528 GB, free: 88.34 MB / 446.1 MB Notification: Performance of Templates: time 0.04218/0.6904, allocations: 42.21 MB / 0.5941 GB, free: 47.8 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: 8.909538215004432]