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.001812/0.001812, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002362/0.002362, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.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 0.002064/0.002064, allocations: 67.89 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2369, allocations: 53.4 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04149/0.2784, allocations: 34.81 MB / 466 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03422/0.3126, allocations: 27.18 MB / 493.1 MB, free: 8.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004929/0.3131, allocations: 7.938 kB / 493.1 MB, free: 8.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3141, allocations: 377.9 kB / 493.5 MB, free: 7.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.3152, allocations: 0.5283 MB / 494 MB, free: 7.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01365/0.3288, allocations: 5.257 MB / 499.3 MB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.3307, allocations: 1.379 MB / 0.4889 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.3309, allocations: 118.9 kB / 0.489 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009/0.3318, allocations: 0.545 MB / 0.4896 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.3325, allocations: 442.2 kB / 0.49 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.926e-05/0.3326, allocations: 56 kB / 0.4901 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02486/0.3574, allocations: 12.44 MB / 0.5022 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.3577, allocations: 155.4 kB / 0.5024 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004601/0.3582, allocations: 279 kB / 0.5026 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04261/0.4008, allocations: 14.94 MB / 0.5172 GB, free: 3.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4008, allocations: 4 kB / 0.5172 GB, free: 3.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4008, allocations: 0 / 0.5172 GB, free: 3.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.4008, allocations: 0 / 0.5172 GB, free: 3.672 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.00767/0.4085, allocations: 1.396 MB / 0.5186 GB, free: 2.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4085, allocations: 11.98 kB / 0.5186 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.4087, allocations: 86.52 kB / 0.5187 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008259/0.4095, allocations: 107.5 kB / 0.5188 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.4102, allocations: 316.3 kB / 0.5191 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.4102, allocations: 41 kB / 0.5191 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.4103, allocations: 51.98 kB / 0.5192 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.4118, allocations: 0.8213 MB / 0.52 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.4118, allocations: 3.953 kB / 0.52 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.4119, allocations: 24 kB / 0.52 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.4119, allocations: 12 kB / 0.52 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.4131, allocations: 0.5268 MB / 0.5205 GB, free: 124 kB / 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.00427/0.4174, allocations: 2.794 MB / 0.5232 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4184, allocations: 394.5 kB / 0.5236 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.4187, allocations: 201.5 kB / 0.5238 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/0.4209, allocations: 0.6246 MB / 0.5244 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.4209, allocations: 38.94 kB / 0.5245 GB, free: 11.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.975e-06/0.421, allocations: 0 / 0.5245 GB, free: 11.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01039/0.4313, allocations: 1.894 MB / 0.5263 GB, free: 10.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.4314, allocations: 59.78 kB / 0.5264 GB, free: 9.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.4318, allocations: 320.4 kB / 0.5267 GB, free: 9.645 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.4319, allocations: 37.7 kB / 0.5267 GB, free: 9.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.4321, allocations: 233.1 kB / 0.5269 GB, free: 9.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4322, allocations: 194.3 kB / 0.5271 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.4324, allocations: 118.3 kB / 0.5272 GB, free: 9.059 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4326, allocations: 354.8 kB / 0.5276 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.4329, allocations: 177.2 kB / 0.5277 GB, free: 8.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.4335, allocations: 332 kB / 0.5281 GB, free: 8.148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4345, allocations: 0.5446 MB / 0.5286 GB, free: 7.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4345, allocations: 3.938 kB / 0.5286 GB, free: 7.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001538/0.4361, allocations: 0.6778 MB / 0.5293 GB, free: 6.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.4361, allocations: 11.94 kB / 0.5293 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4361, allocations: 4 kB / 0.5293 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/0.4476, allocations: 470 kB / 0.5297 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.4483, allocations: 144.1 kB / 0.5299 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.4509, allocations: 2.986 MB / 0.5328 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.4513, allocations: 16 kB / 0.5328 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.4513, allocations: 28.42 kB / 0.5328 GB, free: 3 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.0003071/0.4517, allocations: 201.1 kB / 0.533 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.4519, allocations: 43.77 kB / 0.533 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.4536, allocations: 1.083 MB / 0.5341 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.4537, allocations: 12 kB / 0.5341 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4537, allocations: 7.922 kB / 0.5341 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/0.455, allocations: 1.106 MB / 0.5352 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1863/0.6413, allocations: 1.653 MB / 0.5368 GB, free: 97.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6413, allocations: 7.281 kB / 0.5368 GB, free: 97.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.6417, allocations: 100.2 kB / 0.5369 GB, free: 97.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/0.6448, allocations: 352.2 kB / 0.5373 GB, free: 97.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.6448, allocations: 14.86 kB / 0.5373 GB, free: 97.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000494/0.6453, allocations: 1.152 MB / 0.5384 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6453, allocations: 2.094 kB / 0.5384 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.6469, allocations: 1.147 MB / 0.5395 GB, free: 95.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.647, allocations: 47.75 kB / 0.5396 GB, free: 95.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.6471, allocations: 19.16 kB / 0.5396 GB, free: 95.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.6474, allocations: 11 kB / 0.5396 GB, free: 95.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.6474, allocations: 38.62 kB / 0.5396 GB, free: 95.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.6475, allocations: 20.77 kB / 0.5396 GB, free: 95.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002738/0.6478, allocations: 250.5 kB / 0.5399 GB, free: 95.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6478, allocations: 1.406 kB / 0.5399 GB, free: 95.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004731/0.6525, allocations: 0.9856 MB / 0.5408 GB, free: 95.6 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.03045/0.6829, allocations: 9.477 MB / 0.5501 GB, free: 89.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.6845, allocations: 0.6873 MB / 0.5508 GB, free: 88.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6845, allocations: 0.5156 kB / 0.5508 GB, free: 88.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.6851, allocations: 359.9 kB / 0.5511 GB, free: 88.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.6865, allocations: 261.5 kB / 0.5514 GB, free: 88.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/0.6957, allocations: 5.347 MB / 0.5566 GB, free: 83.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.6959, allocations: 263.5 kB / 0.5568 GB, free: 83.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005121/0.6964, allocations: 243.7 kB / 0.5571 GB, free: 83.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.6966, allocations: 206 kB / 0.5573 GB, free: 82.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6966, allocations: 0 / 0.5573 GB, free: 82.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07209/0.7687, allocations: 43.67 MB / 0.5999 GB, free: 40.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.47, allocations: 11.38 kB / 0.5999 GB, free: 40.04 MB / 446.1 MB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/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: 19.643237683922052]