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.001703/0.001703, 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.002053/0.002053, allocations: 206.3 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.431/1.431, 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.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.002095/0.002095, allocations: 59.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2583, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03298/0.2913, allocations: 24.72 MB / 455.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02969/0.3209, allocations: 22.09 MB / 477.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.3214, allocations: 7.938 kB / 478 MB, free: 7.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.3224, allocations: 270.5 kB / 478.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3234, allocations: 389.8 kB / 478.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.3357, allocations: 4.101 MB / 482.7 MB, free: 2.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.3371, allocations: 0.9658 MB / 483.7 MB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.3373, allocations: 76.8 kB / 483.7 MB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008696/0.3382, allocations: 406.6 kB / 484.1 MB, free: 1.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.3388, allocations: 290.8 kB / 484.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3389, allocations: 43.94 kB / 484.5 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0211/0.36, allocations: 10.14 MB / 494.6 MB, free: 6.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.3602, allocations: 107.7 kB / 494.7 MB, free: 6.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.3606, allocations: 187.4 kB / 494.9 MB, free: 6.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03343/0.394, allocations: 11.52 MB / 0.4945 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.394, allocations: 4 kB / 0.4945 GB, free: 10.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.394, allocations: 0 / 0.4945 GB, free: 10.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.3941, allocations: 0 / 0.4945 GB, free: 10.97 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.006438/0.4005, allocations: 1.093 MB / 0.4956 GB, free: 9.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4005, allocations: 11.98 kB / 0.4956 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.4007, allocations: 74.53 kB / 0.4957 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.4013, allocations: 67.73 kB / 0.4958 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.4019, allocations: 264.6 kB / 0.496 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.402, allocations: 28.59 kB / 0.496 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.402, allocations: 35.94 kB / 0.4961 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.4031, allocations: 0.6074 MB / 0.4967 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.4031, allocations: 3.953 kB / 0.4967 GB, free: 8.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.4031, allocations: 16 kB / 0.4967 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.4031, allocations: 11.94 kB / 0.4967 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.4039, allocations: 382.3 kB / 0.4971 GB, free: 8.25 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.003715/0.4076, allocations: 2.234 MB / 0.4992 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.4083, allocations: 281.8 kB / 0.4995 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.4086, allocations: 128.8 kB / 0.4996 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/0.4101, allocations: 463.5 kB / 0.5001 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.4101, allocations: 38.56 kB / 0.5001 GB, free: 5.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.385e-06/0.4101, allocations: 0 / 0.5001 GB, free: 5.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005533/0.4156, allocations: 1.155 MB / 0.5012 GB, free: 3.828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.4157, allocations: 59.34 kB / 0.5013 GB, free: 3.758 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.416, allocations: 261.8 kB / 0.5016 GB, free: 3.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.416, allocations: 37.7 kB / 0.5016 GB, free: 3.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.4162, allocations: 192.4 kB / 0.5018 GB, free: 3.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.4163, allocations: 126.9 kB / 0.5019 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.4164, allocations: 86.12 kB / 0.502 GB, free: 3.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4166, allocations: 338.8 kB / 0.5023 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.4168, allocations: 112.8 kB / 0.5024 GB, free: 2.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.4171, allocations: 222.1 kB / 0.5026 GB, free: 2.324 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.4177, allocations: 385.4 kB / 0.503 GB, free: 1.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4177, allocations: 0 / 0.503 GB, free: 1.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009338/0.4186, allocations: 462.7 kB / 0.5034 GB, free: 1.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4186, allocations: 8 kB / 0.5034 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4186, allocations: 4 kB / 0.5034 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0056/0.4242, allocations: 245.4 kB / 0.5037 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.4246, allocations: 88.33 kB / 0.5038 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.4263, allocations: 1.847 MB / 0.5056 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.4266, allocations: 12 kB / 0.5056 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.4266, allocations: 16 kB / 0.5056 GB, free: 15.08 MB / 430.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.0002375/0.4268, allocations: 166 kB / 0.5057 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.427, allocations: 39.75 kB / 0.5058 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.4282, allocations: 0.7088 MB / 0.5065 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.4282, allocations: 8 kB / 0.5065 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.4282, allocations: 0 / 0.5065 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009751/0.4292, allocations: 0.8827 MB / 0.5073 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.4308, allocations: 1.136 MB / 0.5085 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4308, allocations: 0 / 0.5085 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.431, allocations: 63.91 kB / 0.5085 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.4326, allocations: 176.5 kB / 0.5087 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.4326, allocations: 8 kB / 0.5087 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004392/0.433, allocations: 0.5758 MB / 0.5093 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.433, allocations: 3.938 kB / 0.5093 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4341, allocations: 0.7459 MB / 0.51 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.4342, allocations: 39.89 kB / 0.51 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.4343, allocations: 8 kB / 0.51 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4345, allocations: 4 kB / 0.51 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4345, allocations: 27.89 kB / 0.5101 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.4346, allocations: 19.98 kB / 0.5101 GB, free: 10.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.4348, allocations: 223.1 kB / 0.5103 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4348, allocations: 0 / 0.5103 GB, free: 10.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004709/0.4395, allocations: 0.7519 MB / 0.511 GB, free: 9.289 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.02645/0.466, allocations: 7.605 MB / 0.5185 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.467, allocations: 461.4 kB / 0.5189 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.467, allocations: 0 / 0.5189 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.4675, allocations: 220.2 kB / 0.5191 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.4687, allocations: 200.2 kB / 0.5193 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008728/0.4774, allocations: 4.042 MB / 0.5232 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.4776, allocations: 200.9 kB / 0.5234 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000442/0.478, allocations: 210.7 kB / 0.5236 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.4783, allocations: 135.4 kB / 0.5238 GB, free: 12 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4783, allocations: 0 / 0.5238 GB, free: 12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2668/0.7451, allocations: 34.91 MB / 0.5579 GB, free: 84.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.74, allocations: 0 / 0.5579 GB, free: 84.12 MB / 446.1 MB " [Timeout remaining time 645] (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.746634346432984]