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.001295/0.001295, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001346/0.001346, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.429/1.429, allocations: 230.5 MB / 254 MB, free: 15.14 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.00189/0.00189, allocations: 59.91 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1073, allocations: 53.38 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2336/0.3408, allocations: 37.98 MB / 464.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03556/0.3764, allocations: 30.76 MB / 495.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006603/0.3771, allocations: 14.91 kB / 495.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.3783, allocations: 423.9 kB / 495.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.3795, allocations: 0.5295 MB / 496.1 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.3952, allocations: 5.242 MB / 0.4896 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.3973, allocations: 1.352 MB / 0.4909 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.3976, allocations: 131.9 kB / 0.491 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3986, allocations: 0.5421 MB / 0.4915 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.3993, allocations: 470.2 kB / 0.492 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.248e-05/0.3994, allocations: 51.78 kB / 0.492 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02409/0.4234, allocations: 12.89 MB / 0.5046 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.4238, allocations: 159.4 kB / 0.5048 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007332/0.4246, allocations: 318.8 kB / 0.5051 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03857/0.4631, allocations: 14.94 MB / 0.5197 GB, free: 264 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4631, allocations: 0 / 0.5197 GB, free: 264 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4631, allocations: 4 kB / 0.5197 GB, free: 260 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.4632, allocations: 4 kB / 0.5197 GB, free: 256 kB / 414.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.008946/0.4721, allocations: 1.468 MB / 0.5211 GB, free: 14.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4722, allocations: 12.03 kB / 0.5211 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.4723, allocations: 86.52 kB / 0.5212 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.4731, allocations: 103.6 kB / 0.5213 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.4738, allocations: 394 kB / 0.5217 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.4738, allocations: 37 kB / 0.5217 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/0.4739, allocations: 44 kB / 0.5217 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.4751, allocations: 0.6205 MB / 0.5224 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4752, allocations: 4 kB / 0.5224 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.4752, allocations: 20 kB / 0.5224 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.4752, allocations: 12 kB / 0.5224 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4763, allocations: 0.5307 MB / 0.5229 GB, free: 12.78 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.004625/0.481, allocations: 3.804 MB / 0.5266 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009886/0.482, allocations: 395.8 kB / 0.527 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.4823, allocations: 193.5 kB / 0.5272 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003615/0.4859, allocations: 3.463 MB / 0.5306 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4859, allocations: 35.56 kB / 0.5306 GB, free: 3.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 1.934e-06/0.4859, allocations: 0 / 0.5306 GB, free: 3.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.01043/0.4964, allocations: 2.038 MB / 0.5326 GB, free: 1.754 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.4964, allocations: 59.78 kB / 0.5326 GB, free: 1.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.4968, allocations: 308.5 kB / 0.5329 GB, free: 1.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.4968, allocations: 37.7 kB / 0.533 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.497, allocations: 237.1 kB / 0.5332 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.4971, allocations: 198.3 kB / 0.5334 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.4973, allocations: 122.3 kB / 0.5335 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4975, allocations: 346.8 kB / 0.5338 GB, free: 444 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.4978, allocations: 185.2 kB / 0.534 GB, free: 260 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.4983, allocations: 332 kB / 0.5343 GB, free: 15.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/0.4991, allocations: 0.5454 MB / 0.5349 GB, free: 15.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4991, allocations: 0 / 0.5349 GB, free: 15.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001415/0.5005, allocations: 0.676 MB / 0.5355 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5006, allocations: 11.97 kB / 0.5355 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5006, allocations: 8 kB / 0.5355 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0123/0.5129, allocations: 466 kB / 0.536 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.5135, allocations: 143.8 kB / 0.5361 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.5161, allocations: 3.086 MB / 0.5391 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.5165, allocations: 21.09 kB / 0.5392 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.5165, allocations: 31.98 kB / 0.5392 GB, free: 10.6 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.0002902/0.5168, allocations: 187.5 kB / 0.5394 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.517, allocations: 43.77 kB / 0.5394 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.5187, allocations: 1.055 MB / 0.5404 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.5187, allocations: 19.98 kB / 0.5405 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.5187, allocations: 0 / 0.5405 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001276/0.52, allocations: 1.091 MB / 0.5415 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.5223, allocations: 1.723 MB / 0.5432 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5223, allocations: 0 / 0.5432 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.5227, allocations: 103.8 kB / 0.5433 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003067/0.5258, allocations: 353.1 kB / 0.5436 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.5259, allocations: 19.98 kB / 0.5437 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008364/0.5267, allocations: 1.14 MB / 0.5448 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5267, allocations: 0.9375 kB / 0.5448 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5284, allocations: 1.136 MB / 0.5459 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.5286, allocations: 120.8 kB / 0.546 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.5286, allocations: 19.89 kB / 0.546 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5289, allocations: 15.94 kB / 0.546 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.5289, allocations: 36.55 kB / 0.5461 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.529, allocations: 23.17 kB / 0.5461 GB, free: 3.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002954/0.5293, allocations: 255 kB / 0.5463 GB, free: 3.023 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5293, allocations: 3.938 kB / 0.5463 GB, free: 3.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006363/0.5356, allocations: 0.9779 MB / 0.5473 GB, free: 2.039 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.0328/0.5684, allocations: 9.452 MB / 0.5565 GB, free: 8.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.5702, allocations: 0.6888 MB / 0.5572 GB, free: 7.844 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.5702, allocations: 4 kB / 0.5572 GB, free: 7.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.5709, allocations: 343.5 kB / 0.5575 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.5723, allocations: 264.4 kB / 0.5578 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5835, allocations: 5.345 MB / 0.563 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.584, allocations: 0.8648 MB / 0.5638 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005483/0.5846, allocations: 237 kB / 0.5641 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.5849, allocations: 195.4 kB / 0.5643 GB, free: 380 kB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5849, allocations: 4 kB / 0.5643 GB, free: 376 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08402/0.6689, allocations: 42.38 MB / 0.6057 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.45, allocations: 4.625 kB / 0.6057 GB, free: 6.027 MB / 0.4981 GB " [Timeout remaining time 645] (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: 18.705239054979756]