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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 59.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2402, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03994/0.2802, allocations: 37.74 MB / 446.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03144/0.3117, allocations: 30.63 MB / 477.1 MB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.3123, allocations: 7.938 kB / 477.1 MB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.3134, allocations: 409.7 kB / 477.5 MB, free: 12.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.3147, allocations: 0.5166 MB / 478.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.3278, allocations: 5.151 MB / 483.2 MB, free: 6.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.3295, allocations: 1.352 MB / 484.6 MB, free: 5.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.3298, allocations: 170.7 kB / 484.7 MB, free: 5.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000705/0.3305, allocations: 0.5371 MB / 485.3 MB, free: 4.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.331, allocations: 430.3 kB / 485.7 MB, free: 4.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.331, allocations: 56 kB / 485.7 MB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0212/0.3522, allocations: 12.81 MB / 498.6 MB, free: 7.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.3526, allocations: 155.5 kB / 498.7 MB, free: 7.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.3531, allocations: 322.8 kB / 499 MB, free: 6.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03149/0.3846, allocations: 14.92 MB / 0.5019 GB, free: 8.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3846, allocations: 0 / 0.5019 GB, free: 8.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3846, allocations: 3.938 kB / 0.5019 GB, free: 8.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.3847, allocations: 3.938 kB / 0.5019 GB, free: 8.051 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.007694/0.3924, allocations: 1.416 MB / 0.5033 GB, free: 6.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3924, allocations: 8.031 kB / 0.5033 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.3925, allocations: 94.52 kB / 0.5034 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.3933, allocations: 99.23 kB / 0.5035 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.3939, allocations: 385.9 kB / 0.5038 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3939, allocations: 33 kB / 0.5039 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.394, allocations: 44 kB / 0.5039 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.3951, allocations: 0.6205 MB / 0.5045 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.3951, allocations: 11.94 kB / 0.5045 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.3952, allocations: 16 kB / 0.5045 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3952, allocations: 12 kB / 0.5046 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.3962, allocations: 0.5385 MB / 0.5051 GB, free: 4.637 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.004109/0.4003, allocations: 3.807 MB / 0.5088 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000933/0.4013, allocations: 408.7 kB / 0.5092 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.4016, allocations: 204.7 kB / 0.5094 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00305/0.4047, allocations: 3.466 MB / 0.5128 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4047, allocations: 38.88 kB / 0.5128 GB, free: 11.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/0.4047, allocations: 0 / 0.5128 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009439/0.4142, allocations: 2.025 MB / 0.5148 GB, free: 9.598 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4142, allocations: 63.72 kB / 0.5149 GB, free: 9.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.4146, allocations: 312.5 kB / 0.5151 GB, free: 9.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.4146, allocations: 33.7 kB / 0.5152 GB, free: 9.176 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.4148, allocations: 236.6 kB / 0.5154 GB, free: 8.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.4149, allocations: 189.2 kB / 0.5156 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.4151, allocations: 118.2 kB / 0.5157 GB, free: 8.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4152, allocations: 350.8 kB / 0.516 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.4155, allocations: 177.2 kB / 0.5162 GB, free: 8.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.4159, allocations: 328.1 kB / 0.5165 GB, free: 7.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007769/0.4167, allocations: 0.5484 MB / 0.5171 GB, free: 7.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4167, allocations: 4 kB / 0.5171 GB, free: 7.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001252/0.418, allocations: 0.6657 MB / 0.5177 GB, free: 6.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.418, allocations: 11.94 kB / 0.5177 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.418, allocations: 7.984 kB / 0.5177 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/0.4284, allocations: 450.6 kB / 0.5182 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.4291, allocations: 139.8 kB / 0.5183 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.4314, allocations: 3.101 MB / 0.5213 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.4318, allocations: 16.06 kB / 0.5213 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/0.4319, allocations: 35.98 kB / 0.5214 GB, free: 2.457 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.0003268/0.4322, allocations: 193.2 kB / 0.5215 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.4323, allocations: 43.53 kB / 0.5216 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.4339, allocations: 1.048 MB / 0.5226 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4339, allocations: 11.98 kB / 0.5226 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4339, allocations: 3.938 kB / 0.5226 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/0.4351, allocations: 1.095 MB / 0.5237 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.4374, allocations: 1.729 MB / 0.5254 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.4374, allocations: 3.938 kB / 0.5254 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.4378, allocations: 103.9 kB / 0.5255 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.4411, allocations: 341.1 kB / 0.5258 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.4411, allocations: 15.98 kB / 0.5258 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006419/0.4418, allocations: 1.148 MB / 0.527 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4418, allocations: 0 / 0.527 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.4433, allocations: 1.128 MB / 0.5281 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.4434, allocations: 124.6 kB / 0.5282 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.4435, allocations: 24.03 kB / 0.5282 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.4437, allocations: 12 kB / 0.5282 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.4438, allocations: 36.55 kB / 0.5282 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.4438, allocations: 16 kB / 0.5283 GB, free: 11.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.4441, allocations: 255 kB / 0.5285 GB, free: 10.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4441, allocations: 0 / 0.5285 GB, free: 10.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005359/0.4495, allocations: 0.9644 MB / 0.5294 GB, free: 9.926 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.03035/0.4798, allocations: 9.434 MB / 0.5387 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1849/0.6647, allocations: 0.7183 MB / 0.5394 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6648, allocations: 0.5 kB / 0.5394 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008041/0.6656, allocations: 370.2 kB / 0.5397 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.667, allocations: 257.7 kB / 0.54 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.6771, allocations: 5.311 MB / 0.5451 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.6774, allocations: 0.8634 MB / 0.546 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000592/0.678, allocations: 241.6 kB / 0.5462 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.6783, allocations: 201.7 kB / 0.5464 GB, free: 117.8 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6783, allocations: 0 / 0.5464 GB, free: 117.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/0.7421, allocations: 42.5 MB / 0.5879 GB, free: 80.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.4, allocations: 3.062 kB / 0.5879 GB, free: 80.63 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > 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