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.00164/0.00164, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001934/0.001934, allocations: 215.5 kB / 20.75 MB, free: 2.328 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.481/1.481, allocations: 230.4 MB / 254 MB, free: 15.03 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.001955/0.001955, allocations: 55.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1049, allocations: 53.37 MB / 426.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2327/0.3376, allocations: 26.85 MB / 453.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03025/0.3678, allocations: 24.98 MB / 478.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000525/0.3684, allocations: 13 kB / 478.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3694, allocations: 313.8 kB / 478.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.3705, allocations: 378.4 kB / 478.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.016/0.3865, allocations: 4.095 MB / 483 MB, free: 4.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.388, allocations: 0.9474 MB / 483.9 MB, free: 4.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3882, allocations: 86.78 kB / 484 MB, free: 4.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007319/0.3889, allocations: 392.7 kB / 484.4 MB, free: 4.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.3893, allocations: 321.7 kB / 484.7 MB, free: 4.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.3894, allocations: 37.16 kB / 484.7 MB, free: 4.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/0.409, allocations: 10.5 MB / 495.2 MB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.4092, allocations: 107.6 kB / 495.3 MB, free: 11.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.4097, allocations: 227.1 kB / 495.6 MB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02787/0.4376, allocations: 11.49 MB / 0.4952 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4376, allocations: 0 / 0.4952 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4376, allocations: 0 / 0.4952 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4376, allocations: 0 / 0.4952 GB, free: 15.92 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.006689/0.4443, allocations: 1.188 MB / 0.4963 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4443, allocations: 8.031 kB / 0.4963 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.393e-05/0.4444, allocations: 74.53 kB / 0.4964 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006341/0.445, allocations: 71.67 kB / 0.4965 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.4456, allocations: 322.4 kB / 0.4968 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.4456, allocations: 28.66 kB / 0.4968 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.4456, allocations: 32 kB / 0.4968 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.4465, allocations: 463.7 kB / 0.4973 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4466, allocations: 4 kB / 0.4973 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.4466, allocations: 12 kB / 0.4973 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.4466, allocations: 12 kB / 0.4973 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.4474, allocations: 386.3 kB / 0.4977 GB, free: 13.21 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.003719/0.4511, allocations: 2.956 MB / 0.5006 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.4518, allocations: 274.8 kB / 0.5008 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.452, allocations: 124.8 kB / 0.501 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/0.4546, allocations: 2.47 MB / 0.5034 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.4547, allocations: 34.56 kB / 0.5034 GB, free: 6.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.575e-06/0.4547, allocations: 0 / 0.5034 GB, free: 6.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.006007/0.4607, allocations: 1.294 MB / 0.5047 GB, free: 5.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.4607, allocations: 67.39 kB / 0.5047 GB, free: 5.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.461, allocations: 262.5 kB / 0.505 GB, free: 4.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.4611, allocations: 29.7 kB / 0.505 GB, free: 4.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4612, allocations: 196.3 kB / 0.5052 GB, free: 4.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.4613, allocations: 126.9 kB / 0.5053 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.4615, allocations: 86.08 kB / 0.5054 GB, free: 4.453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4616, allocations: 338.8 kB / 0.5057 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.4618, allocations: 108.8 kB / 0.5058 GB, free: 4.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.4621, allocations: 226.1 kB / 0.506 GB, free: 3.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.4627, allocations: 382.2 kB / 0.5064 GB, free: 3.312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4627, allocations: 1.25 kB / 0.5064 GB, free: 3.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001004/0.4637, allocations: 474.6 kB / 0.5069 GB, free: 2.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4638, allocations: 8.625 kB / 0.5069 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4638, allocations: 4 kB / 0.5069 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00611/0.4699, allocations: 245.9 kB / 0.5071 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.4703, allocations: 87.89 kB / 0.5072 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.472, allocations: 1.944 MB / 0.5091 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.4722, allocations: 8 kB / 0.5091 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.4722, allocations: 20 kB / 0.5091 GB, free: 368 kB / 414.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.0002158/0.4725, allocations: 169.9 kB / 0.5093 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.4726, allocations: 39.69 kB / 0.5093 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.4737, allocations: 0.6857 MB / 0.51 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4737, allocations: 4 kB / 0.51 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4737, allocations: 0 / 0.51 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009399/0.4747, allocations: 0.8748 MB / 0.5108 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.4763, allocations: 1.187 MB / 0.512 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4763, allocations: 0 / 0.512 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.4766, allocations: 63.91 kB / 0.5121 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.4782, allocations: 172.6 kB / 0.5122 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.4782, allocations: 15.98 kB / 0.5122 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000416/0.4786, allocations: 0.5649 MB / 0.5128 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4786, allocations: 3.938 kB / 0.5128 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.4797, allocations: 0.7461 MB / 0.5135 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.4798, allocations: 108.8 kB / 0.5136 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.4798, allocations: 15.94 kB / 0.5136 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.48, allocations: 8 kB / 0.5136 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.4801, allocations: 27.89 kB / 0.5137 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.4801, allocations: 12.81 kB / 0.5137 GB, free: 11.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.4804, allocations: 221.9 kB / 0.5139 GB, free: 11.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4804, allocations: 0 / 0.5139 GB, free: 11.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004665/0.485, allocations: 0.7558 MB / 0.5146 GB, free: 10.46 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.02568/0.5107, allocations: 7.58 MB / 0.522 GB, free: 2.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.5118, allocations: 466.3 kB / 0.5225 GB, free: 2.383 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5118, allocations: 0 / 0.5225 GB, free: 2.383 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.5122, allocations: 208.2 kB / 0.5227 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.5133, allocations: 190 kB / 0.5229 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/0.5217, allocations: 4.053 MB / 0.5268 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.5221, allocations: 0.8129 MB / 0.5276 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004251/0.5225, allocations: 186.9 kB / 0.5278 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.5227, allocations: 139.4 kB / 0.5279 GB, free: 12.61 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5227, allocations: 0 / 0.5279 GB, free: 12.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07241/0.5952, allocations: 33.83 MB / 0.561 GB, free: 10.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.99, allocations: 4.062 kB / 0.561 GB, free: 10.82 MB / 478.1 MB " [Timeout remaining time 646] (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: 18.15609841106925]