Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.001329/0.001329, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001462/0.001462, allocations: 210.9 kB / 23.73 MB, free: 4.387 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.46/1.46, 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.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 47.92 kB / 377.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2518, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02923/0.281, allocations: 24.72 MB / 455.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02774/0.3088, allocations: 22.08 MB / 477.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.3092, allocations: 7.938 kB / 477.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008895/0.31, allocations: 274.5 kB / 478.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008748/0.3109, allocations: 381.9 kB / 478.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01141/0.3223, allocations: 4.098 MB / 482.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.3237, allocations: 0.9542 MB / 483.6 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.3239, allocations: 81.23 kB / 483.7 MB, free: 1.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.3246, allocations: 398.6 kB / 484.1 MB, free: 1.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.325, allocations: 306.7 kB / 484.4 MB, free: 1.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.3251, allocations: 36 kB / 484.4 MB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01935/0.3444, allocations: 10.14 MB / 494.5 MB, free: 6.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.3447, allocations: 111.6 kB / 494.6 MB, free: 6.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.345, allocations: 187.4 kB / 494.8 MB, free: 6.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03171/0.3767, allocations: 11.52 MB / 0.4945 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3767, allocations: 4 kB / 0.4945 GB, free: 11.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3767, allocations: 0 / 0.4945 GB, free: 11.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.3767, allocations: 0 / 0.4945 GB, free: 11.15 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.005797/0.3825, allocations: 1.097 MB / 0.4955 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3826, allocations: 8.031 kB / 0.4956 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.094e-05/0.3827, allocations: 70.53 kB / 0.4956 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.3832, allocations: 71.73 kB / 0.4957 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.3838, allocations: 268.6 kB / 0.4959 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.3838, allocations: 20.66 kB / 0.496 GB, free: 9.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.3839, allocations: 35.94 kB / 0.496 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.3848, allocations: 0.6074 MB / 0.4966 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3849, allocations: 7.875 kB / 0.4966 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.3849, allocations: 12 kB / 0.4966 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3849, allocations: 8 kB / 0.4966 GB, free: 8.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.3857, allocations: 386.3 kB / 0.497 GB, free: 8.434 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.003494/0.3892, allocations: 2.23 MB / 0.4992 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.3898, allocations: 277.2 kB / 0.4994 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.39, allocations: 124.8 kB / 0.4995 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/0.3915, allocations: 467.5 kB / 0.5 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3915, allocations: 34.56 kB / 0.5 GB, free: 5.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.3915, allocations: 3.938 kB / 0.5 GB, free: 5.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005359/0.3969, allocations: 1.167 MB / 0.5012 GB, free: 4.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3969, allocations: 55.41 kB / 0.5012 GB, free: 3.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.3972, allocations: 261.8 kB / 0.5015 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.3973, allocations: 33.7 kB / 0.5015 GB, free: 3.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.3974, allocations: 192.4 kB / 0.5017 GB, free: 3.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3975, allocations: 134.9 kB / 0.5018 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.3976, allocations: 78.12 kB / 0.5019 GB, free: 3.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3978, allocations: 338.8 kB / 0.5022 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.398, allocations: 116.8 kB / 0.5023 GB, free: 2.773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.3983, allocations: 230 kB / 0.5025 GB, free: 2.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.3989, allocations: 378 kB / 0.5029 GB, free: 2.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3989, allocations: 0 / 0.5029 GB, free: 2.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009872/0.3999, allocations: 466.7 kB / 0.5033 GB, free: 1.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3999, allocations: 8 kB / 0.5034 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3999, allocations: 4 kB / 0.5034 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005622/0.4055, allocations: 245.9 kB / 0.5036 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.4059, allocations: 91.84 kB / 0.5037 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.4076, allocations: 1.839 MB / 0.5055 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.4078, allocations: 8 kB / 0.5055 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.4079, allocations: 20 kB / 0.5055 GB, free: 15.26 MB / 430.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.000201/0.4081, allocations: 166 kB / 0.5057 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4082, allocations: 39.75 kB / 0.5057 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.4093, allocations: 0.6978 MB / 0.5064 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.4093, allocations: 11.92 kB / 0.5064 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.4093, allocations: 0 / 0.5064 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000953/0.4103, allocations: 0.8789 MB / 0.5073 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.4119, allocations: 1.136 MB / 0.5084 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4119, allocations: 0 / 0.5084 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.4121, allocations: 71.83 kB / 0.5084 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.4136, allocations: 180.5 kB / 0.5086 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.4137, allocations: 8 kB / 0.5086 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004246/0.4141, allocations: 0.568 MB / 0.5092 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4141, allocations: 3.938 kB / 0.5092 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.4152, allocations: 0.7459 MB / 0.5099 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.4153, allocations: 47.78 kB / 0.5099 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.4153, allocations: 8 kB / 0.51 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.4155, allocations: 4 kB / 0.51 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.4155, allocations: 27.89 kB / 0.51 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.4156, allocations: 23.98 kB / 0.51 GB, free: 10.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.4158, allocations: 215.1 kB / 0.5102 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4158, allocations: 0 / 0.5102 GB, free: 10.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003962/0.4198, allocations: 0.7597 MB / 0.511 GB, free: 9.465 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.02515/0.4449, allocations: 7.601 MB / 0.5184 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.446, allocations: 461.4 kB / 0.5188 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.446, allocations: 0 / 0.5188 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.4464, allocations: 220.3 kB / 0.519 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.4475, allocations: 202.3 kB / 0.5192 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008699/0.4562, allocations: 4.05 MB / 0.5232 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.4564, allocations: 204.9 kB / 0.5234 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.4569, allocations: 186.9 kB / 0.5235 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.4571, allocations: 135.4 kB / 0.5237 GB, free: 12.19 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4571, allocations: 0 / 0.5237 GB, free: 12.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2657/0.7228, allocations: 34.97 MB / 0.5578 GB, free: 84.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.95, allocations: 15.28 kB / 0.5578 GB, free: 84.58 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.977028142195195]