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.001863/0.001863, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.00221/0.00221, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.388/1.388, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.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.001809/0.001809, allocations: 58.58 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2746, allocations: 49.15 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03851/0.3131, allocations: 34.72 MB / 431.1 MB, free: 68 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03587/0.349, allocations: 27.14 MB / 458.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009907/0.35, allocations: 11.94 kB / 458.2 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.3515, allocations: 381.8 kB / 458.6 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.3528, allocations: 0.5283 MB / 459.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01516/0.3679, allocations: 5.252 MB / 464.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.37, allocations: 1.367 MB / 465.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.3702, allocations: 122.8 kB / 465.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009316/0.3712, allocations: 0.545 MB / 466.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.3717, allocations: 442.2 kB / 466.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.344e-05/0.3718, allocations: 52 kB / 466.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02687/0.3987, allocations: 12.43 MB / 479.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.399, allocations: 155.5 kB / 479.5 MB, free: 15.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.3995, allocations: 279 kB / 479.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04322/0.4427, allocations: 14.94 MB / 494.7 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4427, allocations: 0 / 494.7 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4427, allocations: 0 / 494.7 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4427, allocations: 0 / 494.7 MB, free: 0.5586 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.007565/0.4503, allocations: 1.389 MB / 496.1 MB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4503, allocations: 15.98 kB / 496.1 MB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.4504, allocations: 90.45 kB / 496.2 MB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007183/0.4511, allocations: 103.5 kB / 496.3 MB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.4517, allocations: 316.3 kB / 496.6 MB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.4518, allocations: 40.94 kB / 496.6 MB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.117e-05/0.4519, allocations: 55.95 kB / 496.7 MB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.4532, allocations: 0.8213 MB / 497.5 MB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.4532, allocations: 11.94 kB / 497.5 MB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.4533, allocations: 16 kB / 497.5 MB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.4533, allocations: 12 kB / 497.5 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4544, allocations: 0.5268 MB / 498.1 MB, free: 13 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.003967/0.4583, allocations: 2.805 MB / 0.4891 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000927/0.4593, allocations: 388.1 kB / 0.4895 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.4596, allocations: 201.4 kB / 0.4897 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/0.4615, allocations: 0.6207 MB / 0.4903 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.4616, allocations: 42.92 kB / 0.4903 GB, free: 8.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/0.4616, allocations: 7.938 kB / 0.4904 GB, free: 8.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.008919/0.4705, allocations: 1.889 MB / 0.4922 GB, free: 6.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.4705, allocations: 63.78 kB / 0.4923 GB, free: 6.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.4709, allocations: 312.4 kB / 0.4926 GB, free: 6.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.4709, allocations: 37.7 kB / 0.4926 GB, free: 6.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.4711, allocations: 237.2 kB / 0.4928 GB, free: 6.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.4713, allocations: 198.3 kB / 0.493 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.4715, allocations: 118.3 kB / 0.4931 GB, free: 5.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4716, allocations: 358.7 kB / 0.4935 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.472, allocations: 173.2 kB / 0.4936 GB, free: 5.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.4724, allocations: 328.1 kB / 0.4939 GB, free: 5.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/0.4733, allocations: 0.5484 MB / 0.4945 GB, free: 4.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4733, allocations: 4 kB / 0.4945 GB, free: 4.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001283/0.4746, allocations: 0.6703 MB / 0.4951 GB, free: 3.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.4746, allocations: 15.92 kB / 0.4952 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4746, allocations: 4 kB / 0.4952 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008732/0.4833, allocations: 446 kB / 0.4956 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.4839, allocations: 135.8 kB / 0.4957 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.4865, allocations: 2.993 MB / 0.4986 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.4867, allocations: 12 kB / 0.4986 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.4869, allocations: 28 kB / 0.4987 GB, free: 15.89 MB / 430.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.0002644/0.4871, allocations: 190.1 kB / 0.4989 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4872, allocations: 43.72 kB / 0.4989 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.4889, allocations: 1.075 MB / 0.4999 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.4889, allocations: 12 kB / 0.5 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4889, allocations: 3.938 kB / 0.5 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/0.4904, allocations: 1.114 MB / 0.501 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.4927, allocations: 1.67 MB / 0.5027 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4928, allocations: 3.938 kB / 0.5027 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.4931, allocations: 99.89 kB / 0.5028 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/0.496, allocations: 345.2 kB / 0.5031 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.4961, allocations: 15.98 kB / 0.5031 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008556/0.4969, allocations: 1.155 MB / 0.5043 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4969, allocations: 0 / 0.5043 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.4985, allocations: 1.151 MB / 0.5054 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.4986, allocations: 47.61 kB / 0.5054 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.4987, allocations: 24.02 kB / 0.5054 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.4989, allocations: 12 kB / 0.5055 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.499, allocations: 40.47 kB / 0.5055 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.499, allocations: 19.98 kB / 0.5055 GB, free: 8.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003025/0.4993, allocations: 251 kB / 0.5058 GB, free: 8.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4993, allocations: 0 / 0.5058 GB, free: 8.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005741/0.5051, allocations: 0.9702 MB / 0.5067 GB, free: 7.426 MB / 430.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.03218/0.5373, allocations: 9.467 MB / 0.5159 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.5391, allocations: 0.6884 MB / 0.5166 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5391, allocations: 4 kB / 0.5166 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006678/0.5397, allocations: 359.1 kB / 0.517 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.5412, allocations: 269 kB / 0.5172 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.5529, allocations: 5.34 MB / 0.5224 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5532, allocations: 272.8 kB / 0.5227 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005684/0.5537, allocations: 233 kB / 0.5229 GB, free: 6.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.554, allocations: 199.4 kB / 0.5231 GB, free: 6.316 MB / 446.1 MB Notification: Performance of SimCode: time 1.093e-06/0.554, allocations: 0 / 0.5231 GB, free: 6.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2812/0.8352, allocations: 43.62 MB / 0.5657 GB, free: 142.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.6, allocations: 7.594 kB / 0.5657 GB, free: 142.1 MB / 478.1 MB " [Timeout remaining time 644] (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: 19.68030268792063]