Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 185.7 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 55.92 kB / 370.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2401, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04205/0.2822, allocations: 38.22 MB / 460.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03515/0.3173, allocations: 30.82 MB / 491.7 MB, free: 9.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000562/0.3179, allocations: 11.94 kB / 491.7 MB, free: 9.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.3191, allocations: 421.7 kB / 492.1 MB, free: 8.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.3203, allocations: 0.5439 MB / 492.6 MB, free: 8.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01445/0.3348, allocations: 5.269 MB / 497.9 MB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.3367, allocations: 1.379 MB / 499.3 MB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.337, allocations: 130.8 kB / 499.4 MB, free: 1.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009198/0.3379, allocations: 0.5449 MB / 500 MB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006353/0.3385, allocations: 458.3 kB / 0.4887 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.141e-05/0.3386, allocations: 52 kB / 0.4887 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02393/0.3625, allocations: 12.94 MB / 0.5014 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.3629, allocations: 159.4 kB / 0.5015 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.3634, allocations: 326.8 kB / 0.5018 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03519/0.3986, allocations: 14.93 MB / 0.5164 GB, free: 4.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.3986, allocations: 3.938 kB / 0.5164 GB, free: 4.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3986, allocations: 0 / 0.5164 GB, free: 4.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3986, allocations: 0 / 0.5164 GB, free: 4.09 MB / 430.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.008419/0.407, allocations: 1.4 MB / 0.5178 GB, free: 2.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4071, allocations: 8.031 kB / 0.5178 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.4072, allocations: 90.52 kB / 0.5179 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/0.408, allocations: 95.61 kB / 0.518 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.4086, allocations: 324.3 kB / 0.5183 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.4086, allocations: 40.94 kB / 0.5183 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.4087, allocations: 44 kB / 0.5184 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.4099, allocations: 0.6244 MB / 0.519 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.41, allocations: 0 / 0.519 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.41, allocations: 28 kB / 0.519 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.41, allocations: 12 kB / 0.519 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.4111, allocations: 0.5346 MB / 0.5195 GB, free: 0.7812 MB / 430.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.004692/0.4158, allocations: 3.676 MB / 0.5231 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.4168, allocations: 395.8 kB / 0.5235 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.4171, allocations: 196.8 kB / 0.5237 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001955/0.419, allocations: 0.6285 MB / 0.5243 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.419, allocations: 38.94 kB / 0.5243 GB, free: 11.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.903e-06/0.419, allocations: 0 / 0.5243 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.008973/0.428, allocations: 1.88 MB / 0.5262 GB, free: 9.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.4281, allocations: 59.78 kB / 0.5262 GB, free: 9.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.4284, allocations: 308.5 kB / 0.5265 GB, free: 9.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.4285, allocations: 41.7 kB / 0.5266 GB, free: 9.223 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4287, allocations: 237.1 kB / 0.5268 GB, free: 8.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.4288, allocations: 198.3 kB / 0.527 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.429, allocations: 118.3 kB / 0.5271 GB, free: 8.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4291, allocations: 350.7 kB / 0.5274 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.4295, allocations: 181.2 kB / 0.5276 GB, free: 8.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.4299, allocations: 336 kB / 0.5279 GB, free: 7.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000819/0.4307, allocations: 0.5485 MB / 0.5285 GB, free: 7.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4307, allocations: 0 / 0.5285 GB, free: 7.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001307/0.432, allocations: 0.666 MB / 0.5291 GB, free: 6.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.4321, allocations: 11.94 kB / 0.5291 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4321, allocations: 4 kB / 0.5291 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008884/0.441, allocations: 454.5 kB / 0.5296 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.4416, allocations: 147.8 kB / 0.5297 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.444, allocations: 2.993 MB / 0.5326 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.4443, allocations: 20 kB / 0.5326 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.4444, allocations: 27.98 kB / 0.5327 GB, free: 2.625 MB / 446.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.0002954/0.4447, allocations: 189.6 kB / 0.5328 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4448, allocations: 43.77 kB / 0.5329 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.4464, allocations: 1.075 MB / 0.5339 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.4464, allocations: 11.98 kB / 0.5339 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4464, allocations: 7.938 kB / 0.534 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/0.4477, allocations: 1.11 MB / 0.535 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1892/0.6369, allocations: 1.726 MB / 0.5367 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.6369, allocations: 9 kB / 0.5367 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.6373, allocations: 103.9 kB / 0.5368 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.6404, allocations: 349.6 kB / 0.5372 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.6404, allocations: 15.58 kB / 0.5372 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004826/0.6409, allocations: 1.153 MB / 0.5383 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6409, allocations: 1.25 kB / 0.5383 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.6423, allocations: 1.145 MB / 0.5394 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.6424, allocations: 49.08 kB / 0.5395 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/0.6424, allocations: 21.77 kB / 0.5395 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.6427, allocations: 10.88 kB / 0.5395 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.6427, allocations: 37.03 kB / 0.5395 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.6428, allocations: 22.31 kB / 0.5396 GB, free: 101.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.643, allocations: 250.8 kB / 0.5398 GB, free: 101.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.643, allocations: 0.7812 kB / 0.5398 GB, free: 101.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00479/0.6478, allocations: 0.9749 MB / 0.5407 GB, free: 101.3 MB / 446.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.0291/0.6769, allocations: 9.475 MB / 0.55 GB, free: 96.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.6784, allocations: 0.6941 MB / 0.5507 GB, free: 95.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.6785, allocations: 4 kB / 0.5507 GB, free: 95.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.679, allocations: 359.8 kB / 0.551 GB, free: 95.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.6803, allocations: 260.7 kB / 0.5513 GB, free: 95.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008855/0.6892, allocations: 5.353 MB / 0.5565 GB, free: 90.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.6894, allocations: 0.8598 MB / 0.5573 GB, free: 89.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004374/0.6898, allocations: 239.1 kB / 0.5576 GB, free: 89.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.69, allocations: 200.4 kB / 0.5578 GB, free: 89.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.69, allocations: 0 / 0.5578 GB, free: 89.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06832/0.7583, allocations: 42.98 MB / 0.5997 GB, free: 46.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.73, allocations: 4.062 kB / 0.5997 GB, free: 46.71 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.831691873998352]