Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001729/0.001729, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.62 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09469, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1993/0.294, allocations: 37.73 MB / 396.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.3268, allocations: 30.64 MB / 427.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.3274, allocations: 4 kB / 427.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3286, allocations: 409.7 kB / 427.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.3297, allocations: 0.5166 MB / 428.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01451/0.3442, allocations: 5.137 MB / 433.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.3461, allocations: 1.363 MB / 434.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.3464, allocations: 166.5 kB / 434.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.3472, allocations: 0.5333 MB / 435.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.3477, allocations: 438.2 kB / 435.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/0.3477, allocations: 52 kB / 435.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02227/0.37, allocations: 12.82 MB / 448.7 MB, free: 456 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.3704, allocations: 147.5 kB / 448.8 MB, free: 308 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005837/0.371, allocations: 318.9 kB / 449.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03355/0.4045, allocations: 14.92 MB / 464.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4046, allocations: 0 / 464.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4046, allocations: 0 / 464.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4046, allocations: 0 / 464.1 MB, free: 1.051 MB / 366.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.007848/0.4125, allocations: 1.419 MB / 465.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4125, allocations: 12.03 kB / 465.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007528/0.4133, allocations: 91.3 kB / 465.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.4139, allocations: 397.9 kB / 466 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.4139, allocations: 33 kB / 466 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.414, allocations: 51.94 kB / 466 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.4152, allocations: 0.6244 MB / 466.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4152, allocations: 0 / 466.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.4152, allocations: 24 kB / 466.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4153, allocations: 12 kB / 466.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/0.4162, allocations: 0.5229 MB / 467.2 MB, free: 13.73 MB / 382.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.003884/0.4201, allocations: 3.807 MB / 471 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.421, allocations: 416.5 kB / 471.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.4214, allocations: 213.5 kB / 471.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002963/0.4243, allocations: 3.447 MB / 475.1 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.4244, allocations: 42.94 kB / 475.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.134e-06/0.4244, allocations: 0 / 475.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009374/0.4338, allocations: 2.024 MB / 477.2 MB, free: 2.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4338, allocations: 59.83 kB / 477.2 MB, free: 2.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.4341, allocations: 316.2 kB / 477.5 MB, free: 2.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.4342, allocations: 37.7 kB / 477.6 MB, free: 2.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4343, allocations: 224.6 kB / 477.8 MB, free: 2.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4345, allocations: 189.3 kB / 478 MB, free: 1.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.4346, allocations: 118.2 kB / 478.1 MB, free: 1.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4348, allocations: 354.8 kB / 478.4 MB, free: 1.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.4351, allocations: 181.2 kB / 478.6 MB, free: 1.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.4355, allocations: 336 kB / 478.9 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.4362, allocations: 0.5407 MB / 479.5 MB, free: 212 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4362, allocations: 0 / 479.5 MB, free: 212 kB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001257/0.4375, allocations: 0.6734 MB / 480.2 MB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4375, allocations: 4.562 kB / 480.2 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4375, allocations: 7.938 kB / 480.2 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00973/0.4473, allocations: 450 kB / 480.6 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.4479, allocations: 143.8 kB / 480.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.45, allocations: 3.086 MB / 483.8 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.4503, allocations: 31.86 kB / 483.9 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.4504, allocations: 24 kB / 483.9 MB, free: 11.56 MB / 398.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.0002753/0.4507, allocations: 193.8 kB / 484.1 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4508, allocations: 47.52 kB / 484.1 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.4523, allocations: 1.044 MB / 485.2 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4524, allocations: 11.98 kB / 485.2 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.4524, allocations: 0 / 485.2 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/0.4535, allocations: 1.091 MB / 486.3 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.4557, allocations: 1.738 MB / 488 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.4557, allocations: 0 / 488 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.4561, allocations: 99.83 kB / 488.1 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003069/0.4592, allocations: 353 kB / 488.5 MB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.4592, allocations: 16 kB / 488.5 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007027/0.4599, allocations: 1.152 MB / 489.6 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4599, allocations: 0 / 489.6 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.4614, allocations: 1.125 MB / 490.7 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.4615, allocations: 124.5 kB / 490.9 MB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.4615, allocations: 19.84 kB / 490.9 MB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.4618, allocations: 15.94 kB / 490.9 MB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.4619, allocations: 36.45 kB / 490.9 MB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.4619, allocations: 25.11 kB / 491 MB, free: 4.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002509/0.4622, allocations: 247 kB / 491.2 MB, free: 3.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4622, allocations: 4 kB / 491.2 MB, free: 3.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005709/0.4679, allocations: 0.9605 MB / 492.2 MB, free: 3.023 MB / 398.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.03028/0.4982, allocations: 7.874 MB / 0.4883 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.4999, allocations: 0.7118 MB / 0.489 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4999, allocations: 4 kB / 0.489 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.5005, allocations: 371.5 kB / 0.4894 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.5018, allocations: 261.2 kB / 0.4896 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.5039, allocations: 1.331 MB / 0.4909 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.5043, allocations: 0.8648 MB / 0.4918 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004509/0.5047, allocations: 244.7 kB / 0.492 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.5049, allocations: 51.42 kB / 0.492 GB, free: 7.254 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5049, allocations: 0 / 0.492 GB, free: 7.254 MB / 414.1 MB Notification: Performance of Templates: time 0.04729/0.5522, allocations: 36.07 MB / 0.5273 GB, free: 3.172 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches