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.00153/0.00153, allocations: 113 kB / 21.17 MB, free: 0.7812 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.001676/0.001676, allocations: 219.3 kB / 24.47 MB, free: 4.359 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.384/1.384, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001919/0.001919, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2367, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04366/0.2804, allocations: 38.31 MB / 470.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03598/0.3163, allocations: 30.85 MB / 0.4895 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.3169, allocations: 8 kB / 0.4895 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3181, allocations: 425.6 kB / 0.4899 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3193, allocations: 0.54 MB / 0.4904 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01424/0.3335, allocations: 5.251 MB / 0.4955 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.3356, allocations: 1.367 MB / 0.4969 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.3359, allocations: 122.7 kB / 0.497 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.337, allocations: 0.5372 MB / 0.4975 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.3377, allocations: 462.2 kB / 0.4979 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.647e-05/0.3378, allocations: 52 kB / 0.498 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02289/0.3606, allocations: 12.9 MB / 0.5106 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.3609, allocations: 151.6 kB / 0.5107 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.3614, allocations: 322.7 kB / 0.511 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0352/0.3966, allocations: 14.94 MB / 0.5256 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3966, allocations: 0 / 0.5256 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3966, allocations: 0 / 0.5256 GB, free: 12.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.3967, allocations: 0 / 0.5256 GB, free: 12.89 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.009021/0.4057, allocations: 1.475 MB / 0.5271 GB, free: 11.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4057, allocations: 12.92 kB / 0.5271 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007736/0.4065, allocations: 99.56 kB / 0.5272 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.4072, allocations: 386.1 kB / 0.5276 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.4072, allocations: 37 kB / 0.5276 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.466e-05/0.4073, allocations: 48 kB / 0.5276 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.4085, allocations: 0.6166 MB / 0.5282 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.4086, allocations: 15.89 kB / 0.5283 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.4086, allocations: 20 kB / 0.5283 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4086, allocations: 12 kB / 0.5283 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.4096, allocations: 0.5268 MB / 0.5288 GB, free: 9.508 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.004879/0.4145, allocations: 3.8 MB / 0.5325 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.4155, allocations: 400.3 kB / 0.5329 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.4158, allocations: 193 kB / 0.5331 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003529/0.4193, allocations: 3.459 MB / 0.5365 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.4194, allocations: 34.94 kB / 0.5365 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.615e-06/0.4194, allocations: 0 / 0.5365 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.2038/0.6232, allocations: 2.024 MB / 0.5385 GB, free: 97.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.6232, allocations: 66.03 kB / 0.5385 GB, free: 97.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.6235, allocations: 307.3 kB / 0.5388 GB, free: 97.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.6235, allocations: 37.33 kB / 0.5389 GB, free: 97.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.6237, allocations: 237.6 kB / 0.5391 GB, free: 97.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6238, allocations: 201.5 kB / 0.5393 GB, free: 97.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.6239, allocations: 114.7 kB / 0.5394 GB, free: 96.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.624, allocations: 353.2 kB / 0.5397 GB, free: 96.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.6242, allocations: 179.3 kB / 0.5399 GB, free: 96.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.6246, allocations: 329.7 kB / 0.5402 GB, free: 96.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.6253, allocations: 0.5447 MB / 0.5407 GB, free: 95.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6253, allocations: 1.75 kB / 0.5407 GB, free: 95.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001194/0.6265, allocations: 0.6778 MB / 0.5414 GB, free: 95.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6265, allocations: 10.84 kB / 0.5414 GB, free: 95.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6265, allocations: 5.406 kB / 0.5414 GB, free: 95.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009356/0.6358, allocations: 450.1 kB / 0.5418 GB, free: 95.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.6364, allocations: 142.4 kB / 0.542 GB, free: 95.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.6378, allocations: 3.092 MB / 0.545 GB, free: 92.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.6382, allocations: 14.62 kB / 0.545 GB, free: 92.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.6383, allocations: 30.66 kB / 0.545 GB, free: 92.45 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.0002447/0.6385, allocations: 197.1 kB / 0.5452 GB, free: 92.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6386, allocations: 45.7 kB / 0.5453 GB, free: 92.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.64, allocations: 1.054 MB / 0.5463 GB, free: 91.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.64, allocations: 9.734 kB / 0.5463 GB, free: 91.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.64, allocations: 3.094 kB / 0.5463 GB, free: 91.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008787/0.6409, allocations: 1.084 MB / 0.5474 GB, free: 91.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.6427, allocations: 1.733 MB / 0.5491 GB, free: 90.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6427, allocations: 0 / 0.5491 GB, free: 90.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.643, allocations: 98.86 kB / 0.5492 GB, free: 90.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.6459, allocations: 358.3 kB / 0.5495 GB, free: 90.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.6459, allocations: 20.59 kB / 0.5495 GB, free: 90.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004259/0.6464, allocations: 1.144 MB / 0.5506 GB, free: 88.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6464, allocations: 4.875 kB / 0.5506 GB, free: 88.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6475, allocations: 1.134 MB / 0.5518 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.6476, allocations: 121.3 kB / 0.5519 GB, free: 88.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.6477, allocations: 15.42 kB / 0.5519 GB, free: 88.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.6479, allocations: 15.56 kB / 0.5519 GB, free: 88.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.648, allocations: 43.81 kB / 0.5519 GB, free: 88.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.648, allocations: 23.31 kB / 0.552 GB, free: 88.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.6482, allocations: 248.2 kB / 0.5522 GB, free: 88.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6482, allocations: 0 / 0.5522 GB, free: 88.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004847/0.6531, allocations: 0.9893 MB / 0.5532 GB, free: 87.99 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.6797, allocations: 7.87 MB / 0.5609 GB, free: 82.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.6811, allocations: 0.6874 MB / 0.5615 GB, free: 81.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6811, allocations: 4 kB / 0.5615 GB, free: 81.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.6816, allocations: 352.5 kB / 0.5619 GB, free: 81.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6829, allocations: 260.8 kB / 0.5621 GB, free: 81.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.6847, allocations: 1.38 MB / 0.5635 GB, free: 79.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.6849, allocations: 0.8644 MB / 0.5643 GB, free: 78.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.685, allocations: 59.33 kB / 0.5644 GB, free: 78.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.685, allocations: 4 kB / 0.5644 GB, free: 78.93 MB / 446.1 MB Notification: Performance of Templates: time 0.03409/0.7191, allocations: 38.85 MB / 0.6023 GB, free: 40.18 MB / 446.1 MB " [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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.29160377010703]