Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 116 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.08 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 51.91 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 53.33 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2501/0.3636, allocations: 26.83 MB / 454.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03058/0.3942, allocations: 24.98 MB / 479.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.3948, allocations: 9.406 kB / 479.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3959, allocations: 305.8 kB / 479.6 MB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.3971, allocations: 386.6 kB / 480 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01443/0.4115, allocations: 4.085 MB / 484.1 MB, free: 4.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.4132, allocations: 0.9445 MB / 485 MB, free: 4.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.4134, allocations: 87.95 kB / 485.1 MB, free: 4.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.4144, allocations: 400.7 kB / 485.5 MB, free: 4.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.4149, allocations: 317.7 kB / 485.8 MB, free: 4.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.415, allocations: 36.94 kB / 485.8 MB, free: 4.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02445/0.4394, allocations: 10.49 MB / 496.3 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.4397, allocations: 115.6 kB / 496.4 MB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.4402, allocations: 219.1 kB / 496.7 MB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03129/0.4715, allocations: 11.5 MB / 0.4962 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.4715, allocations: 3.984 kB / 0.4963 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4715, allocations: 0 / 0.4963 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.4715, allocations: 4 kB / 0.4963 GB, free: 15.77 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.007012/0.4785, allocations: 1.18 MB / 0.4974 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.4786, allocations: 8.031 kB / 0.4974 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006657/0.4792, allocations: 68.81 kB / 0.4975 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.4797, allocations: 326.9 kB / 0.4978 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.4798, allocations: 28.66 kB / 0.4978 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.4798, allocations: 28 kB / 0.4978 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.4808, allocations: 470.3 kB / 0.4983 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.4808, allocations: 7.938 kB / 0.4983 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.4808, allocations: 16 kB / 0.4983 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.4808, allocations: 8 kB / 0.4983 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.4816, allocations: 384.2 kB / 0.4987 GB, free: 13.15 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.003725/0.4854, allocations: 2.949 MB / 0.5016 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.4861, allocations: 282.3 kB / 0.5018 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.4863, allocations: 125.5 kB / 0.502 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002736/0.489, allocations: 2.466 MB / 0.5044 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.4891, allocations: 38.5 kB / 0.5044 GB, free: 6.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.4891, allocations: 0 / 0.5044 GB, free: 6.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005959/0.495, allocations: 1.304 MB / 0.5057 GB, free: 5.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.4951, allocations: 59.41 kB / 0.5057 GB, free: 5.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.4954, allocations: 262.5 kB / 0.506 GB, free: 4.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.4954, allocations: 29.7 kB / 0.506 GB, free: 4.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4956, allocations: 192.4 kB / 0.5062 GB, free: 4.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4957, allocations: 130.9 kB / 0.5063 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.4958, allocations: 82.08 kB / 0.5064 GB, free: 4.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.496, allocations: 338.8 kB / 0.5067 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.4962, allocations: 112.8 kB / 0.5068 GB, free: 3.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.4965, allocations: 234 kB / 0.5071 GB, free: 3.672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005663/0.4971, allocations: 373.4 kB / 0.5074 GB, free: 3.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4971, allocations: 5 kB / 0.5074 GB, free: 3.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009882/0.4981, allocations: 466.7 kB / 0.5079 GB, free: 2.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4981, allocations: 10.28 kB / 0.5079 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.4981, allocations: 4 kB / 0.5079 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006068/0.5042, allocations: 249.9 kB / 0.5081 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.5046, allocations: 91.83 kB / 0.5082 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.5064, allocations: 1.933 MB / 0.5101 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.5066, allocations: 8 kB / 0.5101 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.5067, allocations: 23.98 kB / 0.5101 GB, free: 312 kB / 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.0002477/0.5069, allocations: 171.8 kB / 0.5103 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.5071, allocations: 31.81 kB / 0.5103 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.5082, allocations: 0.6876 MB / 0.511 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5082, allocations: 4 kB / 0.511 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.5082, allocations: 0 / 0.511 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000928/0.5092, allocations: 0.871 MB / 0.5118 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.5108, allocations: 1.188 MB / 0.513 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5108, allocations: 3.938 kB / 0.513 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.5111, allocations: 67.91 kB / 0.5131 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.5127, allocations: 168.6 kB / 0.5132 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.5127, allocations: 15.98 kB / 0.5132 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004219/0.5131, allocations: 0.568 MB / 0.5138 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5131, allocations: 0 / 0.5138 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.5142, allocations: 0.7422 MB / 0.5145 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5143, allocations: 108.8 kB / 0.5146 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.5144, allocations: 15.98 kB / 0.5146 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.5146, allocations: 5.75 kB / 0.5146 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.5146, allocations: 27.91 kB / 0.5147 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.5146, allocations: 8 kB / 0.5147 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.5149, allocations: 229.9 kB / 0.5149 GB, free: 11.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5149, allocations: 0 / 0.5149 GB, free: 11.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004798/0.5197, allocations: 0.7558 MB / 0.5156 GB, free: 10.41 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.02486/0.5445, allocations: 6.418 MB / 0.5219 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.5457, allocations: 457.4 kB / 0.5223 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5457, allocations: 0.875 kB / 0.5223 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.5461, allocations: 220.6 kB / 0.5226 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.5472, allocations: 188.1 kB / 0.5227 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.5489, allocations: 0.9312 MB / 0.5236 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.5493, allocations: 0.8051 MB / 0.5244 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.5494, allocations: 43.42 kB / 0.5245 GB, free: 1.289 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5494, allocations: 0 / 0.5245 GB, free: 1.289 MB / 430.1 MB Notification: Performance of Templates: time 0.04077/0.5902, allocations: 29.38 MB / 0.5532 GB, free: 3.891 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.877294224017533]