Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001646/0.001646, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002018/0.002018, allocations: 205.6 kB / 24.47 MB, free: 4.023 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.457/1.457, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1") [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.002071/0.002071, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2556, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03045/0.2861, allocations: 27.07 MB / 459.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02938/0.3154, allocations: 25.07 MB / 484.2 MB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004046/0.3158, allocations: 4 kB / 484.2 MB, free: 3.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009168/0.3167, allocations: 310.3 kB / 484.5 MB, free: 2.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008419/0.3176, allocations: 381.8 kB / 484.9 MB, free: 2.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0124/0.33, allocations: 4.096 MB / 489 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.3316, allocations: 0.9503 MB / 489.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.3318, allocations: 77.05 kB / 490 MB, free: 13.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.3325, allocations: 402.6 kB / 490.4 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.3329, allocations: 310.8 kB / 490.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.333, allocations: 40 kB / 490.7 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01929/0.3523, allocations: 10.49 MB / 0.4895 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.3525, allocations: 115.6 kB / 0.4896 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.3529, allocations: 227.1 kB / 0.4898 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02641/0.3793, allocations: 11.5 MB / 0.501 GB, free: 6.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3793, allocations: 0 / 0.501 GB, free: 6.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3793, allocations: 0 / 0.501 GB, free: 6.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.3793, allocations: 3.984 kB / 0.501 GB, free: 6.16 MB / 414.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.006786/0.3861, allocations: 1.184 MB / 0.5022 GB, free: 4.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3861, allocations: 8.031 kB / 0.5022 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.3867, allocations: 75.72 kB / 0.5023 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.3872, allocations: 326.4 kB / 0.5026 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.3872, allocations: 24.66 kB / 0.5026 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.3873, allocations: 32 kB / 0.5026 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000915/0.3882, allocations: 463.7 kB / 0.5031 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.3882, allocations: 11.94 kB / 0.5031 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.3883, allocations: 12 kB / 0.5031 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3883, allocations: 8 kB / 0.5031 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.389, allocations: 394.2 kB / 0.5035 GB, free: 3.52 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.004011/0.3931, allocations: 2.945 MB / 0.5064 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.3937, allocations: 279.3 kB / 0.5066 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.394, allocations: 124.8 kB / 0.5067 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00274/0.3967, allocations: 2.47 MB / 0.5092 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3967, allocations: 38.56 kB / 0.5092 GB, free: 12.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.3967, allocations: 0 / 0.5092 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005332/0.4021, allocations: 1.299 MB / 0.5105 GB, free: 11.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.4021, allocations: 55.41 kB / 0.5105 GB, free: 11.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.4024, allocations: 262.5 kB / 0.5108 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.4025, allocations: 37.7 kB / 0.5108 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4026, allocations: 192.4 kB / 0.511 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4027, allocations: 126.9 kB / 0.5111 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.4029, allocations: 90.08 kB / 0.5112 GB, free: 10.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4031, allocations: 334.8 kB / 0.5115 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.4033, allocations: 108.8 kB / 0.5116 GB, free: 10.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.4036, allocations: 234 kB / 0.5118 GB, free: 10.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.4042, allocations: 377.5 kB / 0.5122 GB, free: 9.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4042, allocations: 0 / 0.5122 GB, free: 9.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000899/0.4051, allocations: 466.6 kB / 0.5126 GB, free: 9.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4051, allocations: 8 kB / 0.5126 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4051, allocations: 7.984 kB / 0.5127 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004754/0.4099, allocations: 225.9 kB / 0.5129 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.4102, allocations: 95.83 kB / 0.513 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.4118, allocations: 1.939 MB / 0.5149 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.4121, allocations: 16 kB / 0.5149 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.4121, allocations: 19.98 kB / 0.5149 GB, free: 6.672 MB / 430.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.000215/0.4123, allocations: 157.7 kB / 0.515 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.4124, allocations: 43.91 kB / 0.5151 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.4135, allocations: 0.6899 MB / 0.5158 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4135, allocations: 4 kB / 0.5158 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.4135, allocations: 0 / 0.5158 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009343/0.4145, allocations: 0.8709 MB / 0.5166 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.4161, allocations: 1.192 MB / 0.5178 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4161, allocations: 0 / 0.5178 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.4163, allocations: 67.91 kB / 0.5178 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.418, allocations: 168.6 kB / 0.518 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.418, allocations: 11.98 kB / 0.518 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004074/0.4184, allocations: 0.5719 MB / 0.5186 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4184, allocations: 3.938 kB / 0.5186 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4194, allocations: 0.7383 MB / 0.5193 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.4195, allocations: 108.8 kB / 0.5194 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.4196, allocations: 11.98 kB / 0.5194 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.4198, allocations: 12.16 kB / 0.5194 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.4198, allocations: 23.91 kB / 0.5194 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.4199, allocations: 16 kB / 0.5195 GB, free: 1.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.4201, allocations: 221.9 kB / 0.5197 GB, free: 1.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4201, allocations: 0 / 0.5197 GB, free: 1.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004176/0.4243, allocations: 0.7519 MB / 0.5204 GB, free: 0.7773 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.02447/0.4488, allocations: 6.415 MB / 0.5267 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.4498, allocations: 462.1 kB / 0.5271 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4498, allocations: 0 / 0.5271 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.4502, allocations: 223.7 kB / 0.5273 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4513, allocations: 189.5 kB / 0.5275 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.4529, allocations: 0.9025 MB / 0.5284 GB, free: 8.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.4534, allocations: 0.8129 MB / 0.5292 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003898/0.4538, allocations: 195.6 kB / 0.5294 GB, free: 7.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.4539, allocations: 31.44 kB / 0.5294 GB, free: 7.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4539, allocations: 0 / 0.5294 GB, free: 7.48 MB / 446.1 MB Notification: Performance of Templates: time 0.2231/0.6769, allocations: 29.36 MB / 0.5581 GB, free: 86.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 8.92350031901151]