Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 115.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 214.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 227.7 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 59.91 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2429, allocations: 50.54 MB / 410.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04099/0.2838, allocations: 37.8 MB / 448 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03548/0.3193, allocations: 30.69 MB / 478.7 MB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.3198, allocations: 4 kB / 478.7 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.3209, allocations: 433.6 kB / 479.1 MB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.322, allocations: 0.5399 MB / 479.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01337/0.3354, allocations: 5.241 MB / 484.9 MB, free: 6.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.3372, allocations: 1.363 MB / 486.3 MB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.3375, allocations: 122.7 kB / 486.4 MB, free: 4.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007642/0.3382, allocations: 0.5333 MB / 486.9 MB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.3388, allocations: 442.2 kB / 487.4 MB, free: 4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/0.3388, allocations: 52 kB / 487.4 MB, free: 3.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/0.3615, allocations: 12.81 MB / 0.4885 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.3618, allocations: 151.5 kB / 0.4887 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006467/0.3625, allocations: 326.7 kB / 0.489 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03453/0.397, allocations: 14.94 MB / 0.5036 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.397, allocations: 0 / 0.5036 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.397, allocations: 0 / 0.5036 GB, free: 7.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.3971, allocations: 0 / 0.5036 GB, free: 7.68 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.0081/0.4052, allocations: 1.475 MB / 0.505 GB, free: 6.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4052, allocations: 8.031 kB / 0.505 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.4059, allocations: 107.6 kB / 0.5051 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.4065, allocations: 378.2 kB / 0.5055 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.4066, allocations: 37 kB / 0.5055 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/0.4066, allocations: 48 kB / 0.5056 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4078, allocations: 0.6127 MB / 0.5062 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.4079, allocations: 7.953 kB / 0.5062 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.4079, allocations: 20 kB / 0.5062 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.4079, allocations: 19.98 kB / 0.5062 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.409, allocations: 0.5306 MB / 0.5067 GB, free: 4.301 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.004633/0.4136, allocations: 3.797 MB / 0.5104 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.4146, allocations: 395.8 kB / 0.5108 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.4149, allocations: 197.5 kB / 0.511 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003705/0.4186, allocations: 3.459 MB / 0.5144 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4187, allocations: 38.88 kB / 0.5144 GB, free: 11.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.434e-06/0.4187, allocations: 4 kB / 0.5144 GB, free: 11.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01012/0.4288, allocations: 2.03 MB / 0.5164 GB, free: 9.289 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.4288, allocations: 63.78 kB / 0.5165 GB, free: 9.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.4292, allocations: 304.5 kB / 0.5167 GB, free: 8.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.4292, allocations: 37.7 kB / 0.5168 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4294, allocations: 245.1 kB / 0.517 GB, free: 8.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.4296, allocations: 194.3 kB / 0.5172 GB, free: 8.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.4298, allocations: 118.3 kB / 0.5173 GB, free: 8.316 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.43, allocations: 350.8 kB / 0.5176 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.4303, allocations: 177.2 kB / 0.5178 GB, free: 7.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.4308, allocations: 332 kB / 0.5181 GB, free: 7.406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008869/0.4317, allocations: 0.5446 MB / 0.5187 GB, free: 6.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4317, allocations: 4 kB / 0.5187 GB, free: 6.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001445/0.4331, allocations: 0.6778 MB / 0.5193 GB, free: 6.102 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4332, allocations: 11.94 kB / 0.5193 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4332, allocations: 4 kB / 0.5193 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009683/0.4429, allocations: 446.3 kB / 0.5198 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.4435, allocations: 143.8 kB / 0.5199 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.446, allocations: 3.101 MB / 0.5229 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.4464, allocations: 19.94 kB / 0.523 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.4464, allocations: 28 kB / 0.523 GB, free: 2.137 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.0002879/0.4467, allocations: 193.6 kB / 0.5232 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4468, allocations: 47.66 kB / 0.5232 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.4485, allocations: 1.06 MB / 0.5242 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.4485, allocations: 12 kB / 0.5243 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4485, allocations: 0 / 0.5243 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/0.4499, allocations: 1.083 MB / 0.5253 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.4522, allocations: 1.722 MB / 0.527 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4522, allocations: 4 kB / 0.527 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.4526, allocations: 107.8 kB / 0.5271 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003107/0.4557, allocations: 349.1 kB / 0.5274 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.4558, allocations: 16 kB / 0.5275 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008231/0.4566, allocations: 1.148 MB / 0.5286 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4566, allocations: 0 / 0.5286 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.4582, allocations: 1.121 MB / 0.5297 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.4583, allocations: 132.8 kB / 0.5298 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.4584, allocations: 15.94 kB / 0.5298 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.4587, allocations: 20 kB / 0.5298 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.4587, allocations: 40.55 kB / 0.5299 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.4588, allocations: 19.98 kB / 0.5299 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.4591, allocations: 247 kB / 0.5301 GB, free: 10.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4591, allocations: 0 / 0.5301 GB, free: 10.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005156/0.4642, allocations: 0.9819 MB / 0.5311 GB, free: 9.574 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.02937/0.4936, allocations: 7.884 MB / 0.5388 GB, free: 1.664 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.4952, allocations: 0.6889 MB / 0.5395 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4952, allocations: 0 / 0.5395 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006228/0.4959, allocations: 351.5 kB / 0.5398 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.4973, allocations: 256.9 kB / 0.54 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1751/0.6724, allocations: 1.334 MB / 0.5413 GB, free: 120.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.6728, allocations: 0.8692 MB / 0.5422 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006841/0.6735, allocations: 245.7 kB / 0.5424 GB, free: 119.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.6736, allocations: 49 kB / 0.5425 GB, free: 119.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6736, allocations: 0.8125 kB / 0.5425 GB, free: 119.7 MB / 462.1 MB Notification: Performance of Templates: time 0.03794/0.7115, allocations: 36.29 MB / 0.5779 GB, free: 91.8 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches