Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00181/0.00181, allocations: 113.7 kB / 19.18 MB, free: 3.926 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.002188/0.002188, allocations: 209 kB / 22.13 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.495/1.495, allocations: 230.4 MB / 255.4 MB, free: 15 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.89 kB / 374.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1191, allocations: 53.32 MB / 428.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.25/0.3691, allocations: 37.98 MB / 466 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03802/0.4071, allocations: 30.73 MB / 496.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008026/0.4079, allocations: 7.719 kB / 496.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.4095, allocations: 435 kB / 497.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.4111, allocations: 0.529 MB / 497.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01912/0.4303, allocations: 5.242 MB / 0.4912 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.4327, allocations: 1.359 MB / 0.4925 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.433, allocations: 130.6 kB / 0.4926 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.4343, allocations: 0.5255 MB / 0.4932 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009109/0.4352, allocations: 468.5 kB / 0.4936 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.4353, allocations: 52 kB / 0.4937 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03118/0.4665, allocations: 12.9 MB / 0.5062 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.4669, allocations: 155.5 kB / 0.5064 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008108/0.4677, allocations: 322.8 kB / 0.5067 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04638/0.5141, allocations: 14.94 MB / 0.5213 GB, free: 6.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5141, allocations: 3.938 kB / 0.5213 GB, free: 6.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5141, allocations: 0 / 0.5213 GB, free: 6.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.281e-05/0.5141, allocations: 0 / 0.5213 GB, free: 6.762 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.0089/0.5231, allocations: 1.484 MB / 0.5227 GB, free: 5.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5231, allocations: 8.031 kB / 0.5228 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008221/0.5239, allocations: 95.62 kB / 0.5228 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.5246, allocations: 382.1 kB / 0.5232 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.5247, allocations: 41 kB / 0.5232 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.5248, allocations: 44 kB / 0.5233 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.5262, allocations: 0.6205 MB / 0.5239 GB, free: 3.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.5262, allocations: 7.953 kB / 0.5239 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.5262, allocations: 16 kB / 0.5239 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.5263, allocations: 12 kB / 0.5239 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.5274, allocations: 0.5307 MB / 0.5244 GB, free: 3.387 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.005432/0.5328, allocations: 3.803 MB / 0.5282 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.5339, allocations: 399.7 kB / 0.5285 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.5342, allocations: 189.5 kB / 0.5287 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00373/0.538, allocations: 3.463 MB / 0.5321 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.538, allocations: 38.94 kB / 0.5321 GB, free: 10.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.335e-06/0.538, allocations: 3.938 kB / 0.5321 GB, free: 10.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01007/0.5481, allocations: 2.031 MB / 0.5341 GB, free: 8.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.5481, allocations: 59.84 kB / 0.5342 GB, free: 8.301 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.5485, allocations: 308.4 kB / 0.5345 GB, free: 8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.764e-05/0.5486, allocations: 41.69 kB / 0.5345 GB, free: 7.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.5488, allocations: 233.1 kB / 0.5347 GB, free: 7.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.549, allocations: 198.3 kB / 0.5349 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.5492, allocations: 114.3 kB / 0.535 GB, free: 7.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5494, allocations: 350.8 kB / 0.5354 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.5497, allocations: 185.2 kB / 0.5356 GB, free: 6.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.5502, allocations: 332 kB / 0.5359 GB, free: 6.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/0.551, allocations: 0.5407 MB / 0.5364 GB, free: 5.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.551, allocations: 0 / 0.5364 GB, free: 5.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001404/0.5524, allocations: 0.6753 MB / 0.5371 GB, free: 5.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.5524, allocations: 7.938 kB / 0.5371 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.5525, allocations: 16.44 kB / 0.5371 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009378/0.5618, allocations: 450 kB / 0.5375 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.5625, allocations: 138.2 kB / 0.5376 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.5653, allocations: 3.094 MB / 0.5407 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.5657, allocations: 19.94 kB / 0.5407 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.5658, allocations: 39.86 kB / 0.5407 GB, free: 1.227 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.0003355/0.5662, allocations: 190.6 kB / 0.5409 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5663, allocations: 47.72 kB / 0.5409 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.5681, allocations: 1.049 MB / 0.542 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5681, allocations: 7.984 kB / 0.542 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.5681, allocations: 0 / 0.542 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/0.5694, allocations: 1.091 MB / 0.543 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.5721, allocations: 1.729 MB / 0.5447 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.5721, allocations: 0 / 0.5447 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.5725, allocations: 104.7 kB / 0.5448 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003173/0.5757, allocations: 349 kB / 0.5452 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.5758, allocations: 15.98 kB / 0.5452 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009107/0.5767, allocations: 1.148 MB / 0.5463 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5767, allocations: 0 / 0.5463 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.5785, allocations: 1.133 MB / 0.5474 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.5787, allocations: 124.7 kB / 0.5475 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.5788, allocations: 16.81 kB / 0.5475 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.579, allocations: 11.94 kB / 0.5476 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.5791, allocations: 48.42 kB / 0.5476 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.5791, allocations: 16 kB / 0.5476 GB, free: 9.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.5795, allocations: 255 kB / 0.5479 GB, free: 9.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5795, allocations: 0 / 0.5479 GB, free: 9.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006074/0.5856, allocations: 0.9741 MB / 0.5488 GB, free: 8.676 MB / 462.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.03343/0.619, allocations: 7.879 MB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.6208, allocations: 0.6963 MB / 0.5572 GB, free: 76 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.6208, allocations: 0 / 0.5572 GB, free: 76 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007311/0.6216, allocations: 347.5 kB / 0.5575 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.623, allocations: 249.3 kB / 0.5578 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.6256, allocations: 1.401 MB / 0.5591 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.6262, allocations: 0.8648 MB / 0.56 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.6264, allocations: 59.42 kB / 0.56 GB, free: 13.12 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6264, allocations: 0 / 0.56 GB, free: 13.12 MB / 478.1 MB Notification: Performance of Templates: time 0.05723/0.6836, allocations: 38.84 MB / 0.598 GB, free: 6.238 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.778160843066871]