Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.001763/0.001763, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.002154/0.002154, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.446/1.446, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.88 kB / 374.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09971, allocations: 53.32 MB / 427.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2054/0.3051, allocations: 26.85 MB / 454.7 MB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02933/0.3344, allocations: 24.99 MB / 479.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.3349, allocations: 5.438 kB / 479.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009789/0.3359, allocations: 305.4 kB / 480 MB, free: 8.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.3369, allocations: 383.2 kB / 480.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.3489, allocations: 4.095 MB / 484.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3503, allocations: 0.9475 MB / 485.4 MB, free: 4.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.3505, allocations: 76.64 kB / 485.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008111/0.3513, allocations: 393.4 kB / 485.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.352, allocations: 316.8 kB / 486.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.7e-05/0.352, allocations: 38.06 kB / 486.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02215/0.3742, allocations: 10.5 MB / 496.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.3744, allocations: 111.7 kB / 496.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.3749, allocations: 231.1 kB / 497 MB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03405/0.4089, allocations: 11.49 MB / 0.4966 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4089, allocations: 0 / 0.4966 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4089, allocations: 0 / 0.4966 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.4089, allocations: 0 / 0.4966 GB, free: 92 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006405/0.4153, allocations: 1.188 MB / 0.4978 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4154, allocations: 8.031 kB / 0.4978 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000636/0.416, allocations: 75.67 kB / 0.4978 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.4165, allocations: 327.5 kB / 0.4982 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.4165, allocations: 24.66 kB / 0.4982 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.4166, allocations: 32 kB / 0.4982 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.4175, allocations: 463.7 kB / 0.4987 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.4176, allocations: 4 kB / 0.4987 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.4176, allocations: 16 kB / 0.4987 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4176, allocations: 8 kB / 0.4987 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.4184, allocations: 382.3 kB / 0.499 GB, free: 13.46 MB / 414.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.003779/0.4222, allocations: 2.958 MB / 0.5019 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.4229, allocations: 282.8 kB / 0.5022 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.4231, allocations: 128.8 kB / 0.5023 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002607/0.4257, allocations: 2.466 MB / 0.5047 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.4257, allocations: 38.56 kB / 0.5048 GB, free: 6.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.555e-06/0.4257, allocations: 0 / 0.5048 GB, free: 6.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005957/0.4317, allocations: 1.297 MB / 0.506 GB, free: 5.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4317, allocations: 55.41 kB / 0.5061 GB, free: 5.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.432, allocations: 262.5 kB / 0.5063 GB, free: 5.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.4321, allocations: 33.7 kB / 0.5064 GB, free: 5.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.4322, allocations: 196.4 kB / 0.5066 GB, free: 4.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4323, allocations: 130.8 kB / 0.5067 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4324, allocations: 82.08 kB / 0.5068 GB, free: 4.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4326, allocations: 338.8 kB / 0.5071 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.4328, allocations: 112.8 kB / 0.5072 GB, free: 4.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.4331, allocations: 230 kB / 0.5074 GB, free: 3.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.4337, allocations: 377.5 kB / 0.5078 GB, free: 3.555 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4337, allocations: 0 / 0.5078 GB, free: 3.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009789/0.4347, allocations: 459.8 kB / 0.5082 GB, free: 3.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4347, allocations: 12.56 kB / 0.5082 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4347, allocations: 4 kB / 0.5082 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006631/0.4413, allocations: 249.4 kB / 0.5085 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.4417, allocations: 83.91 kB / 0.5085 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.4433, allocations: 1.944 MB / 0.5104 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.4436, allocations: 17.91 kB / 0.5105 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.4436, allocations: 20 kB / 0.5105 GB, free: 0.6016 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0002115/0.4438, allocations: 149.8 kB / 0.5106 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.444, allocations: 35.81 kB / 0.5107 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.4451, allocations: 0.6927 MB / 0.5113 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.4451, allocations: 11.98 kB / 0.5113 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.4451, allocations: 0 / 0.5113 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000929/0.4461, allocations: 0.8671 MB / 0.5122 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.4477, allocations: 1.191 MB / 0.5134 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4477, allocations: 0 / 0.5134 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.448, allocations: 63.89 kB / 0.5134 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.4496, allocations: 176.6 kB / 0.5136 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.4496, allocations: 8 kB / 0.5136 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004264/0.45, allocations: 0.5719 MB / 0.5142 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.45, allocations: 0 / 0.5142 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4511, allocations: 0.7389 MB / 0.5149 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4512, allocations: 124.8 kB / 0.515 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.4513, allocations: 4.5 kB / 0.515 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.4515, allocations: 8 kB / 0.515 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.4515, allocations: 32 kB / 0.515 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.4516, allocations: 20.86 kB / 0.5151 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.4518, allocations: 218 kB / 0.5153 GB, free: 11.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4518, allocations: 0 / 0.5153 GB, free: 11.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004373/0.4562, allocations: 0.7558 MB / 0.516 GB, free: 10.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02475/0.4809, allocations: 6.411 MB / 0.5223 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.482, allocations: 461.8 kB / 0.5227 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.482, allocations: 0 / 0.5227 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.4824, allocations: 211.9 kB / 0.5229 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4835, allocations: 191.9 kB / 0.5231 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.4852, allocations: 0.9337 MB / 0.524 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.4856, allocations: 0.8051 MB / 0.5248 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4858, allocations: 43.42 kB / 0.5248 GB, free: 1.605 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4858, allocations: 0 / 0.5248 GB, free: 1.605 MB / 430.1 MB Notification: Performance of Templates: time 0.03981/0.5256, allocations: 29.38 MB / 0.5535 GB, free: 4.191 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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: 10.763146123848855]