Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001661/0.001661, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 210.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 59.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2521, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0307/0.2828, allocations: 27.07 MB / 458.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02969/0.3125, allocations: 25.08 MB / 483.3 MB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.3128, allocations: 7.938 kB / 483.4 MB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008521/0.3137, allocations: 306.4 kB / 483.7 MB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008395/0.3145, allocations: 389.8 kB / 484 MB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.326, allocations: 4.125 MB / 488.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.3275, allocations: 0.9581 MB / 489.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.3278, allocations: 88.78 kB / 489.2 MB, free: 12.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006766/0.3284, allocations: 394.6 kB / 489.6 MB, free: 12.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.3289, allocations: 314.8 kB / 489.9 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.3289, allocations: 44 kB / 489.9 MB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/0.3479, allocations: 10.55 MB / 0.4888 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.3482, allocations: 103.6 kB / 0.4888 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.3486, allocations: 235.1 kB / 0.4891 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02784/0.3764, allocations: 11.51 MB / 0.5003 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3764, allocations: 0 / 0.5003 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.3764, allocations: 0 / 0.5003 GB, free: 5.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3764, allocations: 0 / 0.5003 GB, free: 5.309 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.006806/0.3832, allocations: 1.105 MB / 0.5014 GB, free: 4.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.3833, allocations: 12.03 kB / 0.5014 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.3834, allocations: 70.53 kB / 0.5015 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000672/0.3841, allocations: 67.73 kB / 0.5015 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.3846, allocations: 260.6 kB / 0.5018 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3847, allocations: 20.66 kB / 0.5018 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.3847, allocations: 39.94 kB / 0.5018 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/0.3856, allocations: 459.8 kB / 0.5023 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.3857, allocations: 7.938 kB / 0.5023 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.3857, allocations: 20 kB / 0.5023 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3857, allocations: 8 kB / 0.5023 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.3865, allocations: 390.3 kB / 0.5027 GB, free: 2.77 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.003838/0.3903, allocations: 2.822 MB / 0.5054 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.391, allocations: 280.5 kB / 0.5057 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.3912, allocations: 128.8 kB / 0.5058 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/0.3927, allocations: 467.5 kB / 0.5063 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.3927, allocations: 34.56 kB / 0.5063 GB, free: 14.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/0.3927, allocations: 0 / 0.5063 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005568/0.3983, allocations: 1.159 MB / 0.5074 GB, free: 13.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3983, allocations: 55.41 kB / 0.5075 GB, free: 13.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.3987, allocations: 261.9 kB / 0.5077 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.3987, allocations: 29.7 kB / 0.5078 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3988, allocations: 196.4 kB / 0.508 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3989, allocations: 130.9 kB / 0.5081 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3991, allocations: 82.08 kB / 0.5082 GB, free: 12.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3992, allocations: 342.8 kB / 0.5085 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.3994, allocations: 112.8 kB / 0.5086 GB, free: 12.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.3997, allocations: 230 kB / 0.5088 GB, free: 12.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.4003, allocations: 373.5 kB / 0.5092 GB, free: 11.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4003, allocations: 0 / 0.5092 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009416/0.4012, allocations: 462.7 kB / 0.5096 GB, free: 11.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4012, allocations: 8 kB / 0.5096 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4013, allocations: 4 kB / 0.5096 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/0.4072, allocations: 249.9 kB / 0.5099 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.4075, allocations: 91.83 kB / 0.51 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.4091, allocations: 1.835 MB / 0.5117 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.4094, allocations: 16.06 kB / 0.5118 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.4094, allocations: 16 kB / 0.5118 GB, free: 8.895 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.0002335/0.4096, allocations: 178.5 kB / 0.5119 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.4098, allocations: 39.75 kB / 0.512 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.4109, allocations: 0.6933 MB / 0.5127 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4109, allocations: 7.984 kB / 0.5127 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.4109, allocations: 0 / 0.5127 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000933/0.4119, allocations: 0.8827 MB / 0.5135 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.4135, allocations: 1.191 MB / 0.5147 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4135, allocations: 3.938 kB / 0.5147 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.4137, allocations: 63.91 kB / 0.5148 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.4154, allocations: 180.5 kB / 0.5149 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.4154, allocations: 16 kB / 0.5149 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004091/0.4158, allocations: 0.568 MB / 0.5155 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4158, allocations: 7.969 kB / 0.5155 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4169, allocations: 0.7419 MB / 0.5162 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/0.4169, allocations: 43.88 kB / 0.5163 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.417, allocations: 11.94 kB / 0.5163 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.4172, allocations: 8 kB / 0.5163 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.4172, allocations: 27.89 kB / 0.5163 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.4173, allocations: 8 kB / 0.5163 GB, free: 4.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002454/0.4175, allocations: 223.1 kB / 0.5165 GB, free: 3.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4175, allocations: 4 kB / 0.5165 GB, free: 3.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004073/0.4216, allocations: 0.752 MB / 0.5173 GB, free: 3.043 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.02546/0.447, allocations: 7.597 MB / 0.5247 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.4481, allocations: 462.4 kB / 0.5251 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.4481, allocations: 8.125 kB / 0.5251 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.4485, allocations: 216.3 kB / 0.5254 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4497, allocations: 196.3 kB / 0.5255 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/0.4582, allocations: 4.049 MB / 0.5295 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.4587, allocations: 0.813 MB / 0.5303 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004285/0.4591, allocations: 182.9 kB / 0.5305 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.4593, allocations: 143.4 kB / 0.5306 GB, free: 5.141 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4593, allocations: 4 kB / 0.5306 GB, free: 5.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2659/0.7252, allocations: 34.25 MB / 0.564 GB, free: 77.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.21, allocations: 5.812 kB / 0.5641 GB, free: 77.8 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 19.169994926000072]