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.00155/0.00155, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.126/2.126, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 56.09 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3304, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03564/0.3661, allocations: 37.74 MB / 447.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03048/0.3966, allocations: 30.63 MB / 478.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006044/0.3972, allocations: 11.94 kB / 478.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.3985, allocations: 417.7 kB / 478.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.3997, allocations: 0.5204 MB / 479.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01458/0.4143, allocations: 5.137 MB / 484.4 MB, free: 6.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.4164, allocations: 1.359 MB / 485.7 MB, free: 5.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000328/0.4168, allocations: 166.7 kB / 485.9 MB, free: 5.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.4178, allocations: 0.5411 MB / 486.4 MB, free: 4.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.4184, allocations: 434.2 kB / 486.9 MB, free: 4.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.805e-05/0.4185, allocations: 56 kB / 486.9 MB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02226/0.4407, allocations: 12.81 MB / 499.7 MB, free: 7.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.4411, allocations: 155.5 kB / 499.9 MB, free: 7.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.4417, allocations: 322.8 kB / 0.4885 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03302/0.4747, allocations: 14.91 MB / 0.503 GB, free: 8.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4747, allocations: 8 kB / 0.503 GB, free: 8.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4748, allocations: 0 / 0.503 GB, free: 8.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4748, allocations: 3.938 kB / 0.503 GB, free: 8.07 MB / 430.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.007936/0.4827, allocations: 1.419 MB / 0.5044 GB, free: 6.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4828, allocations: 8.031 kB / 0.5044 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007629/0.4835, allocations: 95.23 kB / 0.5045 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.4843, allocations: 393.9 kB / 0.5049 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.4843, allocations: 33 kB / 0.5049 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.4844, allocations: 44 kB / 0.505 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.4856, allocations: 0.6244 MB / 0.5056 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.4856, allocations: 4 kB / 0.5056 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.4856, allocations: 16 kB / 0.5056 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.4857, allocations: 12 kB / 0.5056 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.4866, allocations: 0.5385 MB / 0.5061 GB, free: 4.754 MB / 430.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.004462/0.4911, allocations: 3.799 MB / 0.5099 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/0.4921, allocations: 412.6 kB / 0.5103 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.4924, allocations: 217.5 kB / 0.5105 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003112/0.4955, allocations: 3.459 MB / 0.5138 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.4956, allocations: 34.94 kB / 0.5139 GB, free: 11.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 3.076e-06/0.4956, allocations: 0 / 0.5139 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009187/0.5048, allocations: 2.021 MB / 0.5158 GB, free: 9.719 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.5048, allocations: 63.78 kB / 0.5159 GB, free: 9.645 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.5052, allocations: 304.5 kB / 0.5162 GB, free: 9.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.5052, allocations: 37.7 kB / 0.5162 GB, free: 9.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.5054, allocations: 232.6 kB / 0.5165 GB, free: 9.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.5055, allocations: 193.2 kB / 0.5166 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.5057, allocations: 118.2 kB / 0.5167 GB, free: 8.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5058, allocations: 354.8 kB / 0.5171 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.5061, allocations: 177.2 kB / 0.5173 GB, free: 8.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.5065, allocations: 328 kB / 0.5176 GB, free: 7.848 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.5072, allocations: 0.5446 MB / 0.5181 GB, free: 7.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5072, allocations: 8 kB / 0.5181 GB, free: 7.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001245/0.5085, allocations: 0.67 MB / 0.5188 GB, free: 6.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5085, allocations: 14.91 kB / 0.5188 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5086, allocations: 4 kB / 0.5188 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008641/0.5172, allocations: 446.1 kB / 0.5192 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.5179, allocations: 147.7 kB / 0.5193 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.52, allocations: 3.101 MB / 0.5224 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.5204, allocations: 15.94 kB / 0.5224 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.5205, allocations: 32 kB / 0.5224 GB, free: 2.578 MB / 446.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.0003103/0.5209, allocations: 193.5 kB / 0.5226 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.521, allocations: 43.53 kB / 0.5226 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.5226, allocations: 1.048 MB / 0.5237 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5227, allocations: 8 kB / 0.5237 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5227, allocations: 0 / 0.5237 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.5239, allocations: 1.095 MB / 0.5247 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.5261, allocations: 1.729 MB / 0.5264 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5261, allocations: 0 / 0.5264 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.5265, allocations: 99.83 kB / 0.5265 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/0.5295, allocations: 361 kB / 0.5269 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.5296, allocations: 12 kB / 0.5269 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007169/0.5303, allocations: 1.152 MB / 0.528 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5303, allocations: 0 / 0.528 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.5318, allocations: 1.124 MB / 0.5291 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.532, allocations: 128.5 kB / 0.5292 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.5321, allocations: 16 kB / 0.5292 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.5323, allocations: 11.94 kB / 0.5293 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.5324, allocations: 40.5 kB / 0.5293 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.5325, allocations: 24.08 kB / 0.5293 GB, free: 11.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.5327, allocations: 251 kB / 0.5296 GB, free: 11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5327, allocations: 0 / 0.5296 GB, free: 11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005525/0.5383, allocations: 0.9682 MB / 0.5305 GB, free: 10.04 MB / 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.0314/0.5697, allocations: 7.867 MB / 0.5382 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.5714, allocations: 0.7151 MB / 0.5389 GB, free: 1.418 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5715, allocations: 1.125 kB / 0.5389 GB, free: 1.418 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.5721, allocations: 371.5 kB / 0.5392 GB, free: 1.051 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5735, allocations: 253 kB / 0.5395 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2336/0.8071, allocations: 1.353 MB / 0.5408 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.8078, allocations: 0.8689 MB / 0.5417 GB, free: 120 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.8081, allocations: 55.83 kB / 0.5417 GB, free: 120 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.8081, allocations: 4.438 kB / 0.5417 GB, free: 120 MB / 462.1 MB Notification: Performance of Templates: time 0.05955/0.8676, allocations: 38.87 MB / 0.5797 GB, free: 89.88 MB / 462.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 -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