Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 210.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 51.92 kB / 377.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2399, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03904/0.2789, allocations: 34.8 MB / 465.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03382/0.3127, allocations: 27.17 MB / 493.1 MB, free: 8.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.3132, allocations: 11.94 kB / 493.1 MB, free: 8.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3143, allocations: 361.9 kB / 493.4 MB, free: 8.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.3154, allocations: 0.5478 MB / 494 MB, free: 7.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01342/0.3288, allocations: 5.266 MB / 499.2 MB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.3306, allocations: 1.375 MB / 0.4889 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.3309, allocations: 126.9 kB / 0.489 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/0.3317, allocations: 0.5488 MB / 0.4895 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.3323, allocations: 470.2 kB / 0.49 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.3324, allocations: 52 kB / 0.49 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02342/0.3558, allocations: 12.72 MB / 0.5025 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.3561, allocations: 159.4 kB / 0.5026 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.3565, allocations: 279 kB / 0.5029 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03956/0.3961, allocations: 14.94 MB / 0.5175 GB, free: 3.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.3961, allocations: 0 / 0.5175 GB, free: 3.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3961, allocations: 0 / 0.5175 GB, free: 3.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3961, allocations: 0 / 0.5175 GB, free: 3.551 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.006393/0.4025, allocations: 1.396 MB / 0.5188 GB, free: 2.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4025, allocations: 8.031 kB / 0.5188 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.4026, allocations: 90.53 kB / 0.5189 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007744/0.4034, allocations: 99.56 kB / 0.519 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005915/0.404, allocations: 328.2 kB / 0.5193 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.404, allocations: 40.94 kB / 0.5194 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/0.4041, allocations: 48 kB / 0.5194 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.4054, allocations: 0.8252 MB / 0.5202 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.4054, allocations: 11.95 kB / 0.5202 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.4055, allocations: 16 kB / 0.5203 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.4055, allocations: 12 kB / 0.5203 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.4065, allocations: 0.5308 MB / 0.5208 GB, free: 15.99 MB / 446.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.004132/0.4107, allocations: 2.797 MB / 0.5235 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/0.4116, allocations: 386.6 kB / 0.5239 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.4119, allocations: 197.5 kB / 0.5241 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/0.4138, allocations: 0.6246 MB / 0.5247 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4138, allocations: 38.94 kB / 0.5247 GB, free: 11.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.743e-06/0.4138, allocations: 0 / 0.5247 GB, free: 11.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009904/0.4237, allocations: 1.89 MB / 0.5266 GB, free: 9.922 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.4238, allocations: 59.78 kB / 0.5266 GB, free: 9.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.4241, allocations: 312.4 kB / 0.5269 GB, free: 9.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.4242, allocations: 37.7 kB / 0.527 GB, free: 9.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.4244, allocations: 241.1 kB / 0.5272 GB, free: 9.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.4245, allocations: 198.3 kB / 0.5274 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.4247, allocations: 122.3 kB / 0.5275 GB, free: 8.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4249, allocations: 358.7 kB / 0.5278 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.4252, allocations: 177.2 kB / 0.528 GB, free: 8.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.4256, allocations: 332 kB / 0.5283 GB, free: 8.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.4265, allocations: 0.5446 MB / 0.5288 GB, free: 7.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4265, allocations: 0 / 0.5288 GB, free: 7.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001409/0.4279, allocations: 0.6742 MB / 0.5295 GB, free: 6.719 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4279, allocations: 11.94 kB / 0.5295 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.4279, allocations: 8.031 kB / 0.5295 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/0.4395, allocations: 470 kB / 0.53 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.44, allocations: 147.8 kB / 0.5301 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/0.4425, allocations: 2.986 MB / 0.533 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.4428, allocations: 12 kB / 0.533 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.4428, allocations: 35.98 kB / 0.5331 GB, free: 2.867 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.0002628/0.4431, allocations: 189.9 kB / 0.5333 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.4433, allocations: 43.77 kB / 0.5333 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.445, allocations: 1.067 MB / 0.5343 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.445, allocations: 11.98 kB / 0.5344 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.445, allocations: 3.938 kB / 0.5344 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/0.4463, allocations: 1.118 MB / 0.5354 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1946/0.641, allocations: 1.647 MB / 0.5371 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.641, allocations: 3.75 kB / 0.5371 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.6414, allocations: 99.31 kB / 0.5372 GB, free: 97.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/0.6441, allocations: 358.2 kB / 0.5375 GB, free: 97.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.6442, allocations: 17.45 kB / 0.5375 GB, free: 97.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004501/0.6446, allocations: 1.151 MB / 0.5386 GB, free: 96.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6446, allocations: 1.25 kB / 0.5386 GB, free: 96.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.646, allocations: 1.149 MB / 0.5398 GB, free: 95.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.6461, allocations: 46.34 kB / 0.5398 GB, free: 95.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.6462, allocations: 22.95 kB / 0.5398 GB, free: 95.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.6464, allocations: 14.78 kB / 0.5398 GB, free: 95.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.6465, allocations: 36.86 kB / 0.5399 GB, free: 95.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.6466, allocations: 21.84 kB / 0.5399 GB, free: 95.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.6468, allocations: 251.2 kB / 0.5401 GB, free: 95.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6468, allocations: 0 / 0.5401 GB, free: 95.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004666/0.6515, allocations: 0.9756 MB / 0.5411 GB, free: 95.73 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.0274/0.6789, allocations: 9.489 MB / 0.5504 GB, free: 89.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.6803, allocations: 0.6933 MB / 0.551 GB, free: 89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6803, allocations: 0 / 0.551 GB, free: 89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.6809, allocations: 357.8 kB / 0.5514 GB, free: 88.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6822, allocations: 254.6 kB / 0.5516 GB, free: 88.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00833/0.6905, allocations: 5.354 MB / 0.5568 GB, free: 83.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.6907, allocations: 271.5 kB / 0.5571 GB, free: 83.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004562/0.6911, allocations: 231.2 kB / 0.5573 GB, free: 83.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.6913, allocations: 202 kB / 0.5575 GB, free: 82.95 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.6913, allocations: 0 / 0.5575 GB, free: 82.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08913/0.7804, allocations: 43.93 MB / 0.6004 GB, free: 39.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.37, allocations: 10.38 kB / 0.6004 GB, free: 39.87 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.csv","/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_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.44853074598359]