Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001467/0.001467, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001595/0.001595, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 51.92 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3306, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03963/0.3702, allocations: 34.7 MB / 458.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03534/0.4056, allocations: 27.14 MB / 485.7 MB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.4063, allocations: 11.94 kB / 485.7 MB, free: 432 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.4075, allocations: 369.9 kB / 486 MB, free: 60 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.4089, allocations: 0.54 MB / 486.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01692/0.4258, allocations: 5.251 MB / 491.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.4281, allocations: 1.379 MB / 493.2 MB, free: 8.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.4285, allocations: 118.8 kB / 493.3 MB, free: 8.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.4296, allocations: 0.5411 MB / 493.9 MB, free: 8.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.4302, allocations: 442.1 kB / 494.3 MB, free: 7.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.4303, allocations: 52 kB / 494.3 MB, free: 7.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02539/0.4557, allocations: 12.43 MB / 0.4949 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.456, allocations: 159.5 kB / 0.4951 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.4565, allocations: 271 kB / 0.4953 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04645/0.503, allocations: 14.94 MB / 0.5099 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.503, allocations: 0 / 0.5099 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.503, allocations: 0 / 0.5099 GB, free: 11.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.503, allocations: 0 / 0.5099 GB, free: 11.88 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.00957/0.5126, allocations: 1.395 MB / 0.5113 GB, free: 10.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.5126, allocations: 8.031 kB / 0.5113 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/0.5134, allocations: 99.56 kB / 0.5114 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.5141, allocations: 328.3 kB / 0.5117 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.5142, allocations: 37 kB / 0.5117 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.5142, allocations: 44 kB / 0.5118 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.5156, allocations: 0.8252 MB / 0.5126 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.5157, allocations: 3.938 kB / 0.5126 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.5157, allocations: 35.92 kB / 0.5126 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.5157, allocations: 8 kB / 0.5126 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.5168, allocations: 0.5268 MB / 0.5131 GB, free: 8.43 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.004283/0.5211, allocations: 2.729 MB / 0.5158 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009758/0.522, allocations: 392.2 kB / 0.5162 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.5224, allocations: 204.7 kB / 0.5164 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/0.5244, allocations: 0.6246 MB / 0.517 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.5244, allocations: 34.94 kB / 0.517 GB, free: 4.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.705e-06/0.5244, allocations: 0 / 0.517 GB, free: 4.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.00948/0.5339, allocations: 1.884 MB / 0.5188 GB, free: 2.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.5339, allocations: 55.84 kB / 0.5189 GB, free: 2.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.5343, allocations: 285.7 kB / 0.5192 GB, free: 2.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.5344, allocations: 37.7 kB / 0.5192 GB, free: 2.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.5347, allocations: 241 kB / 0.5194 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.5348, allocations: 210.2 kB / 0.5196 GB, free: 1.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.535, allocations: 114.3 kB / 0.5197 GB, free: 1.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5352, allocations: 350.8 kB / 0.5201 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.5355, allocations: 181.2 kB / 0.5202 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.5361, allocations: 328.1 kB / 0.5206 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5372, allocations: 0.5445 MB / 0.5211 GB, free: 15.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5372, allocations: 3.938 kB / 0.5211 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001466/0.5387, allocations: 0.6737 MB / 0.5218 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5387, allocations: 8.562 kB / 0.5218 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5387, allocations: 4 kB / 0.5218 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008733/0.5475, allocations: 450 kB / 0.5222 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.5481, allocations: 143.8 kB / 0.5223 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.5509, allocations: 2.966 MB / 0.5252 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.5513, allocations: 16 kB / 0.5252 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/0.5514, allocations: 28 kB / 0.5253 GB, free: 11.49 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.0003795/0.5518, allocations: 189.6 kB / 0.5255 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.5519, allocations: 40.05 kB / 0.5255 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.5537, allocations: 1.079 MB / 0.5265 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5537, allocations: 4 kB / 0.5265 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5537, allocations: 4 kB / 0.5265 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.5551, allocations: 1.11 MB / 0.5276 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.5576, allocations: 1.584 MB / 0.5292 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5576, allocations: 3.938 kB / 0.5292 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.558, allocations: 103.9 kB / 0.5293 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.5611, allocations: 361 kB / 0.5296 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.5611, allocations: 19.98 kB / 0.5296 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009232/0.5621, allocations: 1.148 MB / 0.5308 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5621, allocations: 4.031 kB / 0.5308 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.5638, allocations: 1.144 MB / 0.5319 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5639, allocations: 51.64 kB / 0.5319 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.564, allocations: 15.94 kB / 0.532 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.5642, allocations: 12.06 kB / 0.532 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.5643, allocations: 40.42 kB / 0.532 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.5644, allocations: 20.17 kB / 0.532 GB, free: 4.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.5647, allocations: 235 kB / 0.5322 GB, free: 4.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5647, allocations: 0 / 0.5322 GB, free: 4.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005732/0.5704, allocations: 0.9702 MB / 0.5332 GB, free: 3.141 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.2359/0.8063, allocations: 7.872 MB / 0.5409 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.8078, allocations: 0.6965 MB / 0.5416 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8078, allocations: 3.969 kB / 0.5416 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.8083, allocations: 347.5 kB / 0.5419 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.8096, allocations: 234.1 kB / 0.5421 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.8117, allocations: 1.379 MB / 0.5435 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.8119, allocations: 271.8 kB / 0.5437 GB, free: 102.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.812, allocations: 56.41 kB / 0.5438 GB, free: 102.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.812, allocations: 0 / 0.5438 GB, free: 102.5 MB / 446.1 MB Notification: Performance of Templates: time 0.03584/0.8479, allocations: 38.69 MB / 0.5816 GB, free: 66.36 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.091669876128435]