Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.92 kB / 370.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.272, allocations: 52.17 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02909/0.3011, allocations: 24.62 MB / 447.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02697/0.3281, allocations: 22.06 MB / 469.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.3284, allocations: 4 kB / 469.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008563/0.3293, allocations: 270.5 kB / 469.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000839/0.3301, allocations: 381.8 kB / 469.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01127/0.3414, allocations: 4.104 MB / 474 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.3427, allocations: 0.9619 MB / 475 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.3429, allocations: 77.23 kB / 475 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006136/0.3435, allocations: 394.6 kB / 475.4 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.3439, allocations: 298.8 kB / 475.7 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.344, allocations: 36 kB / 475.7 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01891/0.3629, allocations: 10.13 MB / 485.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.3631, allocations: 123.6 kB / 486 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.3635, allocations: 195.3 kB / 486.2 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0316/0.3951, allocations: 11.49 MB / 497.7 MB, free: 3.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3951, allocations: 3.984 kB / 497.7 MB, free: 3.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3951, allocations: 0 / 497.7 MB, free: 3.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.3951, allocations: 0 / 497.7 MB, free: 3.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005856/0.4009, allocations: 1.097 MB / 498.8 MB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.401, allocations: 8.031 kB / 498.8 MB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.379e-05/0.4011, allocations: 70.53 kB / 498.9 MB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.4016, allocations: 71.73 kB / 498.9 MB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.4021, allocations: 264.6 kB / 499.2 MB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.4022, allocations: 24.66 kB / 499.2 MB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.4022, allocations: 35.94 kB / 499.3 MB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4032, allocations: 0.6074 MB / 499.9 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4033, allocations: 4 kB / 499.9 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.4033, allocations: 12 kB / 499.9 MB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4033, allocations: 8 kB / 499.9 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.4041, allocations: 390.3 kB / 0.4885 GB, free: 360 kB / 398.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.003594/0.4077, allocations: 2.234 MB / 0.4907 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.4084, allocations: 281.4 kB / 0.491 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.4086, allocations: 124.8 kB / 0.4911 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.41, allocations: 467.4 kB / 0.4916 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.4101, allocations: 38.56 kB / 0.4916 GB, free: 13.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.4101, allocations: 0 / 0.4916 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005086/0.4152, allocations: 1.148 MB / 0.4927 GB, free: 11.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.4152, allocations: 55.41 kB / 0.4928 GB, free: 11.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.4155, allocations: 265.8 kB / 0.493 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.4156, allocations: 41.64 kB / 0.4931 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4157, allocations: 200.4 kB / 0.4932 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4158, allocations: 122.9 kB / 0.4934 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4159, allocations: 82.08 kB / 0.4934 GB, free: 11.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4161, allocations: 338.8 kB / 0.4938 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.4163, allocations: 116.8 kB / 0.4939 GB, free: 10.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.4166, allocations: 225.6 kB / 0.4941 GB, free: 10.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.4172, allocations: 378 kB / 0.4945 GB, free: 10.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4172, allocations: 0 / 0.4945 GB, free: 10.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008684/0.4181, allocations: 458.7 kB / 0.4949 GB, free: 9.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4181, allocations: 8 kB / 0.4949 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4181, allocations: 4 kB / 0.4949 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004348/0.4225, allocations: 233.9 kB / 0.4951 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.4228, allocations: 91.83 kB / 0.4952 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.4244, allocations: 1.831 MB / 0.497 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.4247, allocations: 16 kB / 0.497 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.4247, allocations: 16 kB / 0.497 GB, free: 7.211 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0002173/0.4249, allocations: 169.3 kB / 0.4972 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.425, allocations: 35.75 kB / 0.4972 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.4261, allocations: 0.7163 MB / 0.4979 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4261, allocations: 7.984 kB / 0.4979 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.4261, allocations: 0 / 0.4979 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009302/0.4271, allocations: 0.8791 MB / 0.4988 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.4286, allocations: 1.139 MB / 0.4999 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.4286, allocations: 4 kB / 0.4999 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.4289, allocations: 67.91 kB / 0.5 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/0.4304, allocations: 180.5 kB / 0.5001 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.4304, allocations: 12 kB / 0.5002 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004211/0.4309, allocations: 0.5797 MB / 0.5007 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4309, allocations: 3.938 kB / 0.5007 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.4319, allocations: 0.7383 MB / 0.5014 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.432, allocations: 35.77 kB / 0.5015 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.432, allocations: 15.89 kB / 0.5015 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.4322, allocations: 4 kB / 0.5015 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.4323, allocations: 31.89 kB / 0.5015 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.4323, allocations: 8 kB / 0.5015 GB, free: 2.383 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.4325, allocations: 223.1 kB / 0.5018 GB, free: 2.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4325, allocations: 0 / 0.5018 GB, free: 2.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004314/0.4368, allocations: 0.7481 MB / 0.5025 GB, free: 1.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02619/0.463, allocations: 7.592 MB / 0.5099 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.4641, allocations: 473.8 kB / 0.5103 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4641, allocations: 0 / 0.5103 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.4645, allocations: 211.3 kB / 0.5105 GB, free: 9.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4656, allocations: 188.6 kB / 0.5107 GB, free: 8.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/0.4738, allocations: 4.061 MB / 0.5147 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.474, allocations: 204.9 kB / 0.5149 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.4744, allocations: 183 kB / 0.5151 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.4746, allocations: 143.3 kB / 0.5152 GB, free: 4.145 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4746, allocations: 0 / 0.5152 GB, free: 4.145 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2633/0.7379, allocations: 34.88 MB / 0.5493 GB, free: 94.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.86, allocations: 6.281 kB / 0.5493 GB, free: 94.2 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_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_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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: 18.972273104824126]