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.009294/0.009294, allocations: 108.4 kB / 21.97 MB, free: 5.184 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.002695/0.002695, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.494/1.494, allocations: 230.6 MB / 259 MB, free: 8.035 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.002018/0.002018, allocations: 59.89 kB / 379.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2734, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03285/0.3062, allocations: 27.08 MB / 460.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03082/0.337, allocations: 25.07 MB / 485.3 MB, free: 2.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.3375, allocations: 7.938 kB / 485.3 MB, free: 2.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009618/0.3385, allocations: 314.3 kB / 485.6 MB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009655/0.3394, allocations: 381.9 kB / 486 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.3521, allocations: 4.125 MB / 490.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.3537, allocations: 0.962 MB / 491.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.354, allocations: 81.23 kB / 491.2 MB, free: 12.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.3547, allocations: 402.6 kB / 491.6 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.3552, allocations: 314.8 kB / 491.9 MB, free: 12.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.3553, allocations: 36 kB / 491.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0202/0.3755, allocations: 10.55 MB / 0.4907 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.3757, allocations: 115.6 kB / 0.4908 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.3761, allocations: 223.1 kB / 0.491 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02995/0.4061, allocations: 11.5 MB / 0.5022 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4061, allocations: 0 / 0.5022 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.4061, allocations: 8 kB / 0.5022 GB, free: 5.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.4061, allocations: 0 / 0.5022 GB, free: 5.613 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.007134/0.4132, allocations: 1.109 MB / 0.5033 GB, free: 4.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4133, allocations: 12.03 kB / 0.5033 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006865/0.414, allocations: 71.73 kB / 0.5034 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.4145, allocations: 268.6 kB / 0.5037 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.4146, allocations: 24.66 kB / 0.5037 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.4146, allocations: 28 kB / 0.5037 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/0.4156, allocations: 471.7 kB / 0.5042 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4156, allocations: 3.938 kB / 0.5042 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.4157, allocations: 16 kB / 0.5042 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4157, allocations: 8 kB / 0.5042 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.4165, allocations: 390.3 kB / 0.5046 GB, free: 3.141 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.004003/0.4205, allocations: 2.81 MB / 0.5073 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.4213, allocations: 282.7 kB / 0.5076 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.4215, allocations: 129.9 kB / 0.5077 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.423, allocations: 463.5 kB / 0.5081 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.423, allocations: 34.56 kB / 0.5082 GB, free: 15.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.423, allocations: 0 / 0.5082 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005967/0.429, allocations: 1.167 MB / 0.5093 GB, free: 14.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.4291, allocations: 59.39 kB / 0.5094 GB, free: 13.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.4294, allocations: 257.9 kB / 0.5096 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.4294, allocations: 29.7 kB / 0.5096 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.4296, allocations: 192.4 kB / 0.5098 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.4297, allocations: 130.9 kB / 0.5099 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.4298, allocations: 82.08 kB / 0.51 GB, free: 13.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.43, allocations: 338.8 kB / 0.5104 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.4302, allocations: 116.8 kB / 0.5105 GB, free: 12.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.4305, allocations: 226 kB / 0.5107 GB, free: 12.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.4311, allocations: 370 kB / 0.511 GB, free: 12.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4311, allocations: 7.984 kB / 0.511 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001071/0.4322, allocations: 462.7 kB / 0.5115 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4322, allocations: 4 kB / 0.5115 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4322, allocations: 4.438 kB / 0.5115 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006148/0.4384, allocations: 249.4 kB / 0.5117 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.4387, allocations: 91.83 kB / 0.5118 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.4405, allocations: 1.835 MB / 0.5136 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.4408, allocations: 16 kB / 0.5136 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.4408, allocations: 20.19 kB / 0.5136 GB, free: 9.27 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.4411, allocations: 165.6 kB / 0.5138 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.4412, allocations: 35.75 kB / 0.5138 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.4424, allocations: 0.7011 MB / 0.5145 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4424, allocations: 8 kB / 0.5145 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.4424, allocations: 0 / 0.5145 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.4434, allocations: 0.8905 MB / 0.5154 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.4452, allocations: 1.183 MB / 0.5165 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.4452, allocations: 0 / 0.5165 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.4454, allocations: 59.91 kB / 0.5166 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.447, allocations: 188.4 kB / 0.5168 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.4471, allocations: 8 kB / 0.5168 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004699/0.4475, allocations: 0.5719 MB / 0.5174 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4476, allocations: 7.922 kB / 0.5174 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.4487, allocations: 0.7537 MB / 0.5181 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.4488, allocations: 31.73 kB / 0.5181 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.4488, allocations: 8 kB / 0.5181 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.449, allocations: 8 kB / 0.5181 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.4491, allocations: 27.89 kB / 0.5182 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.4491, allocations: 15.98 kB / 0.5182 GB, free: 4.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.4494, allocations: 223.1 kB / 0.5184 GB, free: 4.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4494, allocations: 0 / 0.5184 GB, free: 4.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004836/0.4542, allocations: 0.7559 MB / 0.5191 GB, free: 3.422 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.02593/0.4801, allocations: 6.411 MB / 0.5254 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.4813, allocations: 467.8 kB / 0.5258 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4813, allocations: 0 / 0.5258 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.4817, allocations: 223.7 kB / 0.5261 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.4828, allocations: 188.7 kB / 0.5262 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.4845, allocations: 0.9417 MB / 0.5272 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.485, allocations: 0.8129 MB / 0.5279 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.4852, allocations: 43.42 kB / 0.528 GB, free: 10.25 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4852, allocations: 0 / 0.528 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Templates: time 0.2575/0.7426, allocations: 29.38 MB / 0.5567 GB, free: 88.08 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/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-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: 11.429369856836274]