Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.001256/0.001256, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001296/0.001296, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9112/0.9112, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.844 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.035e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02382/0.02384, allocations: 34.51 MB / 359 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.04239, allocations: 27.14 MB / 386.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005063/0.0429, allocations: 11.94 kB / 386.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009828/0.04388, allocations: 393.6 kB / 386.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.04483, allocations: 0.5511 MB / 387.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.0557, allocations: 5.358 MB / 392.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.057, allocations: 1.371 MB / 393.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.05723, allocations: 115 kB / 394 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008484/0.05808, allocations: 0.7401 MB / 394.7 MB, free: 9.457 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.05852, allocations: 390.8 kB / 395.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.181e-05/0.05858, allocations: 56 kB / 395.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/0.07215, allocations: 12.47 MB / 407.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.07236, allocations: 163.4 kB / 407.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.07266, allocations: 243.6 kB / 408 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02105/0.09371, allocations: 15.56 MB / 423.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.09371, allocations: 0 / 423.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.09372, allocations: 4 kB / 423.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.09373, allocations: 4 kB / 423.6 MB, free: 12.53 MB / 394.7 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.005871/0.0996, allocations: 1.381 MB / 425 MB, free: 11.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.09965, allocations: 15.98 kB / 425 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.182e-05/0.09972, allocations: 86.52 kB / 425.1 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004762/0.1002, allocations: 99.56 kB / 425.2 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.1007, allocations: 332.2 kB / 425.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1007, allocations: 36.94 kB / 425.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.1007, allocations: 48 kB / 425.6 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.1016, allocations: 0.833 MB / 426.4 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1016, allocations: 3.953 kB / 426.4 MB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1016, allocations: 20 kB / 426.4 MB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1016, allocations: 12 kB / 426.4 MB, free: 9.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.1022, allocations: 0.5268 MB / 427 MB, free: 8.98 MB / 394.7 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.002404/0.1046, allocations: 2.793 MB / 429.8 MB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.1053, allocations: 396.8 kB / 430.1 MB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.1055, allocations: 198.2 kB / 430.3 MB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009674/0.1065, allocations: 0.6167 MB / 431 MB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1065, allocations: 42.92 kB / 431 MB, free: 4.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 2.084e-06/0.1065, allocations: 0 / 431 MB, free: 4.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.005396/0.1119, allocations: 1.888 MB / 432.9 MB, free: 2.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.1119, allocations: 55.91 kB / 432.9 MB, free: 2.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1122, allocations: 316.4 kB / 433.2 MB, free: 2.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.1123, allocations: 37.7 kB / 433.3 MB, free: 2.473 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1124, allocations: 237.2 kB / 433.5 MB, free: 2.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.1126, allocations: 198.2 kB / 433.7 MB, free: 2.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.1127, allocations: 118.3 kB / 433.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1128, allocations: 354.7 kB / 434.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.113, allocations: 181.2 kB / 434.3 MB, free: 1.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.1134, allocations: 336.1 kB / 434.7 MB, free: 1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007933/0.1142, allocations: 0.5497 MB / 435.2 MB, free: 400 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1142, allocations: 3.938 kB / 435.2 MB, free: 396 kB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001163/0.1153, allocations: 0.6713 MB / 435.9 MB, free: 15.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1154, allocations: 8 kB / 435.9 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1154, allocations: 7.938 kB / 435.9 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005486/0.1209, allocations: 474.5 kB / 436.4 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1212, allocations: 143.8 kB / 436.5 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.1226, allocations: 2.978 MB / 439.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.1227, allocations: 20.09 kB / 439.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.1228, allocations: 24 kB / 439.5 MB, free: 11.86 MB / 410.7 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.0001745/0.1229, allocations: 193.6 kB / 439.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1231, allocations: 47.72 kB / 439.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.124, allocations: 1.079 MB / 440.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.124, allocations: 15.98 kB / 440.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.124, allocations: 0 / 440.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007584/0.1248, allocations: 1.114 MB / 442 MB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.1262, allocations: 1.662 MB / 443.6 MB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1262, allocations: 4 kB / 443.7 MB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1264, allocations: 99.83 kB / 443.7 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.1277, allocations: 353.1 kB / 444.1 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.1277, allocations: 15.94 kB / 444.1 MB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004345/0.1282, allocations: 1.152 MB / 445.3 MB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1282, allocations: 4.062 kB / 445.3 MB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009795/0.1292, allocations: 1.14 MB / 446.4 MB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.1292, allocations: 47.61 kB / 446.4 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.1293, allocations: 23.89 kB / 446.5 MB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1294, allocations: 8 kB / 446.5 MB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1294, allocations: 44.41 kB / 446.5 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.1294, allocations: 19.98 kB / 446.5 MB, free: 4.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1296, allocations: 247 kB / 446.8 MB, free: 4.375 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1296, allocations: 3.938 kB / 446.8 MB, free: 4.371 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004237/0.1338, allocations: 0.9857 MB / 447.8 MB, free: 3.383 MB / 410.7 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.1571/0.2909, allocations: 9.589 MB / 457.4 MB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.2925, allocations: 0.695 MB / 458.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.2925, allocations: 0 / 458.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.2931, allocations: 350.9 kB / 458.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.2942, allocations: 270.5 kB / 458.7 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.3025, allocations: 5.26 MB / 463.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.3027, allocations: 270.1 kB / 464.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004431/0.3032, allocations: 233.4 kB / 464.4 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.3033, allocations: 202.8 kB / 464.6 MB, free: 103.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3033, allocations: 0 / 464.6 MB, free: 103.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04727/0.3506, allocations: 44.02 MB / 0.4967 GB, free: 60.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.091/9.441, allocations: 7.031 kB / 0.4967 GB, free: 60.38 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 12.815575767308474]