Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007138/0.0007138, allocations: 96.27 kB / 17.3 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007343/0.0007342, allocations: 177 kB / 18.2 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.138/1.138, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 12 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.07415, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02956/0.1038, allocations: 36.51 MB / 365.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1773/0.2811, allocations: 31.07 MB / 396.6 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.2818, allocations: 8.156 kB / 396.6 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009968/0.2828, allocations: 345.8 kB / 397 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.2838, allocations: 0.5043 MB / 397.5 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.2963, allocations: 4.145 MB / 401.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.2982, allocations: 2.035 MB / 403.7 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.2984, allocations: 125.5 kB / 403.8 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006709/0.2991, allocations: 462.7 kB / 404.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.2996, allocations: 448.1 kB / 404.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.2996, allocations: 24.72 kB / 404.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04163/0.3413, allocations: 35.3 MB / 440 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.3416, allocations: 123.6 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.3422, allocations: 320.6 kB / 440.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05431/0.3965, allocations: 26.12 MB / 466.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3965, allocations: 0 / 466.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3966, allocations: 0 / 466.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3966, allocations: 0 / 466.6 MB, free: 4.688 MB / 366.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.007486/0.4041, allocations: 1.311 MB / 467.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4041, allocations: 8.031 kB / 467.9 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.344e-05/0.4042, allocations: 90.03 kB / 468 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.4049, allocations: 95.3 kB / 468.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.4054, allocations: 382.7 kB / 468.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.4054, allocations: 36.69 kB / 468.5 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.4055, allocations: 43.38 kB / 468.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.4065, allocations: 0.6295 MB / 469.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.4066, allocations: 4 kB / 469.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/0.4066, allocations: 23.98 kB / 469.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4067, allocations: 15.94 kB / 469.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009052/0.4076, allocations: 0.5223 MB / 469.7 MB, free: 1.812 MB / 366.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.003757/0.4113, allocations: 3.818 MB / 473.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.4122, allocations: 410.6 kB / 473.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.4125, allocations: 213.3 kB / 474.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003332/0.4158, allocations: 3.549 MB / 477.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4159, allocations: 38.94 kB / 477.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.893e-06/0.4159, allocations: 0 / 477.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008724/0.4246, allocations: 2.048 MB / 479.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.4246, allocations: 59.84 kB / 479.8 MB, free: 6.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.425, allocations: 304.4 kB / 480.1 MB, free: 6.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.425, allocations: 37.7 kB / 480.2 MB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.4251, allocations: 236.5 kB / 480.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.4253, allocations: 186 kB / 480.6 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.4254, allocations: 57.69 kB / 480.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4255, allocations: 350.8 kB / 481 MB, free: 5.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.4258, allocations: 181.2 kB / 481.1 MB, free: 5.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.4262, allocations: 337.7 kB / 481.5 MB, free: 4.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.4269, allocations: 0.5407 MB / 482 MB, free: 4.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4269, allocations: 0 / 482 MB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001151/0.4281, allocations: 0.6764 MB / 482.7 MB, free: 3.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4281, allocations: 8.562 kB / 482.7 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4281, allocations: 11.98 kB / 482.7 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008669/0.4368, allocations: 446 kB / 483.1 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.4373, allocations: 143.8 kB / 483.3 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.4392, allocations: 3.002 MB / 486.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.4395, allocations: 44.11 kB / 486.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.4396, allocations: 35.98 kB / 486.4 MB, free: 15.69 MB / 398.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.0002219/0.4398, allocations: 189.7 kB / 486.6 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.4399, allocations: 39.53 kB / 486.6 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.4413, allocations: 1.061 MB / 487.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.4414, allocations: 15.92 kB / 487.7 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4414, allocations: 0 / 487.7 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/0.4425, allocations: 1.087 MB / 488.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.4445, allocations: 1.735 MB / 490.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.4445, allocations: 3.984 kB / 490.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.4449, allocations: 95.89 kB / 490.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/0.448, allocations: 357 kB / 490.9 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.448, allocations: 23.98 kB / 491 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006556/0.4487, allocations: 1.136 MB / 492.1 MB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4487, allocations: 4.031 kB / 492.1 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.45, allocations: 1.131 MB / 493.2 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4502, allocations: 144.3 kB / 493.4 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.4502, allocations: 8 kB / 493.4 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.4505, allocations: 35.92 kB / 493.4 MB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.4506, allocations: 32.52 kB / 493.4 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.4506, allocations: 19.98 kB / 493.5 MB, free: 8.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002379/0.4509, allocations: 251 kB / 493.7 MB, free: 8.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4509, allocations: 3.938 kB / 493.7 MB, free: 8.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004934/0.4558, allocations: 0.9565 MB / 494.7 MB, free: 7.137 MB / 398.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.04327/0.4991, allocations: 9.428 MB / 0.4923 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.5007, allocations: 0.706 MB / 0.493 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5007, allocations: 3.938 kB / 0.493 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000632/0.5013, allocations: 367.5 kB / 0.4933 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.5029, allocations: 257 kB / 0.4936 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.5131, allocations: 5.726 MB / 0.4992 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.5136, allocations: 0.8648 MB / 0.5 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005642/0.5141, allocations: 236.1 kB / 0.5002 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.5144, allocations: 199.4 kB / 0.5004 GB, free: 5.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.853e-06/0.5144, allocations: 0 / 0.5004 GB, free: 5.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2079/0.7223, allocations: 41.16 MB / 0.5406 GB, free: 163.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.7225, allocations: 211 kB / 0.5408 GB, free: 163.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.38/4.102, allocations: 8.062 kB / 0.5408 GB, free: 163.2 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches