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.001787/0.001787, allocations: 112 kB / 20.43 MB, free: 1.465 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.001997/0.001997, allocations: 183.8 kB / 23.71 MB, free: 4.723 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.394/1.394, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001488/0.001488, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02961/0.2687, allocations: 26.97 MB / 449.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02822/0.2969, allocations: 25.05 MB / 474.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.2973, allocations: 7.938 kB / 474.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.2982, allocations: 314.3 kB / 475 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000972/0.2992, allocations: 373.9 kB / 475.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.3109, allocations: 4.122 MB / 479.5 MB, free: 5.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.3124, allocations: 0.9659 MB / 480.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.3126, allocations: 77.23 kB / 480.5 MB, free: 4.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006991/0.3133, allocations: 402.5 kB / 480.9 MB, free: 4.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.3138, allocations: 322.8 kB / 481.2 MB, free: 3.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.3138, allocations: 36 kB / 481.2 MB, free: 3.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0184/0.3322, allocations: 10.54 MB / 491.8 MB, free: 9.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.3325, allocations: 115.6 kB / 491.9 MB, free: 9.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.3328, allocations: 223.1 kB / 492.1 MB, free: 8.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02503/0.3579, allocations: 11.49 MB / 0.4918 GB, free: 13.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.3579, allocations: 4 kB / 0.4918 GB, free: 13.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3579, allocations: 0 / 0.4918 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3579, allocations: 0 / 0.4918 GB, free: 13.39 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006061/0.364, allocations: 1.113 MB / 0.4929 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.364, allocations: 8.031 kB / 0.4929 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.144e-05/0.3641, allocations: 70.53 kB / 0.493 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.3646, allocations: 71.73 kB / 0.493 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.3651, allocations: 252.6 kB / 0.4933 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.3652, allocations: 24.66 kB / 0.4933 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.3652, allocations: 39.92 kB / 0.4933 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008642/0.3661, allocations: 467.8 kB / 0.4938 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3661, allocations: 3.938 kB / 0.4938 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.3661, allocations: 12 kB / 0.4938 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3662, allocations: 15.98 kB / 0.4938 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.3669, allocations: 390.3 kB / 0.4942 GB, free: 10.85 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.003774/0.3707, allocations: 2.818 MB / 0.4969 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/0.3713, allocations: 282 kB / 0.4972 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3715, allocations: 120.8 kB / 0.4973 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.373, allocations: 467.4 kB / 0.4978 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3731, allocations: 42.5 kB / 0.4978 GB, free: 6.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.697e-06/0.3731, allocations: 3.984 kB / 0.4978 GB, free: 6.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005026/0.3781, allocations: 1.144 MB / 0.4989 GB, free: 5.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3781, allocations: 51.41 kB / 0.499 GB, free: 5.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3784, allocations: 269.8 kB / 0.4992 GB, free: 5.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.3785, allocations: 33.7 kB / 0.4993 GB, free: 5.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3786, allocations: 200.4 kB / 0.4995 GB, free: 5.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.3787, allocations: 126.9 kB / 0.4996 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3788, allocations: 78.12 kB / 0.4997 GB, free: 4.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.379, allocations: 334.8 kB / 0.5 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.3793, allocations: 116.8 kB / 0.5001 GB, free: 4.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.3796, allocations: 230 kB / 0.5003 GB, free: 4.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.3801, allocations: 370 kB / 0.5007 GB, free: 3.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3801, allocations: 0 / 0.5007 GB, free: 3.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008366/0.381, allocations: 466.6 kB / 0.5011 GB, free: 3.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.381, allocations: 8 kB / 0.5011 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.381, allocations: 4 kB / 0.5011 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004616/0.3856, allocations: 233.9 kB / 0.5013 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.386, allocations: 91.83 kB / 0.5014 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.3875, allocations: 1.835 MB / 0.5032 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.3878, allocations: 8 kB / 0.5032 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.3878, allocations: 20 kB / 0.5032 GB, free: 1.004 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.00022/0.388, allocations: 172.9 kB / 0.5034 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.3881, allocations: 35.75 kB / 0.5034 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.3892, allocations: 0.7085 MB / 0.5041 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3892, allocations: 8 kB / 0.5041 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3892, allocations: 0 / 0.5041 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009401/0.3901, allocations: 0.8752 MB / 0.505 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3917, allocations: 1.186 MB / 0.5062 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3918, allocations: 7.984 kB / 0.5062 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.392, allocations: 67.84 kB / 0.5062 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.3937, allocations: 180.5 kB / 0.5064 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3937, allocations: 12 kB / 0.5064 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000408/0.3941, allocations: 0.572 MB / 0.507 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.3941, allocations: 7.938 kB / 0.507 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3951, allocations: 0.7383 MB / 0.5077 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.3952, allocations: 35.78 kB / 0.5077 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.3952, allocations: 16.11 kB / 0.5077 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3954, allocations: 4 kB / 0.5078 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.3955, allocations: 31.88 kB / 0.5078 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.3955, allocations: 19.98 kB / 0.5078 GB, free: 12.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002387/0.3957, allocations: 215.1 kB / 0.508 GB, free: 11.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3957, allocations: 0 / 0.508 GB, free: 11.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004173/0.3999, allocations: 0.7519 MB / 0.5087 GB, free: 11.16 MB / 430.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.02519/0.4251, allocations: 7.592 MB / 0.5162 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.4261, allocations: 474.6 kB / 0.5166 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.4261, allocations: 4 kB / 0.5166 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.4265, allocations: 214.4 kB / 0.5168 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4276, allocations: 188.5 kB / 0.517 GB, free: 2.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007999/0.4356, allocations: 4.058 MB / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.436, allocations: 0.8052 MB / 0.5217 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000402/0.4364, allocations: 183.7 kB / 0.5219 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.4366, allocations: 139.4 kB / 0.5221 GB, free: 13.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4366, allocations: 4 kB / 0.5221 GB, free: 13.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.255/0.6916, allocations: 34.2 MB / 0.5555 GB, free: 92.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.69, allocations: 11.45 kB / 0.5555 GB, free: 92.51 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.588571775002492]