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.001944/0.001944, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002384/0.002384, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.002066/0.002066, allocations: 76.52 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2425, allocations: 53.35 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03158/0.2741, allocations: 27.1 MB / 459.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02946/0.3035, allocations: 25.06 MB / 484.6 MB, free: 2.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.3039, allocations: 7.938 kB / 484.6 MB, free: 2.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.3049, allocations: 314.3 kB / 484.9 MB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.3058, allocations: 381.9 kB / 485.2 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01094/0.3167, allocations: 4.125 MB / 489.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.3182, allocations: 0.962 MB / 490.3 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.3184, allocations: 77.23 kB / 490.4 MB, free: 12.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.3191, allocations: 410.5 kB / 490.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.3195, allocations: 306.8 kB / 491.1 MB, free: 12.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.3196, allocations: 40 kB / 491.1 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/0.3385, allocations: 10.55 MB / 0.4899 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.3388, allocations: 115.6 kB / 0.49 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.3391, allocations: 223.1 kB / 0.4903 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02719/0.3663, allocations: 11.5 MB / 0.5015 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3663, allocations: 0 / 0.5015 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3663, allocations: 4 kB / 0.5015 GB, free: 5.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.3663, allocations: 0 / 0.5015 GB, free: 5.621 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.006667/0.373, allocations: 1.113 MB / 0.5026 GB, free: 4.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.373, allocations: 12.03 kB / 0.5026 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/0.3737, allocations: 67.73 kB / 0.5027 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.3742, allocations: 264.6 kB / 0.5029 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3742, allocations: 24.66 kB / 0.5029 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.3743, allocations: 32 kB / 0.503 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.3752, allocations: 471.7 kB / 0.5034 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3752, allocations: 0 / 0.5034 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.3753, allocations: 15.94 kB / 0.5034 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3753, allocations: 8 kB / 0.5034 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.3761, allocations: 390.3 kB / 0.5038 GB, free: 3.152 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.003627/0.3797, allocations: 2.81 MB / 0.5065 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.3804, allocations: 282.8 kB / 0.5068 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3806, allocations: 127.5 kB / 0.5069 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.3821, allocations: 467.4 kB / 0.5074 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3821, allocations: 34.55 kB / 0.5074 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.3821, allocations: 0 / 0.5074 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005899/0.388, allocations: 1.171 MB / 0.5086 GB, free: 14.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.3881, allocations: 55.41 kB / 0.5086 GB, free: 13.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.3884, allocations: 257.9 kB / 0.5089 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.3884, allocations: 29.7 kB / 0.5089 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3886, allocations: 196.4 kB / 0.5091 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3887, allocations: 126.9 kB / 0.5092 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.3888, allocations: 86.02 kB / 0.5093 GB, free: 13.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.389, allocations: 338.8 kB / 0.5096 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3892, allocations: 116.8 kB / 0.5097 GB, free: 12.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.3895, allocations: 226 kB / 0.5099 GB, free: 12.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.3901, allocations: 382 kB / 0.5103 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3901, allocations: 0 / 0.5103 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001023/0.3911, allocations: 458.7 kB / 0.5107 GB, free: 11.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3911, allocations: 8 kB / 0.5107 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3911, allocations: 4.438 kB / 0.5107 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006418/0.3976, allocations: 245.4 kB / 0.511 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.398, allocations: 91.83 kB / 0.5111 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.3998, allocations: 1.835 MB / 0.5129 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.4001, allocations: 12 kB / 0.5129 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.4001, allocations: 28.17 kB / 0.5129 GB, free: 9.273 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.0002398/0.4003, allocations: 161.7 kB / 0.513 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.4005, allocations: 35.75 kB / 0.5131 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4016, allocations: 0.6972 MB / 0.5138 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.4017, allocations: 4 kB / 0.5138 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4017, allocations: 0 / 0.5138 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009862/0.4026, allocations: 0.8945 MB / 0.5146 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.4043, allocations: 1.187 MB / 0.5158 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4043, allocations: 0 / 0.5158 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.4046, allocations: 59.91 kB / 0.5159 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.4062, allocations: 188.5 kB / 0.516 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.4062, allocations: 11.97 kB / 0.516 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004406/0.4067, allocations: 0.572 MB / 0.5166 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4067, allocations: 3.938 kB / 0.5166 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.4078, allocations: 0.7498 MB / 0.5173 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.4078, allocations: 35.73 kB / 0.5174 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.4079, allocations: 11.94 kB / 0.5174 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.4081, allocations: 4 kB / 0.5174 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.4081, allocations: 27.89 kB / 0.5174 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.4082, allocations: 19.98 kB / 0.5174 GB, free: 4.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.4084, allocations: 223.1 kB / 0.5177 GB, free: 4.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4084, allocations: 0 / 0.5177 GB, free: 4.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004501/0.4129, allocations: 0.752 MB / 0.5184 GB, free: 3.43 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.02488/0.4378, allocations: 6.411 MB / 0.5246 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4389, allocations: 463.8 kB / 0.5251 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4389, allocations: 0 / 0.5251 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.4393, allocations: 223.7 kB / 0.5253 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4403, allocations: 188.4 kB / 0.5255 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.442, allocations: 0.9223 MB / 0.5264 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.4424, allocations: 0.8051 MB / 0.5272 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004096/0.4428, allocations: 194.9 kB / 0.5274 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.4429, allocations: 39.44 kB / 0.5274 GB, free: 10.12 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4429, allocations: 0 / 0.5274 GB, free: 10.12 MB / 446.1 MB Notification: Performance of Templates: time 0.2193/0.6622, allocations: 29.49 MB / 0.5562 GB, free: 88.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.143633911386132]