Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 118.8 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 210 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.4 MB / 250 MB, free: 9.039 MB / 206.1 MB 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.002634/0.002634, allocations: 63.84 kB / 367.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2526, allocations: 53.31 MB / 420.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0394/0.292, allocations: 37.95 MB / 458.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03437/0.3263, allocations: 30.71 MB / 489.3 MB, free: 3.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.3268, allocations: 8 kB / 489.4 MB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.3281, allocations: 421.7 kB / 489.8 MB, free: 3.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.3293, allocations: 0.5361 MB / 490.3 MB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.3453, allocations: 5.238 MB / 495.5 MB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.3473, allocations: 1.375 MB / 496.9 MB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.3476, allocations: 122.7 kB / 497 MB, free: 11.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.3486, allocations: 0.5372 MB / 497.6 MB, free: 11.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007799/0.3494, allocations: 462.2 kB / 498 MB, free: 10.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.3495, allocations: 56 kB / 498.1 MB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02414/0.3737, allocations: 12.9 MB / 0.499 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.374, allocations: 155.5 kB / 0.4991 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005781/0.3746, allocations: 326.7 kB / 0.4995 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0349/0.4095, allocations: 14.94 MB / 0.514 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4095, allocations: 0 / 0.514 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4095, allocations: 0 / 0.514 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.4095, allocations: 0 / 0.514 GB, free: 14.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007031/0.4165, allocations: 1.475 MB / 0.5155 GB, free: 12.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4166, allocations: 16.03 kB / 0.5155 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007223/0.4173, allocations: 103.5 kB / 0.5156 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.4179, allocations: 382.2 kB / 0.516 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.418, allocations: 33 kB / 0.516 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.418, allocations: 48 kB / 0.516 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.4193, allocations: 0.6166 MB / 0.5166 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.4193, allocations: 3.953 kB / 0.5166 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.4193, allocations: 28 kB / 0.5167 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.4194, allocations: 15.98 kB / 0.5167 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.4204, allocations: 0.5306 MB / 0.5172 GB, free: 10.93 MB / 446.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.004445/0.4249, allocations: 3.793 MB / 0.5209 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/0.4258, allocations: 399.7 kB / 0.5213 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.4262, allocations: 201.2 kB / 0.5215 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003641/0.4298, allocations: 3.455 MB / 0.5249 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.4298, allocations: 50.84 kB / 0.5249 GB, free: 2.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.4298, allocations: 0 / 0.5249 GB, free: 2.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009843/0.4397, allocations: 2.026 MB / 0.5269 GB, free: 15.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.4397, allocations: 63.77 kB / 0.5269 GB, free: 15.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.4401, allocations: 312.5 kB / 0.5272 GB, free: 15.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.4402, allocations: 33.7 kB / 0.5273 GB, free: 15.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.4403, allocations: 237.2 kB / 0.5275 GB, free: 15.26 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.4405, allocations: 202.2 kB / 0.5277 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.4407, allocations: 118.3 kB / 0.5278 GB, free: 14.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4408, allocations: 346.8 kB / 0.5281 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.4412, allocations: 181.2 kB / 0.5283 GB, free: 14.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.4416, allocations: 328 kB / 0.5286 GB, free: 14.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.4425, allocations: 0.5485 MB / 0.5292 GB, free: 13.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4425, allocations: 0 / 0.5292 GB, free: 13.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001346/0.4438, allocations: 0.6776 MB / 0.5298 GB, free: 12.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4438, allocations: 11.94 kB / 0.5298 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4438, allocations: 8.062 kB / 0.5298 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009876/0.4537, allocations: 442.5 kB / 0.5303 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.4543, allocations: 143.8 kB / 0.5304 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.4566, allocations: 3.101 MB / 0.5334 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.4569, allocations: 19.94 kB / 0.5334 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.457, allocations: 24 kB / 0.5335 GB, free: 8.766 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.4572, allocations: 189.6 kB / 0.5336 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4573, allocations: 47.75 kB / 0.5337 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.459, allocations: 1.052 MB / 0.5347 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.459, allocations: 19.92 kB / 0.5347 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.459, allocations: 0 / 0.5347 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/0.4603, allocations: 1.083 MB / 0.5358 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.4627, allocations: 1.73 MB / 0.5375 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4627, allocations: 4 kB / 0.5375 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.4631, allocations: 103.8 kB / 0.5376 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003341/0.4664, allocations: 353.1 kB / 0.5379 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.4665, allocations: 12 kB / 0.5379 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007904/0.4673, allocations: 1.156 MB / 0.5391 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4673, allocations: 0 / 0.5391 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.469, allocations: 1.125 MB / 0.5402 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4691, allocations: 124.8 kB / 0.5403 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.4692, allocations: 15.94 kB / 0.5403 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.4694, allocations: 20.03 kB / 0.5403 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.4695, allocations: 36.45 kB / 0.5404 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.4695, allocations: 27.98 kB / 0.5404 GB, free: 1.422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.4698, allocations: 251 kB / 0.5406 GB, free: 1.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4698, allocations: 0 / 0.5406 GB, free: 1.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004975/0.4748, allocations: 0.9702 MB / 0.5416 GB, free: 212 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.2076/0.6824, allocations: 7.876 MB / 0.5493 GB, free: 110 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.6839, allocations: 0.6876 MB / 0.5499 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6839, allocations: 3.938 kB / 0.5499 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.6844, allocations: 348.2 kB / 0.5503 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.6857, allocations: 269.8 kB / 0.5505 GB, free: 109.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.6875, allocations: 1.331 MB / 0.5518 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.6878, allocations: 0.8655 MB / 0.5527 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.6882, allocations: 252.1 kB / 0.5529 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.6883, allocations: 52.64 kB / 0.553 GB, free: 108.5 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6883, allocations: 0 / 0.553 GB, free: 108.5 MB / 462.1 MB Notification: Performance of Templates: time 0.03772/0.726, allocations: 36.31 MB / 0.5884 GB, free: 75.44 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches