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.001784/0.001784, 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.002096/0.002096, allocations: 213.3 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.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.001964/0.001964, allocations: 63.88 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04165/0.2933, allocations: 38.31 MB / 469.5 MB, free: 268 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03613/0.3294, allocations: 30.88 MB / 0.4887 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006229/0.33, allocations: 7.938 kB / 0.4887 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.3313, allocations: 425.7 kB / 0.4891 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.3325, allocations: 0.5361 MB / 0.4896 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01542/0.3479, allocations: 5.287 MB / 0.4948 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.3502, allocations: 1.379 MB / 0.4961 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.3505, allocations: 122.9 kB / 0.4962 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.3516, allocations: 0.5411 MB / 0.4967 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.3523, allocations: 466.1 kB / 0.4972 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.953e-05/0.3524, allocations: 52 kB / 0.4972 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02387/0.3762, allocations: 12.96 MB / 0.5099 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.3766, allocations: 159.5 kB / 0.5101 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.377, allocations: 322.8 kB / 0.5104 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03529/0.4123, allocations: 14.94 MB / 0.525 GB, free: 12.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4123, allocations: 0 / 0.525 GB, free: 12.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4123, allocations: 0 / 0.525 GB, free: 12.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4124, allocations: 0 / 0.525 GB, free: 12.03 MB / 446.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.008528/0.4209, allocations: 1.404 MB / 0.5263 GB, free: 10.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4209, allocations: 12.02 kB / 0.5263 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.421, allocations: 86.53 kB / 0.5264 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008125/0.4219, allocations: 99.56 kB / 0.5265 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/0.4225, allocations: 328.2 kB / 0.5268 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.4225, allocations: 37 kB / 0.5269 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.4226, allocations: 48 kB / 0.5269 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4238, allocations: 0.6166 MB / 0.5275 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.4238, allocations: 11.89 kB / 0.5275 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.4239, allocations: 24 kB / 0.5275 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.4239, allocations: 12 kB / 0.5276 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.4249, allocations: 0.5346 MB / 0.5281 GB, free: 8.707 MB / 446.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.004632/0.4295, allocations: 3.652 MB / 0.5316 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009216/0.4305, allocations: 402.8 kB / 0.532 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.4308, allocations: 197.5 kB / 0.5322 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002/0.4328, allocations: 0.6168 MB / 0.5328 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.4328, allocations: 38.94 kB / 0.5329 GB, free: 3.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.295e-06/0.4328, allocations: 0 / 0.5329 GB, free: 3.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01012/0.4429, allocations: 1.894 MB / 0.5347 GB, free: 1.586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.443, allocations: 63.72 kB / 0.5348 GB, free: 1.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.4433, allocations: 316.4 kB / 0.5351 GB, free: 1.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.4434, allocations: 37.7 kB / 0.5351 GB, free: 1.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4436, allocations: 225.2 kB / 0.5353 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4437, allocations: 206.2 kB / 0.5355 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.4439, allocations: 118.3 kB / 0.5356 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4441, allocations: 346.8 kB / 0.536 GB, free: 264 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.4444, allocations: 185.2 kB / 0.5361 GB, free: 80 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1962/0.6406, allocations: 321.3 kB / 0.5364 GB, free: 96.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.6416, allocations: 0.5507 MB / 0.537 GB, free: 96.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6416, allocations: 1.688 kB / 0.537 GB, free: 96.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001592/0.6432, allocations: 0.6725 MB / 0.5376 GB, free: 96.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6432, allocations: 17.58 kB / 0.5377 GB, free: 96.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6432, allocations: 8.25 kB / 0.5377 GB, free: 96.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/0.6547, allocations: 466.3 kB / 0.5381 GB, free: 96.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.6554, allocations: 142.8 kB / 0.5382 GB, free: 96.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.657, allocations: 2.994 MB / 0.5412 GB, free: 93.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.6574, allocations: 15.08 kB / 0.5412 GB, free: 93.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.6575, allocations: 29.98 kB / 0.5412 GB, free: 93.04 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.0002922/0.6578, allocations: 194.7 kB / 0.5414 GB, free: 92.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.658, allocations: 43.86 kB / 0.5414 GB, free: 92.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.6595, allocations: 1.078 MB / 0.5425 GB, free: 92.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.6595, allocations: 8.469 kB / 0.5425 GB, free: 92.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6595, allocations: 1.281 kB / 0.5425 GB, free: 92.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/0.6606, allocations: 1.116 MB / 0.5436 GB, free: 91.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.6627, allocations: 1.73 MB / 0.5453 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6627, allocations: 0 / 0.5453 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.6631, allocations: 108 kB / 0.5454 GB, free: 90.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/0.6661, allocations: 349.1 kB / 0.5457 GB, free: 90.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.6662, allocations: 17.88 kB / 0.5457 GB, free: 90.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004458/0.6666, allocations: 1.152 MB / 0.5469 GB, free: 89.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6666, allocations: 0.75 kB / 0.5469 GB, free: 89.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.6679, allocations: 1.149 MB / 0.548 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.6679, allocations: 49.91 kB / 0.548 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.668, allocations: 20.67 kB / 0.548 GB, free: 89.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.6682, allocations: 13.91 kB / 0.5481 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.6683, allocations: 34.75 kB / 0.5481 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.6683, allocations: 26.67 kB / 0.5481 GB, free: 88.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.6685, allocations: 254.5 kB / 0.5484 GB, free: 88.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6685, allocations: 0 / 0.5484 GB, free: 88.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004754/0.6733, allocations: 0.9781 MB / 0.5493 GB, free: 88.78 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.02786/0.7011, allocations: 9.471 MB / 0.5586 GB, free: 82.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.7026, allocations: 0.6892 MB / 0.5592 GB, free: 81.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7026, allocations: 2.75 kB / 0.5592 GB, free: 81.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.7031, allocations: 352.5 kB / 0.5596 GB, free: 81.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7044, allocations: 268.2 kB / 0.5598 GB, free: 81.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009208/0.7136, allocations: 5.344 MB / 0.5651 GB, free: 76.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.7138, allocations: 0.8683 MB / 0.5659 GB, free: 75.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.7143, allocations: 249.9 kB / 0.5661 GB, free: 75.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.7145, allocations: 199.4 kB / 0.5663 GB, free: 75.02 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7145, allocations: 0 / 0.5663 GB, free: 75.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06816/0.7827, allocations: 43 MB / 0.6083 GB, free: 32.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.49, allocations: 3.938 kB / 0.6083 GB, free: 32.08 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.659059612997225]