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.001353/0.001353, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.5 kB / 306.3 MB, free: 1.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08531, allocations: 50.54 MB / 356.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1755/0.2608, allocations: 37.33 MB / 394.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03171/0.2926, allocations: 31.63 MB / 425.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006225/0.2932, allocations: 11.94 kB / 425.8 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.2944, allocations: 346.3 kB / 426.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.2958, allocations: 0.5052 MB / 426.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01455/0.3103, allocations: 4.159 MB / 430.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.3128, allocations: 2.034 MB / 432.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.3132, allocations: 131.1 kB / 432.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.3145, allocations: 462.2 kB / 433.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009268/0.3154, allocations: 466.1 kB / 433.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.3156, allocations: 28 kB / 433.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05304/0.3686, allocations: 35.31 MB / 469.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.3689, allocations: 123.5 kB / 469.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005495/0.3695, allocations: 294.8 kB / 469.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.07271/0.4422, allocations: 26.17 MB / 495.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4423, allocations: 4 kB / 495.7 MB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4423, allocations: 4 kB / 495.7 MB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.4423, allocations: 0 / 495.7 MB, free: 15.51 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007763/0.4501, allocations: 1.418 MB / 497.2 MB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.4502, allocations: 12.03 kB / 497.2 MB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007966/0.451, allocations: 91.3 kB / 497.3 MB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.4516, allocations: 385.8 kB / 497.6 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.4516, allocations: 41 kB / 497.7 MB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.4517, allocations: 40 kB / 497.7 MB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.453, allocations: 0.6244 MB / 498.3 MB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.4531, allocations: 7.922 kB / 498.4 MB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.4531, allocations: 24 kB / 498.4 MB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4532, allocations: 12 kB / 498.4 MB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.4543, allocations: 0.5268 MB / 498.9 MB, free: 12.2 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.004417/0.4587, allocations: 3.795 MB / 0.4909 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.4596, allocations: 419.7 kB / 0.4913 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.4599, allocations: 205.5 kB / 0.4915 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002997/0.4629, allocations: 3.459 MB / 0.4949 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.463, allocations: 34.94 kB / 0.4949 GB, free: 3.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.204e-06/0.463, allocations: 4 kB / 0.4949 GB, free: 3.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009668/0.4726, allocations: 2.035 MB / 0.4969 GB, free: 1.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.4727, allocations: 59.78 kB / 0.497 GB, free: 1.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.473, allocations: 304.5 kB / 0.4973 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.4731, allocations: 33.7 kB / 0.4973 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4732, allocations: 236.5 kB / 0.4975 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.4733, allocations: 201.3 kB / 0.4977 GB, free: 320 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.4735, allocations: 114.2 kB / 0.4978 GB, free: 200 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4736, allocations: 350.8 kB / 0.4982 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.4739, allocations: 177.2 kB / 0.4983 GB, free: 15.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.4744, allocations: 324.1 kB / 0.4986 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.4751, allocations: 0.5445 MB / 0.4992 GB, free: 14.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4751, allocations: 8 kB / 0.4992 GB, free: 14.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001244/0.4764, allocations: 0.6738 MB / 0.4998 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4764, allocations: 10.81 kB / 0.4999 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4764, allocations: 4 kB / 0.4999 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/0.487, allocations: 442.2 kB / 0.5003 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.4876, allocations: 143.8 kB / 0.5004 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.4895, allocations: 2.998 MB / 0.5033 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.49, allocations: 52.11 kB / 0.5034 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.49, allocations: 24 kB / 0.5034 GB, free: 10.11 MB / 430.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.0002666/0.4903, allocations: 195.9 kB / 0.5036 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4904, allocations: 43.53 kB / 0.5036 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.4919, allocations: 1.052 MB / 0.5047 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.492, allocations: 15.92 kB / 0.5047 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.492, allocations: 4.062 kB / 0.5047 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/0.4931, allocations: 1.087 MB / 0.5058 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.4953, allocations: 1.742 MB / 0.5075 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.4953, allocations: 3.938 kB / 0.5075 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.4957, allocations: 99.88 kB / 0.5076 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0034/0.4991, allocations: 349.1 kB / 0.5079 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.4991, allocations: 15.98 kB / 0.5079 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006403/0.4998, allocations: 1.14 MB / 0.509 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4998, allocations: 0 / 0.509 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.5013, allocations: 1.135 MB / 0.5101 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.5014, allocations: 120.5 kB / 0.5102 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.5014, allocations: 15.94 kB / 0.5103 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.5018, allocations: 35.83 kB / 0.5103 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.5018, allocations: 36.52 kB / 0.5103 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.5019, allocations: 19.98 kB / 0.5103 GB, free: 2.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.5021, allocations: 251 kB / 0.5106 GB, free: 2.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5022, allocations: 3.938 kB / 0.5106 GB, free: 2.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005468/0.5076, allocations: 0.9682 MB / 0.5115 GB, free: 1.543 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.04222/0.5499, allocations: 7.863 MB / 0.5192 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.5515, allocations: 0.723 MB / 0.5199 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5515, allocations: 0 / 0.5199 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000597/0.5521, allocations: 360.5 kB / 0.5203 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.5536, allocations: 268.1 kB / 0.5205 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.5558, allocations: 1.565 MB / 0.522 GB, free: 6.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.5561, allocations: 0.865 MB / 0.5229 GB, free: 5.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005135/0.5567, allocations: 232.6 kB / 0.5231 GB, free: 5.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.5568, allocations: 55.42 kB / 0.5232 GB, free: 5.551 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5568, allocations: 0 / 0.5232 GB, free: 5.551 MB / 446.1 MB Notification: Performance of Templates: time 0.184/0.7407, allocations: 35.51 MB / 0.5578 GB, free: 130.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches