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.001274/0.001274, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 60.08 kB / 307.1 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1155, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2076/0.3232, allocations: 37.42 MB / 395.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03844/0.3616, allocations: 30.52 MB / 425.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007418/0.3624, allocations: 9.344 kB / 425.6 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.3638, allocations: 364.7 kB / 426 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.3654, allocations: 496.8 kB / 426.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0173/0.3827, allocations: 4.536 MB / 431 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.3851, allocations: 1.359 MB / 432.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004232/0.3855, allocations: 170.7 kB / 432.5 MB, free: 404 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.3868, allocations: 0.5333 MB / 433.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.3875, allocations: 458.2 kB / 433.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.3876, allocations: 52 kB / 433.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05573/0.4434, allocations: 38.73 MB / 472.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000352/0.4438, allocations: 147.6 kB / 472.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006096/0.4444, allocations: 322.8 kB / 472.7 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03143/0.4758, allocations: 13.91 MB / 486.7 MB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4759, allocations: 0 / 486.7 MB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4759, allocations: 0 / 486.7 MB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4759, allocations: 0 / 486.7 MB, free: 10.09 MB / 398.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.008276/0.4842, allocations: 1.43 MB / 488.1 MB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4843, allocations: 15.97 kB / 488.1 MB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000829/0.4851, allocations: 95.3 kB / 488.2 MB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.4856, allocations: 385.9 kB / 488.6 MB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.4857, allocations: 37 kB / 488.6 MB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.4858, allocations: 44 kB / 488.6 MB, free: 8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.487, allocations: 0.6205 MB / 489.3 MB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.4871, allocations: 0 / 489.3 MB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.4871, allocations: 24 kB / 489.3 MB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.4872, allocations: 12 kB / 489.3 MB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.4882, allocations: 0.5268 MB / 489.8 MB, free: 6.77 MB / 398.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.00453/0.4928, allocations: 3.802 MB / 493.6 MB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009995/0.4938, allocations: 422.5 kB / 494 MB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.4941, allocations: 205.5 kB / 494.2 MB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003633/0.4978, allocations: 3.455 MB / 497.7 MB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.4978, allocations: 34.94 kB / 497.7 MB, free: 13.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.264e-06/0.4978, allocations: 4 kB / 497.7 MB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.01085/0.5087, allocations: 2.031 MB / 499.8 MB, free: 11.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.5088, allocations: 59.84 kB / 499.8 MB, free: 11.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.5092, allocations: 308.4 kB / 0.4884 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.5092, allocations: 37.7 kB / 0.4884 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.5094, allocations: 236.5 kB / 0.4887 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.5096, allocations: 189.3 kB / 0.4888 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.5098, allocations: 118.2 kB / 0.489 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.51, allocations: 354.7 kB / 0.4893 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.5103, allocations: 181.2 kB / 0.4895 GB, free: 10.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.5107, allocations: 340 kB / 0.4898 GB, free: 9.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008496/0.5116, allocations: 0.5407 MB / 0.4903 GB, free: 9.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5116, allocations: 0 / 0.4903 GB, free: 9.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001444/0.5131, allocations: 0.6662 MB / 0.491 GB, free: 8.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5131, allocations: 12.06 kB / 0.491 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5131, allocations: 7.984 kB / 0.491 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/0.5258, allocations: 470 kB / 0.4914 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.5265, allocations: 143.8 kB / 0.4916 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.5291, allocations: 3.096 MB / 0.4946 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.5296, allocations: 51.91 kB / 0.4947 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.5297, allocations: 28 kB / 0.4947 GB, free: 4.539 MB / 414.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.0003052/0.53, allocations: 195 kB / 0.4949 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.5302, allocations: 39.53 kB / 0.4949 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.532, allocations: 1.053 MB / 0.4959 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.532, allocations: 8 kB / 0.4959 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.532, allocations: 0 / 0.4959 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.5334, allocations: 1.095 MB / 0.497 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.5358, allocations: 1.735 MB / 0.4987 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.5358, allocations: 0 / 0.4987 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.5362, allocations: 107.8 kB / 0.4988 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/0.5396, allocations: 353 kB / 0.4991 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/0.5396, allocations: 12 kB / 0.4992 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008366/0.5405, allocations: 1.144 MB / 0.5003 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5405, allocations: 9.5 kB / 0.5003 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.5422, allocations: 1.123 MB / 0.5014 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.5424, allocations: 124.5 kB / 0.5015 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.5425, allocations: 16 kB / 0.5015 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.5428, allocations: 31.92 kB / 0.5015 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.5429, allocations: 40.5 kB / 0.5016 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.543, allocations: 19.98 kB / 0.5016 GB, free: 13.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003058/0.5433, allocations: 255 kB / 0.5018 GB, free: 12.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5433, allocations: 0 / 0.5018 GB, free: 12.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005476/0.5488, allocations: 0.9604 MB / 0.5028 GB, free: 11.99 MB / 430.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.04429/0.5931, allocations: 7.878 MB / 0.5105 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.5953, allocations: 0.7395 MB / 0.5112 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5953, allocations: 7.938 kB / 0.5112 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.596, allocations: 363.6 kB / 0.5115 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.5975, allocations: 275.3 kB / 0.5118 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.6002, allocations: 1.587 MB / 0.5134 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.6007, allocations: 0.8648 MB / 0.5142 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.6009, allocations: 59.42 kB / 0.5143 GB, free: 144 kB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6009, allocations: 0 / 0.5143 GB, free: 144 kB / 430.1 MB Notification: Performance of Templates: time 0.2112/0.8121, allocations: 38.74 MB / 0.5521 GB, free: 133.3 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 -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.1.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