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.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.00178/0.00178, allocations: 116.9 kB / 18.45 MB, free: 4.566 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.002082/0.002082, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 207.6 MB / 231.8 MB, free: 4.207 MB / 174.1 MB " [Timeout remaining time 178] 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.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_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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 55.94 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1026, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03945/0.1421, allocations: 37.91 MB / 429.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03648/0.1786, allocations: 30.71 MB / 460 MB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.1792, allocations: 15.88 kB / 460.1 MB, free: 3.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.1804, allocations: 421.7 kB / 460.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.1816, allocations: 0.5322 MB / 461 MB, free: 2.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2351/0.4167, allocations: 5.22 MB / 466.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.4186, allocations: 1.359 MB / 467.6 MB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.4189, allocations: 130.2 kB / 467.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009042/0.4198, allocations: 0.5402 MB / 468.2 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.4204, allocations: 463.6 kB / 468.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.4204, allocations: 52.53 kB / 468.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02211/0.4426, allocations: 12.9 MB / 481.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003737/0.4429, allocations: 149.8 kB / 481.8 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006687/0.4436, allocations: 316.2 kB / 482.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03523/0.4788, allocations: 14.94 MB / 497 MB, free: 15.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4788, allocations: 1.344 kB / 497 MB, free: 15.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4788, allocations: 0 / 497 MB, free: 15.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4788, allocations: 1.312 kB / 497 MB, free: 15.55 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01068/0.4895, allocations: 1.472 MB / 498.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4896, allocations: 14.55 kB / 498.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.4897, allocations: 87.8 kB / 498.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/0.4904, allocations: 99.19 kB / 498.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.491, allocations: 386.9 kB / 499.1 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.4911, allocations: 37.36 kB / 499.1 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.951e-05/0.4911, allocations: 48.31 kB / 499.2 MB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.4923, allocations: 0.6273 MB / 499.8 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.4923, allocations: 1.344 kB / 499.8 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.4924, allocations: 25.84 kB / 499.8 MB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4924, allocations: 12 kB / 499.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009779/0.4934, allocations: 0.5231 MB / 0.4886 GB, free: 12.74 MB / 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.004278/0.4976, allocations: 3.814 MB / 0.4924 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008865/0.4985, allocations: 395.4 kB / 0.4927 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.4988, allocations: 203.6 kB / 0.4929 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003495/0.5023, allocations: 3.454 MB / 0.4963 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.5024, allocations: 39.31 kB / 0.4963 GB, free: 4.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.425e-06/0.5024, allocations: 0.7812 kB / 0.4963 GB, free: 4.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.009302/0.5117, allocations: 2.029 MB / 0.4983 GB, free: 3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.5117, allocations: 55.84 kB / 0.4984 GB, free: 2.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.512, allocations: 311.3 kB / 0.4987 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.5121, allocations: 33.33 kB / 0.4987 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.5123, allocations: 243.7 kB / 0.4989 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.5124, allocations: 202.5 kB / 0.4991 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.5126, allocations: 121.7 kB / 0.4992 GB, free: 2.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5127, allocations: 350.6 kB / 0.4996 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.513, allocations: 175.1 kB / 0.4997 GB, free: 1.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.5134, allocations: 331.2 kB / 0.5001 GB, free: 1.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/0.5142, allocations: 0.5478 MB / 0.5006 GB, free: 1.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5142, allocations: 4 kB / 0.5006 GB, free: 1.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001228/0.5154, allocations: 0.6778 MB / 0.5013 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.5154, allocations: 8 kB / 0.5013 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5155, allocations: 4 kB / 0.5013 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009301/0.5248, allocations: 445.3 kB / 0.5017 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.5254, allocations: 143.6 kB / 0.5018 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.5279, allocations: 3.088 MB / 0.5049 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.5282, allocations: 11.06 kB / 0.5049 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.5283, allocations: 38.77 kB / 0.5049 GB, free: 12.91 MB / 414.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.0002787/0.5285, allocations: 184.2 kB / 0.5051 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5287, allocations: 45.02 kB / 0.5051 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.5302, allocations: 1.061 MB / 0.5062 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.5302, allocations: 15.92 kB / 0.5062 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.5302, allocations: 0 / 0.5062 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.5313, allocations: 1.087 MB / 0.5072 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.5335, allocations: 1.736 MB / 0.5089 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5335, allocations: 0 / 0.5089 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.5339, allocations: 100.1 kB / 0.509 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/0.537, allocations: 351.6 kB / 0.5094 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.537, allocations: 22.34 kB / 0.5094 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007768/0.5378, allocations: 1.151 MB / 0.5105 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5378, allocations: 3.938 kB / 0.5105 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5393, allocations: 1.128 MB / 0.5116 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.5394, allocations: 122 kB / 0.5117 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.5395, allocations: 17.16 kB / 0.5117 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.5397, allocations: 10.69 kB / 0.5118 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.5398, allocations: 34.77 kB / 0.5118 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.5398, allocations: 25.67 kB / 0.5118 GB, free: 7.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.5401, allocations: 246.4 kB / 0.512 GB, free: 7.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5401, allocations: 0 / 0.512 GB, free: 7.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006979/0.5471, allocations: 0.9771 MB / 0.513 GB, free: 6.352 MB / 414.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.03456/0.5817, allocations: 9.457 MB / 0.5222 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.5834, allocations: 0.6831 MB / 0.5229 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5834, allocations: 0 / 0.5229 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000644/0.5841, allocations: 356.9 kB / 0.5232 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.5855, allocations: 272.8 kB / 0.5235 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.5977, allocations: 5.319 MB / 0.5287 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.5982, allocations: 0.8686 MB / 0.5295 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005608/0.5988, allocations: 232.7 kB / 0.5298 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.5991, allocations: 207.3 kB / 0.53 GB, free: 5.57 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5991, allocations: 0 / 0.53 GB, free: 5.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08521/0.6843, allocations: 42.32 MB / 0.5713 GB, free: 11.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.42, allocations: 4 kB / 0.5713 GB, free: 11.2 MB / 478.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 18.541473617005977]