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.001157/0.001157, allocations: 103.2 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.001228/0.001228, 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.214/1.214, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 61.28 kB / 306.3 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08207/0.08338, allocations: 50.53 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1624/0.2459, allocations: 37.34 MB / 394.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02817/0.2741, allocations: 31.63 MB / 425.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.2745, allocations: 7.938 kB / 425.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009717/0.2756, allocations: 346.3 kB / 426.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009952/0.2766, allocations: 0.5052 MB / 426.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.2874, allocations: 4.163 MB / 430.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.2892, allocations: 2.038 MB / 432.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.2894, allocations: 127.2 kB / 433 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.29, allocations: 466.2 kB / 433.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.2905, allocations: 458.2 kB / 433.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.2906, allocations: 28 kB / 434 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04631/0.3369, allocations: 35.31 MB / 469.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.3372, allocations: 139.5 kB / 469.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.3376, allocations: 286.9 kB / 469.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06372/0.4013, allocations: 26.17 MB / 495.8 MB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4014, allocations: 3.938 kB / 495.8 MB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4014, allocations: 0 / 495.8 MB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.4014, allocations: 4 kB / 495.9 MB, free: 15.26 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.0067/0.4081, allocations: 1.416 MB / 497.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4082, allocations: 8.031 kB / 497.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.4083, allocations: 90.52 kB / 497.4 MB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/0.409, allocations: 95.3 kB / 497.5 MB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.4095, allocations: 378 kB / 497.8 MB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.4096, allocations: 37 kB / 497.9 MB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.4097, allocations: 48 kB / 497.9 MB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4108, allocations: 0.6205 MB / 498.5 MB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.4109, allocations: 4 kB / 498.5 MB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.4109, allocations: 16 kB / 498.5 MB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.4109, allocations: 15.94 kB / 498.6 MB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009513/0.4119, allocations: 0.5307 MB / 499.1 MB, free: 11.87 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.003628/0.4155, allocations: 3.799 MB / 0.4911 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.4164, allocations: 415.8 kB / 0.4915 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.4166, allocations: 213.5 kB / 0.4917 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002613/0.4193, allocations: 3.451 MB / 0.4951 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4193, allocations: 38.94 kB / 0.4951 GB, free: 2.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/0.4193, allocations: 0 / 0.4951 GB, free: 2.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.008543/0.4279, allocations: 2.032 MB / 0.4971 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.4279, allocations: 55.84 kB / 0.4972 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4282, allocations: 316.4 kB / 0.4975 GB, free: 460 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.4282, allocations: 37.7 kB / 0.4975 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4283, allocations: 228.5 kB / 0.4977 GB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.4285, allocations: 189.4 kB / 0.4979 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.4286, allocations: 118.2 kB / 0.498 GB, free: 15.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4287, allocations: 354.8 kB / 0.4983 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.429, allocations: 181.2 kB / 0.4985 GB, free: 15.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.4294, allocations: 328.1 kB / 0.4988 GB, free: 14.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.4301, allocations: 0.5446 MB / 0.4994 GB, free: 14.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4301, allocations: 4 kB / 0.4994 GB, free: 14.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001117/0.4312, allocations: 0.6815 MB / 0.5 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4312, allocations: 4 kB / 0.5 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4312, allocations: 4 kB / 0.5 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008985/0.4402, allocations: 446.2 kB / 0.5005 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.4407, allocations: 139.8 kB / 0.5006 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.4424, allocations: 2.994 MB / 0.5035 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.4427, allocations: 48.09 kB / 0.5036 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.4428, allocations: 32 kB / 0.5036 GB, free: 9.766 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.0001973/0.443, allocations: 201 kB / 0.5038 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.4431, allocations: 39.53 kB / 0.5038 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.4445, allocations: 1.057 MB / 0.5049 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4445, allocations: 15.92 kB / 0.5049 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4445, allocations: 4.062 kB / 0.5049 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/0.4456, allocations: 1.091 MB / 0.5059 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.4474, allocations: 1.742 MB / 0.5076 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4475, allocations: 0 / 0.5076 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.4478, allocations: 103.8 kB / 0.5077 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.4509, allocations: 345 kB / 0.5081 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.4509, allocations: 16 kB / 0.5081 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005712/0.4515, allocations: 1.144 MB / 0.5092 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4515, allocations: 0 / 0.5092 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.4528, allocations: 1.128 MB / 0.5103 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.4529, allocations: 128.5 kB / 0.5104 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.453, allocations: 16 kB / 0.5104 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.4533, allocations: 31.83 kB / 0.5105 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.4533, allocations: 40.45 kB / 0.5105 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.4534, allocations: 23.98 kB / 0.5105 GB, free: 2.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.4536, allocations: 243 kB / 0.5108 GB, free: 2.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4536, allocations: 4 kB / 0.5108 GB, free: 2.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004752/0.4584, allocations: 0.9643 MB / 0.5117 GB, free: 1.203 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.03779/0.4962, allocations: 9.448 MB / 0.5209 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.4976, allocations: 0.7124 MB / 0.5216 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4976, allocations: 7.938 kB / 0.5216 GB, free: 6.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.4982, allocations: 359.5 kB / 0.522 GB, free: 6.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.4995, allocations: 252.3 kB / 0.5222 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008821/0.5083, allocations: 5.609 MB / 0.5277 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1212/0.6295, allocations: 0.8615 MB / 0.5285 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006032/0.6301, allocations: 237 kB / 0.5288 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.6303, allocations: 201.7 kB / 0.529 GB, free: 143.2 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.6303, allocations: 0.9688 kB / 0.529 GB, free: 143.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.781/1.411, allocations: 41.39 MB / 0.5694 GB, free: 118.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.412, allocations: 215.7 kB / 0.5696 GB, free: 118.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.656/6.068, allocations: 3.938 kB / 0.5696 GB, free: 118.2 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