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.0007724/0.0007725, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008702/0.0008702, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.7 MB / 246.4 MB, free: 9.832 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000218/0.0002181, allocations: 4 kB / 307.1 MB, free: 0.9922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08453, allocations: 51.52 MB / 358.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1821/0.2667, allocations: 34.85 MB / 393.5 MB, free: 236 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02913/0.2958, allocations: 28.17 MB / 421.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.2964, allocations: 7.25 kB / 421.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.2973, allocations: 315.2 kB / 422 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009723/0.2983, allocations: 489.1 kB / 422.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.3095, allocations: 3.841 MB / 426.3 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.3116, allocations: 1.695 MB / 428 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.3119, allocations: 118.2 kB / 428.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007913/0.3127, allocations: 474.3 kB / 428.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.3132, allocations: 426.3 kB / 429 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.3132, allocations: 24 kB / 429 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06575/0.379, allocations: 51.74 MB / 480.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.3793, allocations: 123.5 kB / 480.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.3796, allocations: 141.5 kB / 481 MB, free: 15.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02976/0.4093, allocations: 13.88 MB / 494.9 MB, free: 1.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4094, allocations: 11.94 kB / 494.9 MB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4094, allocations: 0 / 494.9 MB, free: 1.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.4094, allocations: 0 / 494.9 MB, free: 1.773 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.007357/0.4168, allocations: 1.318 MB / 496.2 MB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4168, allocations: 8.031 kB / 496.2 MB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000668/0.4175, allocations: 95.39 kB / 496.3 MB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.418, allocations: 370.1 kB / 496.7 MB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.418, allocations: 37 kB / 496.7 MB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.4181, allocations: 47.95 kB / 496.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.4192, allocations: 0.6205 MB / 497.4 MB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.4193, allocations: 4 kB / 497.4 MB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.4193, allocations: 20 kB / 497.4 MB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.4193, allocations: 12 kB / 497.4 MB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009505/0.4203, allocations: 0.5268 MB / 497.9 MB, free: 14.59 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.003721/0.424, allocations: 3.808 MB / 0.49 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.4249, allocations: 399.8 kB / 0.4904 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.4252, allocations: 212.8 kB / 0.4906 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003074/0.4283, allocations: 3.541 MB / 0.494 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.4283, allocations: 44.88 kB / 0.4941 GB, free: 5.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.475e-06/0.4283, allocations: 0 / 0.4941 GB, free: 5.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.008954/0.4373, allocations: 2.056 MB / 0.4961 GB, free: 3.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4374, allocations: 63.83 kB / 0.4961 GB, free: 3.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.4377, allocations: 300.5 kB / 0.4964 GB, free: 3.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.4377, allocations: 37.7 kB / 0.4965 GB, free: 3.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4379, allocations: 228.6 kB / 0.4967 GB, free: 2.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.438, allocations: 189.3 kB / 0.4969 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.438, allocations: 12 kB / 0.4969 GB, free: 2.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4381, allocations: 350.8 kB / 0.4972 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.4384, allocations: 173.2 kB / 0.4974 GB, free: 2.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.4388, allocations: 332 kB / 0.4977 GB, free: 1.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.4392, allocations: 224.8 kB / 0.4979 GB, free: 1.469 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4392, allocations: 7.938 kB / 0.4979 GB, free: 1.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001149/0.4404, allocations: 0.6734 MB / 0.4986 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4404, allocations: 8 kB / 0.4986 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4404, allocations: 4 kB / 0.4986 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00826/0.4487, allocations: 454.6 kB / 0.499 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.4492, allocations: 139.8 kB / 0.4991 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.4511, allocations: 3.006 MB / 0.5021 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.4514, allocations: 44.11 kB / 0.5021 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.4515, allocations: 31.98 kB / 0.5022 GB, free: 12.89 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.4518, allocations: 193.5 kB / 0.5023 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.4518, allocations: 43.53 kB / 0.5024 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.4533, allocations: 1.063 MB / 0.5034 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.4534, allocations: 15.98 kB / 0.5034 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4534, allocations: 0 / 0.5034 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/0.4544, allocations: 1.079 MB / 0.5045 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.4565, allocations: 1.738 MB / 0.5062 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.4565, allocations: 4 kB / 0.5062 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.4569, allocations: 103.8 kB / 0.5063 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002879/0.4598, allocations: 357 kB / 0.5066 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.4599, allocations: 15.98 kB / 0.5066 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006085/0.4605, allocations: 1.148 MB / 0.5078 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4605, allocations: 0 / 0.5078 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.4619, allocations: 1.131 MB / 0.5089 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.462, allocations: 140.3 kB / 0.509 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.4621, allocations: 16 kB / 0.509 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4624, allocations: 23.92 kB / 0.509 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.4624, allocations: 32.52 kB / 0.5091 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.4625, allocations: 31.98 kB / 0.5091 GB, free: 5.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.4627, allocations: 243 kB / 0.5093 GB, free: 5.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4627, allocations: 0 / 0.5093 GB, free: 5.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004919/0.4677, allocations: 0.9605 MB / 0.5103 GB, free: 4.312 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.04234/0.51, allocations: 7.853 MB / 0.5179 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.5115, allocations: 0.7039 MB / 0.5186 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5115, allocations: 0 / 0.5186 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.5122, allocations: 363.5 kB / 0.519 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.5136, allocations: 261.1 kB / 0.5192 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.5159, allocations: 1.614 MB / 0.5208 GB, free: 9.469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.5163, allocations: 0.8689 MB / 0.5216 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.5169, allocations: 244 kB / 0.5219 GB, free: 8.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.517, allocations: 51.42 kB / 0.5219 GB, free: 8.281 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.517, allocations: 0 / 0.5219 GB, free: 8.281 MB / 446.1 MB Notification: Performance of Templates: time 0.2007/0.7177, allocations: 34.99 MB / 0.5561 GB, free: 132.4 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