Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00188/0.00188, allocations: 112.3 kB / 20.48 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002404/0.002404, allocations: 215.3 kB / 23.78 MB, free: 4.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 230.5 MB / 257.5 MB, free: 7.938 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 63.91 kB / 378.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2804, allocations: 53.39 MB / 431.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04125/0.3216, allocations: 34.8 MB / 466.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03539/0.357, allocations: 27.18 MB / 493.7 MB, free: 8.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006302/0.3576, allocations: 15.88 kB / 493.7 MB, free: 8.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.3589, allocations: 373.9 kB / 494.1 MB, free: 7.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.3602, allocations: 0.5322 MB / 494.6 MB, free: 7.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01577/0.376, allocations: 5.255 MB / 499.9 MB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.3781, allocations: 1.379 MB / 0.4895 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.3784, allocations: 119.1 kB / 0.4896 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009206/0.3793, allocations: 0.5489 MB / 0.4902 GB, free: 88 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.3799, allocations: 434.2 kB / 0.4906 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.129e-05/0.38, allocations: 52 kB / 0.4906 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02562/0.4056, allocations: 12.44 MB / 0.5028 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.406, allocations: 159.4 kB / 0.5029 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.4065, allocations: 275 kB / 0.5032 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04596/0.4525, allocations: 14.95 MB / 0.5178 GB, free: 3.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4525, allocations: 0 / 0.5178 GB, free: 3.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4525, allocations: 0 / 0.5178 GB, free: 3.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4525, allocations: 0 / 0.5178 GB, free: 3.754 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.00866/0.4612, allocations: 1.404 MB / 0.5192 GB, free: 2.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4612, allocations: 8.031 kB / 0.5192 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008371/0.462, allocations: 95.58 kB / 0.5192 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.4627, allocations: 328.3 kB / 0.5196 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.4627, allocations: 33 kB / 0.5196 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/0.4628, allocations: 44 kB / 0.5196 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.4642, allocations: 0.8291 MB / 0.5204 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.4642, allocations: 3.953 kB / 0.5204 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.4642, allocations: 24 kB / 0.5205 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.4643, allocations: 15.94 kB / 0.5205 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.4655, allocations: 0.5307 MB / 0.521 GB, free: 296 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.003945/0.4694, allocations: 2.716 MB / 0.5237 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009753/0.4704, allocations: 402.9 kB / 0.524 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.4708, allocations: 197.5 kB / 0.5242 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002055/0.4728, allocations: 0.6169 MB / 0.5248 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4729, allocations: 42.86 kB / 0.5249 GB, free: 12.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.234e-06/0.4729, allocations: 4 kB / 0.5249 GB, free: 12.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.0106/0.4835, allocations: 1.891 MB / 0.5267 GB, free: 10.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.4835, allocations: 55.91 kB / 0.5268 GB, free: 10.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.4839, allocations: 293.6 kB / 0.5271 GB, free: 9.934 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.4839, allocations: 37.7 kB / 0.5271 GB, free: 9.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.4841, allocations: 233.1 kB / 0.5273 GB, free: 9.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4842, allocations: 194.3 kB / 0.5275 GB, free: 9.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.4844, allocations: 118.3 kB / 0.5276 GB, free: 9.348 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4846, allocations: 346.8 kB / 0.5279 GB, free: 9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.4849, allocations: 181.2 kB / 0.5281 GB, free: 8.824 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.4854, allocations: 336.1 kB / 0.5284 GB, free: 8.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/0.4863, allocations: 0.5497 MB / 0.529 GB, free: 7.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4863, allocations: 0 / 0.529 GB, free: 7.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001458/0.4877, allocations: 0.6635 MB / 0.5296 GB, free: 7.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4877, allocations: 8 kB / 0.5296 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4877, allocations: 4 kB / 0.5296 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/0.5001, allocations: 486.4 kB / 0.5301 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.5007, allocations: 139.8 kB / 0.5302 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.5032, allocations: 2.963 MB / 0.5331 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.5035, allocations: 15.98 kB / 0.5331 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.5036, allocations: 32 kB / 0.5332 GB, free: 3.336 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.0003526/0.5039, allocations: 194.2 kB / 0.5334 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.5042, allocations: 43.75 kB / 0.5334 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.5059, allocations: 1.075 MB / 0.5344 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.506, allocations: 19.98 kB / 0.5345 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.506, allocations: 0 / 0.5345 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001394/0.5074, allocations: 1.11 MB / 0.5356 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2071/0.7144, allocations: 1.585 MB / 0.5371 GB, free: 97.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.7144, allocations: 0 / 0.5371 GB, free: 97.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.7149, allocations: 101.7 kB / 0.5372 GB, free: 97.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003115/0.718, allocations: 354.8 kB / 0.5375 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/0.7181, allocations: 16.22 kB / 0.5375 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005579/0.7187, allocations: 1.151 MB / 0.5387 GB, free: 96.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7187, allocations: 2.219 kB / 0.5387 GB, free: 96.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.7203, allocations: 1.148 MB / 0.5398 GB, free: 96.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.7204, allocations: 41.69 kB / 0.5398 GB, free: 96.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.7205, allocations: 22.05 kB / 0.5399 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.7208, allocations: 11.41 kB / 0.5399 GB, free: 96.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.7208, allocations: 38.06 kB / 0.5399 GB, free: 96.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.7209, allocations: 21.3 kB / 0.5399 GB, free: 96.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.7211, allocations: 227.1 kB / 0.5401 GB, free: 96 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7211, allocations: 0.7812 kB / 0.5401 GB, free: 96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004955/0.7261, allocations: 0.981 MB / 0.5411 GB, free: 95.91 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.02734/0.7534, allocations: 7.889 MB / 0.5488 GB, free: 91.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.7548, allocations: 0.6926 MB / 0.5495 GB, free: 90.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7548, allocations: 0 / 0.5495 GB, free: 90.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.7553, allocations: 360.6 kB / 0.5498 GB, free: 90.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.7566, allocations: 232 kB / 0.55 GB, free: 90.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.7584, allocations: 1.338 MB / 0.5514 GB, free: 89.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.7586, allocations: 264.8 kB / 0.5516 GB, free: 89.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.7591, allocations: 247.6 kB / 0.5518 GB, free: 88.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/0.7591, allocations: 47.41 kB / 0.5519 GB, free: 88.84 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7591, allocations: 0 / 0.5519 GB, free: 88.84 MB / 446.1 MB Notification: Performance of Templates: time 0.03666/0.7958, allocations: 35.55 MB / 0.5866 GB, free: 54.53 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.20790565572679]