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.001227/0.001227, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 64.14 kB / 306.6 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08127/0.08261, allocations: 50.52 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1618/0.2445, allocations: 37.44 MB / 394.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0291/0.2736, allocations: 30.52 MB / 425 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.2741, allocations: 7.75 kB / 425 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.275, allocations: 366.5 kB / 425.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.2761, allocations: 497.9 kB / 425.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.2865, allocations: 4.528 MB / 430.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.2879, allocations: 1.359 MB / 431.8 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.2881, allocations: 170.7 kB / 431.9 MB, free: 100 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007781/0.2889, allocations: 0.5333 MB / 432.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.2894, allocations: 458.2 kB / 432.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.325e-05/0.2895, allocations: 52 kB / 433 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04069/0.3302, allocations: 38.73 MB / 471.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.3304, allocations: 155.5 kB / 471.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.3307, allocations: 322.8 kB / 472.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04638/0.3771, allocations: 26.18 MB / 498.4 MB, free: 13.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3771, allocations: 0 / 498.4 MB, free: 13.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3771, allocations: 3.938 kB / 498.4 MB, free: 13.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.3772, allocations: 0 / 498.4 MB, free: 13.43 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.006347/0.3835, allocations: 1.427 MB / 499.8 MB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3836, allocations: 12.03 kB / 499.8 MB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.513e-05/0.3836, allocations: 90.52 kB / 499.9 MB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000588/0.3842, allocations: 87.39 kB / 500 MB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.3846, allocations: 382 kB / 0.4886 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3847, allocations: 33 kB / 0.4886 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.3847, allocations: 44 kB / 0.4887 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3858, allocations: 0.6282 MB / 0.4893 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3858, allocations: 0 / 0.4893 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.3858, allocations: 27.94 kB / 0.4893 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3859, allocations: 12 kB / 0.4893 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008849/0.3868, allocations: 0.5268 MB / 0.4899 GB, free: 10.03 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.003403/0.3902, allocations: 3.799 MB / 0.4936 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.391, allocations: 411.7 kB / 0.494 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.3912, allocations: 209.5 kB / 0.4942 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002697/0.3939, allocations: 3.459 MB / 0.4975 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.394, allocations: 34.94 kB / 0.4976 GB, free: 1.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.462e-06/0.394, allocations: 0 / 0.4976 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.008436/0.4024, allocations: 2.03 MB / 0.4995 GB, free: 14.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4025, allocations: 59.84 kB / 0.4996 GB, free: 14.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.4027, allocations: 304.4 kB / 0.4999 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.4028, allocations: 37.7 kB / 0.4999 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.4029, allocations: 232.6 kB / 0.5002 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.403, allocations: 189.3 kB / 0.5003 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.4032, allocations: 122.2 kB / 0.5005 GB, free: 14.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4033, allocations: 350.8 kB / 0.5008 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.4036, allocations: 181.2 kB / 0.501 GB, free: 13.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.4039, allocations: 324.1 kB / 0.5013 GB, free: 13.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.4046, allocations: 0.5493 MB / 0.5018 GB, free: 12.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4046, allocations: 3.938 kB / 0.5018 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001095/0.4057, allocations: 0.6832 MB / 0.5025 GB, free: 11.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4058, allocations: 8 kB / 0.5025 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4058, allocations: 6.188 kB / 0.5025 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009048/0.4148, allocations: 450.1 kB / 0.5029 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.4153, allocations: 143.8 kB / 0.5031 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.4172, allocations: 3.097 MB / 0.5061 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.4175, allocations: 47.86 kB / 0.5061 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.4176, allocations: 35.98 kB / 0.5062 GB, free: 7.816 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.0002009/0.4178, allocations: 186.5 kB / 0.5063 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.4179, allocations: 47.47 kB / 0.5064 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.4193, allocations: 1.052 MB / 0.5074 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.4193, allocations: 11.98 kB / 0.5074 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4193, allocations: 4 kB / 0.5074 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.4204, allocations: 1.083 MB / 0.5085 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.4224, allocations: 1.738 MB / 0.5102 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4224, allocations: 0 / 0.5102 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.4227, allocations: 99.83 kB / 0.5103 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/0.4258, allocations: 353 kB / 0.5106 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.4259, allocations: 19.98 kB / 0.5106 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005988/0.4265, allocations: 1.144 MB / 0.5117 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/0.4265, allocations: 11.95 kB / 0.5118 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.4278, allocations: 1.123 MB / 0.5129 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.4279, allocations: 116.5 kB / 0.513 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.428, allocations: 23.91 kB / 0.513 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.4283, allocations: 36 kB / 0.513 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.4284, allocations: 36.5 kB / 0.5131 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.4284, allocations: 20 kB / 0.5131 GB, free: 484 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.4286, allocations: 243 kB / 0.5133 GB, free: 244 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4286, allocations: 0 / 0.5133 GB, free: 244 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.004583/0.4332, allocations: 0.9722 MB / 0.5143 GB, free: 15.27 MB / 446.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.03996/0.4732, allocations: 9.441 MB / 0.5235 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.475, allocations: 0.739 MB / 0.5242 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.475, allocations: 0 / 0.5242 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.4756, allocations: 367.5 kB / 0.5246 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.477, allocations: 263.5 kB / 0.5248 GB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1384/0.6154, allocations: 5.6 MB / 0.5303 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.6157, allocations: 0.8638 MB / 0.5311 GB, free: 141.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006059/0.6164, allocations: 240.1 kB / 0.5313 GB, free: 141.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.6166, allocations: 201.9 kB / 0.5315 GB, free: 141.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6166, allocations: 0.875 kB / 0.5315 GB, free: 141.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.936/2.553, allocations: 41.91 MB / 0.5725 GB, free: 115.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/2.553, allocations: 215 kB / 0.5727 GB, free: 115.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.511/7.064, allocations: 0 / 0.5727 GB, free: 115.4 MB / 446.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